-
Book Overview & Buying
-
Table Of Contents
Oracle ADF 11gR2 Development Beginner's Guide
By :
A login page can be created by following these steps:
Right-click on EmpDirectoryApplication and select Configure ADF Security under Secure.
In the Configure ADF Security wizard, select ADF Authentication and Authorization.
Under Authentication Type , select Form-Based Authentication and check Generate Default Pages.
As you can see, Login Page will be named login.html and Error Page is named error.html. These files will be created at the root of the web application.

Continue until you click the Finish button as explained before.
Now when you run your index.jspx page, you will be redirected to the login.html page. Provide the correct password to enter into the application, otherwise you will be redirected to the error.html page.

With HTTP based Authentication selected, the login prompt cannot be asked for unless you restart the server. In Form based Authentication, the user is redirected to the login page if the user's session expires.
Change the font size
Change margin width
Change background colour