Hi, I have trying to use mod_jk + SSL + jboss and I have found that I can't have a '.' in the username. I am trying with the following user: +++ EMAILADDRESS=support@jboss.com, CN=support, OU=Jboss, O=Redhat, L=Neuchatel, ST=Neuchatel, C=CH +++ Find attached a patch thanks for committing it. (The patch is for jbossas-4.0.x). Cheers Jean-Frederic
Index: security/src/main/org/jboss/security/auth/spi/Util.java =================================================================== --- security/src/main/org/jboss/security/auth/spi/Util.java (revision 57281) +++ security/src/main/org/jboss/security/auth/spi/Util.java (working copy) @@ -83,7 +83,7 @@ if( trace ) log.trace("Checking user: "+user+", roles string: "+value); // See if this entry is of the form targetUser[.GroupName]=roles - int index = user.indexOf(roleGroupSeperator); + int index = user.indexOf(roleGroupSeperator, targetUser.length()); boolean isRoleGroup = false; boolean userMatch = false; if (index > 0 && targetUser.regionMatches(0, user, 0, index) == true)
_______________________________________________ jboss-development mailing list jboss-development@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-development