Uses of Class
org.eclipse.jetty.util.security.Constraint
Package
Description
Jetty Annotations : Support for Servlet Annotations
Jetty Security : Modular Support for Security in Jetty
-
Uses of Constraint in org.eclipse.jetty.annotations
Modifier and TypeMethodDescriptionprotected Constraint
ServletSecurityAnnotationHandler.makeConstraint
(Class servlet, String[] rolesAllowed, jakarta.servlet.annotation.ServletSecurity.EmptyRoleSemantic permitOrDeny, jakarta.servlet.annotation.ServletSecurity.TransportGuarantee transport) Make a jetty Constraint object, which represents the<auth-constraint>
and<user-data-constraint>
elements, based on the security annotation. -
Uses of Constraint in org.eclipse.jetty.security
Modifier and TypeMethodDescriptionstatic Constraint
ConstraintSecurityHandler.createConstraint()
static Constraint
ConstraintSecurityHandler.createConstraint
(String name, boolean authenticate, String[] roles, int dataConstraint) Create a security constraintstatic Constraint
ConstraintSecurityHandler.createConstraint
(String name, jakarta.servlet.HttpConstraintElement element) Create a Constraintstatic Constraint
ConstraintSecurityHandler.createConstraint
(String name, String[] rolesAllowed, jakarta.servlet.annotation.ServletSecurity.EmptyRoleSemantic permitOrDeny, jakarta.servlet.annotation.ServletSecurity.TransportGuarantee transport) Create Constraintstatic Constraint
ConstraintSecurityHandler.createConstraint
(Constraint constraint) ConstraintMapping.getConstraint()
Modifier and TypeMethodDescriptionstatic Constraint
ConstraintSecurityHandler.createConstraint
(Constraint constraint) void
ConstraintMapping.setConstraint
(Constraint constraint)