Welcome to the jGuard's wiki » jGuard Documentation » XMLAuthenticationManager

XMLAuthenticationManager

Last modified by RaffaelloPelagalli on 2006/05/22 14:04

XMLAuthenticationManager

Description

This AuthenticationManager implementation permits to persist in a XML file all the auithentication informations of your application.

parameters

namemandatoryvaluesdescriptionexample
debugnotrue or falseThis optional parameter, when set to true, activate the debug mode (provide more logs to detect easily misconfiguration). 
authenticationXmlFileLocationyesa relative path from the webapp WEB-INF/conf/jGuard/jGuardUsersPrincipals.xml

usual configuration in the jGuardConfiguration.xml file

....
....
 <authenticationManager>net.sf.jguard.authentication.XmlAuthenticationManager</authenticationManager>
     <authenticationManagerOptions>
           <option>
             <name>authenticationXmlFileLocation</name>
             <value>WEB-INF/conf/jGuard/jGuardUsersPrincipals.xml</value>
           </option>
     </authenticationManagerOptions>
....
....

Tags:
Created by diabolo512 on 2006/05/22 14:02

jGuard team copyright 2004-2009
3.1.1