public interface Attributes2GrantedAuthoritiesMapper
GrantedAuthority
s.Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends GrantedAuthority> |
getGrantedAuthorities(java.util.Collection<java.lang.String> attributes)
Implementations of this method should map the given collection of attributes to a
collection of Spring Security GrantedAuthorities.
|
java.util.Collection<? extends GrantedAuthority> getGrantedAuthorities(java.util.Collection<java.lang.String> attributes)
GrantedAuthority
, some attributes may not be mapped, etc.attributes
- the attributes to be mapped