SEC-1380: Trim whitespace from config attributes when building a list in SecurityConfig.
This commit is contained in:
parent
04447bdbf0
commit
d931495c8a
|
@ -75,7 +75,7 @@ public class SecurityConfig implements ConfigAttribute {
|
|||
List<ConfigAttribute> attributes = new ArrayList<ConfigAttribute>(attributeNames.length);
|
||||
|
||||
for (String attribute : attributeNames) {
|
||||
attributes.add(new SecurityConfig(attribute));
|
||||
attributes.add(new SecurityConfig(attribute.trim()));
|
||||
}
|
||||
|
||||
return attributes;
|
||||
|
|
Loading…
Reference in New Issue