Class ServletSecurityAnnotationHandler

java.lang.Object
org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
org.eclipse.jetty.annotations.ServletSecurityAnnotationHandler
All Implemented Interfaces:
AnnotationIntrospector.IntrospectableAnnotationHandler

public class ServletSecurityAnnotationHandler extends AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
ServletSecurityAnnotationHandler Inspect a class to see if it has an @ServletSecurity annotation on it, setting up the <security-constraint>s. A servlet can be defined in:
  • web.xml
  • web-fragment.xml
  • @WebServlet annotation discovered
  • ServletContext.createServlet
The ServletSecurity annotation for a servlet should only be processed iff metadata-complete == false.