public interface WebAuthorizer extends Authorizer
Authorizer interface by including a delgate method for
HttpServletRequest.isUserInRole(String).| Modifier and Type | Method and Description |
|---|---|
boolean |
isUserInRole(javax.servlet.http.HttpServletRequest request,
java.security.Principal role)
Determines whether a user associated with an HTTP request possesses a particular role.
|
findRole, getRoles, initialize, isUserInRoleboolean isUserInRole(javax.servlet.http.HttpServletRequest request, java.security.Principal role)
HttpServletRequest.isUserInRole(String) by converting the Principal's name to a String.request - the HTTP requestrole - the role to checktrue if the user is considered to be in the role, false otherwiseCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.