public interface WebAuthorizer extends Authorizer
Authorizer interface by
including a delgate method for
javax.servlet.http.HttpServletRequest#isUserInRole(String).| Modifier and Type | Method and Description |
|---|---|
boolean |
isUserInRole(HttpServletRequest request,
java.security.Principal role)
Determines whether a user associated with an HTTP request possesses
a particular role.
|
findRole, getRoles, initializeboolean isUserInRole(HttpServletRequest request,
java.security.Principal role)
javax.servlet.http.HttpServletRequest#isUserInRole(String)
by converting the Principal's name to a String.isUserInRole in interface Authorizerrequest - the HTTP requestrole - the role to checktrue if the user is considered to be in the role,
false otherwisestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.