Using a custom login page

In the recipe Enabling ADF security in this chapter, we've seen how to enable ADF security for an ADF Fusion web application using the Configure ADF Security wizard (available in JDeveloper through the Application | Secure menu). In one of the steps, the wizard allows for the creation of a default login page that handles the user authorization process. For the specific step in that recipe, we have chosen to create a default login page.

In this recipe, we will create a custom login page utilizing ADF Faces components. Moreover, we will handle the user authentication ourselves using custom login authentication code implemented by the AuthenticationBean managed bean. This managed bean was introduced in the Enabling ...

Get Oracle JDeveloper 11gR2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.