Package | Description |
---|---|
javax.servlet |
The javax.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.
|
javax.servlet.annotation |
The javax.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 © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.