java.lang.Object | |
↳ | org.springframework.security.core.authority.mapping.SimpleAttributes2GrantedAuthoritiesMapper |
This class implements the Attributes2GrantedAuthoritiesMapper interface by doing a one-to-one mapping from roles to Spring Security GrantedAuthorities. Optionally a prefix can be added, and the attribute name can be converted to upper or lower case.
By default, the attribute is prefixed with "ROLE_" unless it already starts with "ROLE_", and no case conversion is done.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check whether all properties have been set to correct values.
| |||||||||||
Map the given list of string attributes one-to-one to Spring Security GrantedAuthorities.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
| |||||||||||
From interface org.springframework.security.core.authority.mapping.Attributes2GrantedAuthoritiesMapper |
Check whether all properties have been set to correct values.
Exception |
---|
Map the given list of string attributes one-to-one to Spring Security GrantedAuthorities.
attributes | the attributes to be mapped |
---|