SEC-1093: Namespace support for jee element.
Adds a J2eePreAuthenticatedProcessingFilter to the stack, using a SimpleAttributes2GrantedAuthoritiesMapper to process the role attributes defined in the "mappable-roles" attribute. Provider uses a PreAuthenticatedGrantedAuthoritiesUserDetailsService by default.
This commit is contained in:
+1
-2
@@ -24,8 +24,7 @@ public class SimpleMappableAttributesRetriever implements MappableAttributesRetr
|
||||
return mappableAttributes;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void setMappableAttributes(Set aMappableRoles) {
|
||||
public void setMappableAttributes(Set<String> aMappableRoles) {
|
||||
mappableAttributes = new HashSet<String>();
|
||||
mappableAttributes.addAll(aMappableRoles);
|
||||
mappableAttributes = Collections.unmodifiableSet(mappableAttributes);
|
||||
|
||||
Reference in New Issue
Block a user