This topic describes how to add a generated login dialog to your JClient project. The generated login dialog relies on Oracle Application Server JAAS Provider to authenticate principal and credentials and therefore does not work with a JDBC connection. Before your application can use the generated dialog, you must enable OracleAS JAAS Provider for the ADF Business Components client as described below.
Note: If you prefer not to use OracleAS JAAS Provider, you can modify the generated login dialog to work with a JDBC connection.
To add the JClient login dialog to your project:
Generate a JClient form using the Create JClient Form wizard or the Create JClient Empty Form wizard.
On the last page of the form wizard, select Generate a login dialog.
Click Finish to complete the
wizard. The file JCLoginDialog.java appears in your
JClient project.
To enable the JAAS provider for the Business Components client:
Configure the Business Components application module to enforce security.
Set up authentication for JClient by configuring the java.security file to use the security roles.
You are now ready to run your JClient application.
About the JClient Login Dialog
Modifying the JClient Login Dialog for JDBC
Copyright © 1997, 2004, Oracle. All rights reserved.