https://issues.apache.org/bugzilla/show_bug.cgi?id=55477

--- Comment #7 from Stefan Mayr <ste...@mayr-stefan.de> ---
Created attachment 30788
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30788&action=edit
Edition with inline configuration for the role mapping

I added the possibility to configure the mapping inline with the string
mangling solution

Example:
<Realm className="org.apache.catalina.realm.MappingRealm"
       roleMappings="a=b;manager-gui=tomcat;c=d">
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
           resourceName="UserDatabase"/>
</Realm>

Other attributes and their default values:
assignment="="
separator=";"
pathname="conf/mapping.properties"

People using JDNIRealms with LDAP DNs will have to change assignment and
separator (regex)strings. Maybe someone can come up with better default values.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to