Interface GrantedAuthority
- All Known Implementing Classes:
SimpleGrantedAuthority
public interface GrantedAuthority
One thing an
Authentication has been granted: a role, written ROLE_ADMIN,
or any other authority the application checks by name.-
Method Summary
Modifier and TypeMethodDescriptionThe authority as text; never null for an authority that can be checked.
-
Method Details
-
getAuthority
String getAuthority()The authority as text; never null for an authority that can be checked.
-