JdbcLoginModule
Description
This loginModule allows a database-based authentication for your web application.Parameters
| name | mandatory | values | description | example |
|---|---|---|---|---|
| debug | no | true or false | This optional parameter, when set to true, activates the debug mode (providing more logs to easily detect misconfiguration). |
usual configuration in the web.xml file
....
....
<loginModule>
<name>net.sf.jguard.authentication.loginmodules.JdbcLoginModule</name>
<flag>REQUIRED</flag>
<loginModuleOptions>
<option>
<name>debug</name>
<value>false</value>
</option>
</loginModuleOptions>
</loginModule>
....
....jGuard.loginScheme example (advanced configuration)
Below is an appConfigurationEntry example of a webapp configured with a XmlLoginModule. myApplication{ net.sf.jguard.loginmodules.JdbcLoginModule required debug="true"; }; We recommend placing jGuard.loginScheme file in your ${java.home}/lib$/security/, to group all security files in one place.
Version 1.6 last modified by Alex Jacobs on 23/11/2006 at 17:44
Document data
Attachments:
No attachments for this document
Comments: 0