public static interface RequestContext.Builder.IsUserInRoleDelegate
Cannot easily query ServletContext or HttpServletRequest for this information, since it is stored only as object.
Modifier and Type | Method and Description |
---|---|
boolean |
isUserInRole(java.lang.String role)
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
|
boolean isUserInRole(java.lang.String role)
role
- a String specifying the name of the role.Copyright © 2012–2020 Oracle Corporation. All rights reserved.