Skip to main content

Posts

Showing posts from March, 2010

Bounded task flow in ADF Regions

ADF bounded flows that execute in ADF regions are key enablers of enterprise web 2.0 development with the Oracle Fusion development platform. Bounded task flows let you build desktop-like web user interfaces that unveil the real power of Asynchronous JavaScript and XML (AJAX) without exposing developers to the complexity of AJAX programming. How to Access the task flow binding from Java: BindingContext bctx = BindingContext.getCurrent(); BindingContainer bindings = bctx.getCurrentBindingEntry(); DCTaskFlowBinding taskFlowBinding = null; taskFlowBinding = (DCTaskFlowBinding)bindings.get("dynamicRegion1"); The task flow binding is accessed by its name, "dyanamicRegion1", in this example.

User Database Tables to implement authentication in ADF

It is always a common requirement for a developer to use the database to store user authentication info, such as user name, password, user role, etc. User authentication database provider is available both in iAS 10g and Weblogic 11g, but it's different in their implementations. In Oracle Application server 10g, the security guide is well documented on how to setup and use the custom login module to implement security using database tables as the source provider. Frank has well documented the steps here . Several good blogs have also noted on this ( link 1 , link 2 ). The custom login module DBTableOraDataSourceLoginModule is avaiable in OC4J 10g. As in Weblogic 11g, the login module is not available directly but instead another provider called SQL Authenticator takes the role. Edwin Biemond has documented an working example on setup SQL authenticator in 11g: Using database tables as authentication provider in WebLogic   and Using a WebLogic provider as authentication for ADF S