| Modifier and Type | Class and Description |
|---|---|
| public static enum | SecurityInfo.
Equivalent to |
| Modifier and Type | Field and Description |
|---|---|
| private volatile SecurityInfo. | |
| private final Set | |
| private volatile TransportGuaranteeType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public T | |
| public T | |
| public T | |
| public T | |
| protected T | |
| public SecurityInfo. | |
| public Set | |
| public TransportGuaranteeType | |
| public T | |
| public T |
| emptyRoleSemantic | back to summary |
|---|---|
| private volatile SecurityInfo. | |
| rolesAllowed | back to summary |
|---|---|
| private final Set<String> rolesAllowed | |
| transportGuaranteeType | back to summary |
|---|---|
| private volatile TransportGuaranteeType transportGuaranteeType | |
| SecurityInfo | back to summary |
|---|---|
| public SecurityInfo() | |
| addRoleAllowed | back to summary |
|---|---|
| public T addRoleAllowed(final String role) | |
| addRolesAllowed | back to summary |
|---|---|
| public T addRolesAllowed(final String... roles) | |
| addRolesAllowed | back to summary |
|---|---|
| public T addRolesAllowed(final Collection<String> roles) | |
| clone | back to summary |
|---|---|
| public T clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| createInstance | back to summary |
|---|---|
| protected T createInstance() | |
| getEmptyRoleSemantic | back to summary |
|---|---|
| public SecurityInfo. | |
| getRolesAllowed | back to summary |
|---|---|
| public Set | |
| getTransportGuaranteeType | back to summary |
|---|---|
| public TransportGuaranteeType getTransportGuaranteeType() | |
| setEmptyRoleSemantic | back to summary |
|---|---|
| public T setEmptyRoleSemantic(final SecurityInfo. | |
| setTransportGuaranteeType | back to summary |
|---|---|
| public T setTransportGuaranteeType(final TransportGuaranteeType transportGuaranteeType) | |
jakarta.servlet.annotation.ServletSecurity.EmptyRoleSemantic but with an additional mode to require authentication but no role
check.
| Modifier and Type | Field and Description |
|---|---|
| public static final SecurityInfo. | AUTHENTICATE
Mandate authentication but authorize access as no roles to check against. |
| public static final SecurityInfo. | DENY
Deny access to the resource regardless of the authentication state. |
| public static final SecurityInfo. | PERMIT
Permit access to the resource without requiring authentication or role membership. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SecurityInfo. | |
| public static SecurityInfo. |
| AUTHENTICATE | back to summary |
|---|---|
| public static final SecurityInfo. Mandate authentication but authorize access as no roles to check against. | |
| DENY | back to summary |
|---|---|
| public static final SecurityInfo. Deny access to the resource regardless of the authentication state. | |
| PERMIT | back to summary |
|---|---|
| public static final SecurityInfo. Permit access to the resource without requiring authentication or role membership. | |
| EmptyRoleSemantic | back to summary |
|---|---|
| private EmptyRoleSemantic() | |
| valueOf | back to summary |
|---|---|
| public static SecurityInfo. | |
| values | back to summary |
|---|---|
| public static SecurityInfo. | |