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(String role)
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
|
boolean isUserInRole(String role)
role - a String specifying the name of the role.Copyright © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.