GUACAMOLE-524: Switch to "LDAP_" prefix for LDAP user attribute tokens.

This commit is contained in:
Michael Jumper
2018-10-05 12:54:00 -07:00
parent cb30b148b9
commit 13e2b06666
2 changed files with 16 additions and 16 deletions

View File

@@ -31,7 +31,7 @@ public class TokenName {
* The prefix string to add to each parameter token generated from an LDAP
* attribute name.
*/
private static final String LDAP_ATTRIBUTE_TOKEN_PREFIX = "LDAP_ATTR_";
private static final String LDAP_ATTRIBUTE_TOKEN_PREFIX = "LDAP_";
/**
* Pattern which matches logical groupings of words within an LDAP
@@ -71,7 +71,7 @@ public class TokenName {
* will automatically be transformed from "CamelCase", "headlessCamelCase",
* "lowercase_with_underscores", and "mixes_ofBoth_Styles" to consistent
* "UPPERCASE_WITH_UNDERSCORES". Each returned attribute will be prefixed
* with "LDAP_ATTR_".
* with "LDAP_".
*
* @param name
* The name of the LDAP attribute to use to generate the token name.