|
Servlet 3.0 - Apache Tomcat 7.0.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Inherited @Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface ServletSecurity
Declare this annotation on a Servlet
implementation
class to enforce security constraints on HTTP protocol requests.
The container applies constraints to the URL patterns mapped to each Servlet
which declares this annotation.
Optional Element Summary | |
---|---|
HttpMethodConstraint[] |
httpMethodConstraints
An array of HttpMethodContraint objects to which the security constraint will be applied |
HttpConstraint |
value
The default constraint to apply to requests not handled by specific method constraints |
public abstract HttpConstraint value
public abstract HttpMethodConstraint[] httpMethodConstraints
|
Servlet 3.0 - Apache Tomcat 7.0.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |