public class ServletSecurityAnnotationHandler extends AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
| Constructor and Description |
|---|
ServletSecurityAnnotationHandler(WebAppContext wac) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
constraintsExist(List<ServletMapping> servletMappings,
List<ConstraintMapping> constraintMappings)
Check if there are already
|
void |
doHandle(Class clazz) |
protected List<ServletMapping> |
getServletMappings(String className)
Get the ServletMappings for the servlet's class.
|
protected Constraint |
makeConstraint(Class servlet,
String[] rolesAllowed,
javax.servlet.annotation.ServletSecurity.EmptyRoleSemantic permitOrDeny,
javax.servlet.annotation.ServletSecurity.TransportGuarantee transport)
Make a jetty Constraint object, which represents the
|
handlepublic ServletSecurityAnnotationHandler(WebAppContext wac)
public void doHandle(Class clazz)
protected Constraint makeConstraint(Class servlet, String[] rolesAllowed, javax.servlet.annotation.ServletSecurity.EmptyRoleSemantic permitOrDeny, javax.servlet.annotation.ServletSecurity.TransportGuarantee transport)
servlet - rolesAllowed - permitOrDeny - transport - protected List<ServletMapping> getServletMappings(String className)
className - protected boolean constraintsExist(List<ServletMapping> servletMappings, List<ConstraintMapping> constraintMappings)
servletMappings - Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.