Package | Description |
---|---|
jakarta.servlet |
The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
|
jakarta.servlet.annotation |
The jakarta.servlet.annotation package contains a number of annotations that allow users to use annotations to declare servlets, filters, listeners and specify the metadata for the declared component.
|
Modifier and Type | Method and Description |
---|---|
ServletSecurity.EmptyRoleSemantic |
HttpConstraintElement.getEmptyRoleSemantic()
Gets the default authorization semantic.
|
Constructor and Description |
---|
HttpConstraintElement(ServletSecurity.EmptyRoleSemantic semantic)
Convenience constructor to establish EmptyRoleSemantic.DENY
|
HttpConstraintElement(ServletSecurity.EmptyRoleSemantic semantic,
ServletSecurity.TransportGuarantee guarantee,
String... roleNames)
Constructor to establish all of getEmptyRoleSemantic, getRolesAllowed, and getTransportGuarantee.
|
Modifier and Type | Method and Description |
---|---|
static ServletSecurity.EmptyRoleSemantic |
ServletSecurity.EmptyRoleSemantic.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServletSecurity.EmptyRoleSemantic[] |
ServletSecurity.EmptyRoleSemantic.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.