<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I created the following issue
<a class="moz-txt-link-freetext" href="http://jira.jboss.com/jira/browse/JBAS-3742">http://jira.jboss.com/jira/browse/JBAS-3742</a> to validate the patch.<br>
<br>
Jean-frederic Clere wrote:
<blockquote cite="mid1159788073.6241.20.camel@localhost" type="cite">
  <pre wrap="">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:
+++
<a class="moz-txt-link-abbreviated" href="mailto:EMAILADDRESS=support@jboss.com">EMAILADDRESS=support@jboss.com</a>, 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
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
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 &gt; 0 &amp;&amp; targetUser.regionMatches(0, user, 0, index) == true)
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
jboss-development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</a>
  </pre>
</blockquote>
<br>
</body>
</html>