이 콘텐츠는 선택한 언어로 제공되지 않습니다.
17.3.3. Configuring a Datasource to Use Login Modules
Procedure 17.1. Configuring a Datasource to Use Login Modules
Add the
<security-domain-parameter>to the XML file for the datasource.Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add an application policy to the
login-config.xmlfile.The authentication section needs to include the configuration for your login-module. For example, to encrypt the database password, use theSecureIdentityLoginModulelogin module.Copy to Clipboard Copied! Toggle word wrap Toggle overflow - If you plan to fetch the data source connection from a web application, authentication must be enabled for the web application, so that the
Subjectis 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
UsersRolesLoginModulemodule to the beginning of the chain. TheusersPropertiesandrolesPropertiesparameters can be directed to dummy files.Copy to Clipboard Copied! Toggle word wrap Toggle overflow