public interface GrantedAuthority extends Serializable
GrantedAuthority must either represent itself as a
or be specifically supported by an
|Modifier and Type||Method and Description|
GrantedAuthoritycan be represented as a
Stringis sufficient in precision to be relied upon for an access control decision by an
AccessDecisionManager(or delegate), this method should return such a
GrantedAuthority cannot be expressed with sufficient precision
null should be returned. Returning
null will require an
AccessDecisionManager (or delegate)
to specifically support the
GrantedAuthority implementation, so
null should be avoided unless actually required.
nullif the granted authority cannot be expressed as a
Stringwith sufficient precision).