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