Generating a JClient Login Dialog for JAAS

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:

  1. Generate a JClient form using the Create JClient Form wizard or the Create JClient Empty Form wizard.

  2. On the last page of the form wizard, select Generate a login dialog.

  3. 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:

  1. Specify whether to use the default lightweight JAAS provider on Oracle Application Server or the Single-Signon LDAP JAAS provider.

  2. Configure the Business Components application module to enforce security.

  3. 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.