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