| 
 | Servlet 3.0 - Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME) @Documented public @interface HttpMethodConstraint
Specific security constraints can be applied to different types of request,
 differentiated by the HTTP protocol method type by using this annotation
 inside the ServletSecurity annotation.
| Required Element Summary | |
|---|---|
|  java.lang.String | valueHTTP Protocol method name (e.g. | 
| Optional Element Summary | |
|---|---|
|  ServletSecurity.EmptyRoleSemantic | emptyRoleSemanticThe EmptyRoleSemantic determines the behaviour when the rolesAllowed list is empty. | 
|  java.lang.String[] | rolesAllowedThe authorized roles' names. | 
|  ServletSecurity.TransportGuarantee | transportGuaranteeDetermines whether SSL/TLS is required to process the current request. | 
| Element Detail | 
|---|
public abstract java.lang.String value
public abstract ServletSecurity.EmptyRoleSemantic emptyRoleSemantic
public abstract ServletSecurity.TransportGuarantee transportGuarantee
public abstract java.lang.String[] rolesAllowed
| 
 | Servlet 3.0 - Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||