1
0
mirror of synced 2026-08-04 17:27:13 +00:00

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:
Luke Taylor
2010-07-05 19:16:46 +01:00
parent 565ef7383d
commit 443ac0487a
7 changed files with 148 additions and 12 deletions
@@ -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);