jakarta.servlet.annotation.HttpConstraint for programmatic configuration of security
constraints.
| Modifier and Type | Field and Description |
|---|---|
| private final ServletSecurity. | |
| private static final String | |
| private static final ResourceBundle | |
| private final String[] | |
| private final ServletSecurity. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | HttpConstraintElement(ServletSecurity.
The empty role semantic to apply to the newly created constraint emptyRoleSemanticConstruct a constraint with an empty role semantic. |
| public | HttpConstraintElement(ServletSecurity.
The transport guarantee to apply to the newly created constraint transportGuarantee,The roles to associate with the newly created constraint rolesAllowed)Construct a constraint with a transport guarantee and roles. |
| public | HttpConstraintElement(ServletSecurity.
The empty role semantic to apply to the newly created constraint emptyRoleSemantic,The transport guarantee to apply to the newly created constraint transportGuarantee,The roles to associate with the newly created constraint rolesAllowed)Construct a constraint with an empty role semantic, a transport guarantee and roles. |
| Modifier and Type | Method and Description |
|---|---|
| public ServletSecurity. | |
| public String[] | |
| public ServletSecurity. |
| emptyRoleSemantic | back to summary |
|---|---|
| private final ServletSecurity. | |
| LSTRING_FILE | back to summary |
|---|---|
| private static final String LSTRING_FILE | |
| lStrings | back to summary |
|---|---|
| private static final ResourceBundle lStrings | |
| rolesAllowed | back to summary |
|---|---|
| private final String[] rolesAllowed | |
| transportGuarantee | back to summary |
|---|---|
| private final ServletSecurity. | |
| HttpConstraintElement | back to summary |
|---|---|
| public HttpConstraintElement() Default constraint is permit with no transport guarantee. | |
| HttpConstraintElement | back to summary |
|---|---|
| public HttpConstraintElement(ServletSecurity. Construct a constraint with an empty role semantic. Typically used with
| |
| HttpConstraintElement | back to summary |
|---|---|
| public HttpConstraintElement(ServletSecurity. Construct a constraint with a transport guarantee and roles.
| |
| HttpConstraintElement | back to summary |
|---|---|
| public HttpConstraintElement(ServletSecurity. Construct a constraint with an empty role semantic, a transport guarantee and roles.
| |
| getEmptyRoleSemantic | back to summary |
|---|---|
| public ServletSecurity. TODO
| |
| getRolesAllowed | back to summary |
|---|---|
| public String[] getRolesAllowed() TODO
| |
| getTransportGuarantee | back to summary |
|---|---|
| public ServletSecurity. TODO
| |