| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the user can access the resourceThe constraints mappedConstraints, final Account The users account account, final ServletInfo The servlet info for the target servlet servletInfo, final HttpServletRequest The servlet request request, Deployment The deployment deployment)Tests if a user can access a given resource |
| public boolean | Returns: true if the user is in the roleThe role name roleName, final Account The user account account, final ServletInfo The servlet info for the target servlet servletInfo, final HttpServletRequest The servlet request request, Deployment The deployment deployment)Tests if a user is in a given role |
| public TransportGuaranteeType | Returns: The transport guarantee typeThe current connections transport guarantee type currentConnectionGuarantee, TransportGuaranteeType The transport guarantee type specified in the deployment descriptor/annotations configuredRequiredGuarantee, final HttpServletRequest The request request)Determines the transport guarantee type |
| canAccessResource | back to summary |
|---|---|
| public boolean canAccessResource(List<SingleConstraintMatch> mappedConstraints, final Account account, final ServletInfo servletInfo, final HttpServletRequest request, Deployment deployment) Tests if a user can access a given resource
| |
| isUserInRole | back to summary |
|---|---|
| public boolean isUserInRole(String roleName, final Account account, final ServletInfo servletInfo, final HttpServletRequest request, Deployment deployment) Tests if a user is in a given role
| |
| transportGuarantee | back to summary |
|---|---|
| public TransportGuaranteeType transportGuarantee(TransportGuaranteeType currentConnectionGuarantee, TransportGuaranteeType configuredRequiredGuarantee, final HttpServletRequest request) Determines the transport guarantee type
| |