Module configuration
Extract from wagon.xml file:
<realm name="adelia" loginModuleName="WagonLoginModule" className="com.hardis.adelia.cloud.security.realms.JavaEERealm"/> <loginModules> ... <loginModule name="JavaEELoginModule" className="com.hardis.adelia.jee.security.loginmodules.WagonLoginModule" /> ... </loginModules> |
This login module must be used in conjunction with the JavaEERealm realm and the Java EE security extension.
The isUserInRole(role) API is implemented by security management.
Warning: If you are updating an existing application to use the JavaEERealm, please ensure that the realmMappings.properties file contains the JavaEERealm definition.
BasicRealm=adelia/desktop/LoginWidget JavaEERealm=adelia/realms/JavaEERealm