Datasource Configuration - Configure a Datasource to Use Login Modules

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 2780

This topic has not yet been written. The content below is from the topic description.
14.3.3. Configuring a Datasource to Use Login Modules Procedure 14.1. Configuring a Datasource to Use Login Modules Add the to the XML file for the datasource. ... MyDomain ... Add an application policy to the login-config.xml file. The authentication section needs to include the configuration for your login-module. For example, to encrypt the database password, use the SecureIdentityLoginModule login module. scott -170dd0fbd8c13748 jboss.jca:service=LocalTxCM,name=OracleDSJAAS If you plan to fetch the data source connection from a web application, authentication must be enabled for the web application, so that the Subject is populated. If users need the ability to connect anonymously, add an additional login module to the application-policy, to populate the security credentials. Add the UsersRolesLoginModule module to the beginning of the chain. The usersProperties and rolesProperties parameters can be directed to dummy files. nobody props/users.properties props/roles.properties