| Modifier and Type | Field and Description |
|---|---|
| public static final DefaultAuthorizationManager |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canAccessResource(List<SingleConstraintMatch>
The constraints constraints, Account The users account account, ServletInfo The servlet info for the target servlet servletInfo, HttpServletRequest The servlet request request, Deployment The deployment deployment)Implements io. Tests if a user can access a given resource |
| public boolean | isUserInRole(String
The role name role, Account The user account account, ServletInfo The servlet info for the target servlet servletInfo, HttpServletRequest The servlet request request, Deployment The deployment deployment)Implements io. Tests if a user is in a given role |
| public TransportGuaranteeType | transportGuarantee(TransportGuaranteeType
The current connections transport guarantee type currentConnectionGuarantee, TransportGuaranteeType The transport guarantee type specified in the deployment descriptor/annotations configuredRequiredGuarentee, HttpServletRequest The request request)Implements io. Determines the transport guarantee type |
| INSTANCE | back to summary |
|---|---|
| public static final DefaultAuthorizationManager INSTANCE | |
| DefaultAuthorizationManager | back to summary |
|---|---|
| private DefaultAuthorizationManager() | |
| canAccessResource | back to summary |
|---|---|
| public boolean canAccessResource(List<SingleConstraintMatch> constraints, Account account, ServletInfo servletInfo, HttpServletRequest request, Deployment deployment) Implements io. Doc from io. Tests if a user can access a given resource
| |
| isUserInRole | back to summary |
|---|---|
| public boolean isUserInRole(String role, Account account, ServletInfo servletInfo, HttpServletRequest request, Deployment deployment) Implements io. Doc from io. Tests if a user is in a given role
| |
| transportGuarantee | back to summary |
|---|---|
| public TransportGuaranteeType transportGuarantee(TransportGuaranteeType currentConnectionGuarantee, TransportGuaranteeType configuredRequiredGuarentee, HttpServletRequest request) Implements io. Doc from io. Determines the transport guarantee type
| |