Interface AuthorizationContext
-
public interface AuthorizationContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<GrantedAuthority>
authorities()
Gets the list of authorities granted to the authenticated used.InetAddress
clientAddress()
Gets the client address.Principal
principal()
Gets the current authenticated principal.HttpResource
resource()
Gets the requested resource.SecurityMechanism
securityMechanism()
Gets the security mechanism used by the client to authenticate.
-
-
-
Method Detail
-
authorities
Collection<GrantedAuthority> authorities()
Gets the list of authorities granted to the authenticated used.- Returns:
- the list of
GrantedAuthority
-
clientAddress
InetAddress clientAddress()
Gets the client address.- Returns:
- the
InetAddress
of the client.
-
securityMechanism
SecurityMechanism securityMechanism()
Gets the security mechanism used by the client to authenticate.- Returns:
- the
SecurityMechanism
.
-
resource
HttpResource resource()
Gets the requested resource.- Returns:
- the
HttpResource
.
-
-