public interface SecurityContext
Modifier and Type | Method and Description |
---|---|
AuthenticationStatus |
authenticate(HttpServletRequest request,
HttpServletResponse response,
AuthenticationParameters parameters) |
java.security.Principal |
getCallerPrincipal() |
<T extends java.security.Principal> |
getPrincipalsByType(java.lang.Class<T> pType) |
boolean |
hasAccessToWebResource(java.lang.String resource,
java.lang.String... methods) |
boolean |
isCallerInRole(java.lang.String role) |
java.security.Principal getCallerPrincipal()
<T extends java.security.Principal> java.util.Set<T> getPrincipalsByType(java.lang.Class<T> pType)
boolean isCallerInRole(java.lang.String role)
boolean hasAccessToWebResource(java.lang.String resource, java.lang.String... methods)
AuthenticationStatus authenticate(HttpServletRequest request, HttpServletResponse response, AuthenticationParameters parameters)