expose roles from ldap + fix substitution code

This commit is contained in:
Herval Freire 2017-07-20 10:05:38 -07:00
parent ed1b0f8502
commit 4d3ed58fb3

View file

@ -179,7 +179,7 @@ public class LdapRealm extends JndiLdapRealm {
private String groupIdAttribute = "cn";
private String memberAttributeValuePrefix = "uid={0}";
private String memberAttributeValuePrefix = "uid=";
private String memberAttributeValueSuffix = "";
private final Map<String, String> rolesByGroup = new LinkedHashMap<String, String>();