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 ADF security recipe in this chapter.
Getting ready
You need to complete the Enabling ADF security recipe in this chapter before you start working on this recipe. The Enabling ADF security recipe requires a skeleton Fusion Web Application (ADF) workspace. For...