User: luke_t Date: 01/12/18 18:14:20 Modified: src/resources/security auth.conf Log: added configurations for password hash tests. Also modified the configurations for LoginContextUnitTestCase which was using the deprecated versions. It currently ignores these anyway as it sets up its own JAAS configuration in code. In any case it will fail currently as the deprecated RolesLoginModule doesn't require a CallbackHandler but UserRolesLoginModule requires one (because its parent class UsernamePasswordLoginModule does). Revision Changes Path 1.4 +18 -2 jbosstest/src/resources/security/auth.conf Index: auth.conf =================================================================== RCS file: /cvsroot/jboss/jbosstest/src/resources/security/auth.conf,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- auth.conf 2001/03/27 06:47:53 1.3 +++ auth.conf 2001/12/19 02:14:20 1.4 @@ -6,16 +6,32 @@ org.jboss.security.ClientLoginModule required ; }; + spec-test { org.jboss.security.ClientLoginModule required ; }; + LoginContext { - org.jboss.security.plugins.samples.IdentityLoginModule required + org.jboss.security.auth.spi.IdentityLoginModule required principal="scott" ; - org.jboss.security.plugins.samples.RolesLoginModule required + org.jboss.security.auth.spi.UsersRolesLoginModule required ; +}; + +pass-hash1 { + org.jboss.security.auth.spi.UsersRolesLoginModule required + hashAlgorithm="SHA" + hashEncoding="base64" + ; +}; + +pass-hash2 { + org.jboss.security.auth.spi.UsersRolesLoginModule required + hashAlgorithm="MD5" + hashEncoding="hex" + ; }; other {
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development