Uses of Interface
org.eclipse.jetty.security.Constraint
Packages that use Constraint
Package
Description
Jetty Security : Modular Support for Security in Jetty
-
Uses of Constraint in org.eclipse.jetty.ee10.servlet.security
Methods in org.eclipse.jetty.ee10.servlet.security that return ConstraintModifier and TypeMethodDescriptionprotected ConstraintConstraintSecurityHandler.combineServletConstraints(Constraint constraintA, Constraint constraintB) Combine constrains as per the servlet specification.static ConstraintConstraintSecurityHandler.createConstraint(String name, jakarta.servlet.HttpConstraintElement element) Create a Constraintstatic ConstraintConstraintSecurityHandler.createConstraint(String name, String[] rolesAllowed, jakarta.servlet.annotation.ServletSecurity.EmptyRoleSemantic permitOrDeny, jakarta.servlet.annotation.ServletSecurity.TransportGuarantee transport) Create ConstraintConstraintMapping.getConstraint()protected ConstraintConstraintSecurityHandler.getConstraint(String pathInContext, Request request) Methods in org.eclipse.jetty.ee10.servlet.security with parameters of type ConstraintModifier and TypeMethodDescriptionprotected ConstraintConstraintSecurityHandler.combineServletConstraints(Constraint constraintA, Constraint constraintB) Combine constrains as per the servlet specification.voidConstraintMapping.setConstraint(Constraint constraint) Method parameters in org.eclipse.jetty.ee10.servlet.security with type arguments of type ConstraintModifier and TypeMethodDescriptionprotected booleanConstraintSecurityHandler.omissionsExist(Map<String, Constraint> methodMappings) Check if any http method omissions exist in the list of method to auth info mappings.protected voidConstraintSecurityHandler.processConstraintMappingWithMethodOmissions(ConstraintMapping mapping, Map<String, Constraint> mappings) Constraints that name method omissions are dealt with differently. -
Uses of Constraint in org.eclipse.jetty.ee11.servlet.security
Methods in org.eclipse.jetty.ee11.servlet.security that return ConstraintModifier and TypeMethodDescriptionprotected ConstraintConstraintSecurityHandler.combineServletConstraints(Constraint constraintA, Constraint constraintB) Combine constrains as per the servlet specification.static ConstraintConstraintSecurityHandler.createConstraint(String name, jakarta.servlet.HttpConstraintElement element) Create a Constraintstatic ConstraintConstraintSecurityHandler.createConstraint(String name, String[] rolesAllowed, jakarta.servlet.annotation.ServletSecurity.EmptyRoleSemantic permitOrDeny, jakarta.servlet.annotation.ServletSecurity.TransportGuarantee transport) Create ConstraintConstraintMapping.getConstraint()protected ConstraintConstraintSecurityHandler.getConstraint(String pathInContext, Request request) Methods in org.eclipse.jetty.ee11.servlet.security with parameters of type ConstraintModifier and TypeMethodDescriptionprotected ConstraintConstraintSecurityHandler.combineServletConstraints(Constraint constraintA, Constraint constraintB) Combine constrains as per the servlet specification.voidConstraintMapping.setConstraint(Constraint constraint) Method parameters in org.eclipse.jetty.ee11.servlet.security with type arguments of type ConstraintModifier and TypeMethodDescriptionprotected booleanConstraintSecurityHandler.omissionsExist(Map<String, Constraint> methodMappings) Check if any http method omissions exist in the list of method to auth info mappings.protected voidConstraintSecurityHandler.processConstraintMappingWithMethodOmissions(ConstraintMapping mapping, Map<String, Constraint> mappings) Constraints that name method omissions are dealt with differently. -
Uses of Constraint in org.eclipse.jetty.security
Fields in org.eclipse.jetty.security declared as ConstraintModifier and TypeFieldDescriptionstatic final ConstraintConstraint.ALLOWEDA static Constraint that hasConstraint.Authorization.ALLOWEDandConstraint.Transport.INHERIT.static final ConstraintConstraint.ALLOWED_ANY_TRANSPORTA static Constraint that hasConstraint.Authorization.ALLOWEDandConstraint.Transport.ANY.static final ConstraintConstraint.ANY_TRANSPORTA static Constraint that hasConstraint.Transport.ANYandConstraint.Authorization.INHERITstatic final ConstraintConstraint.ANY_USERA static Constraint that hasConstraint.Authorization.ANY_USERandConstraint.Transport.INHERIT.static final ConstraintConstraint.FORBIDDENA static Constraint that hasConstraint.Authorization.FORBIDDENandConstraint.Transport.INHERIT.static final ConstraintConstraint.KNOWN_ROLEA static Constraint that hasConstraint.Authorization.KNOWN_ROLEandConstraint.Transport.INHERIT.static final ConstraintConstraint.SECURE_TRANSPORTA static Constraint that hasConstraint.Transport.SECUREandConstraint.Authorization.INHERITMethods in org.eclipse.jetty.security that return ConstraintModifier and TypeMethodDescriptionConstraint.Builder.build()static ConstraintConstraint.combine(String name, Constraint leastSpecific, Constraint mostSpecific) Combine two Constraints by:static ConstraintConstraint.combine(Constraint leastSpecific, Constraint mostSpecific) Combine two Constraints by usingConstraint.combine(String, Constraint, Constraint)with a generated name.static Constraintstatic ConstraintConstraint.from(String name, Constraint.Authorization authorization, String... roles) static ConstraintConstraint.from(String name, Constraint.Transport transport) static ConstraintConstraint.from(String name, Constraint.Transport transport, Constraint.Authorization authorization, Set<String> roles) static ConstraintConstraint.from(Constraint.Transport transport, Constraint.Authorization authorization, Set<String> roles) protected abstract ConstraintSecurityHandler.getConstraint(String pathInContext, Request request) protected ConstraintSecurityHandler.PathMapped.getConstraint(String pathInContext, Request request) protected ConstraintSecurityHandler.PathMethodMapped.getConstraint(String pathInContext, Request request) SecurityHandler.PathMapped.put(String pathSpec, Constraint constraint) Associates the specified request path pattern with the specifiedConstraint.SecurityHandler.PathMapped.put(PathSpec pathSpec, Constraint constraint) Associates the specified request path pattern with the specifiedConstraint.SecurityHandler.PathMethodMapped.put(String pathSpec, String method, Constraint constraint) Associates the givenConstraintto the given request path patten and HTTP method.SecurityHandler.PathMethodMapped.put(PathSpec pathSpec, String method, Constraint constraint) Associates the givenConstraintto the given request path pattern and HTTP method.Methods in org.eclipse.jetty.security with parameters of type ConstraintModifier and TypeMethodDescriptionstatic ConstraintConstraint.combine(String name, Constraint leastSpecific, Constraint mostSpecific) Combine two Constraints by:static ConstraintConstraint.combine(Constraint leastSpecific, Constraint mostSpecific) Combine two Constraints by usingConstraint.combine(String, Constraint, Constraint)with a generated name.protected booleanSecurityHandler.isAuthorized(Constraint constraint, AuthenticationState authenticationState) SecurityHandler.PathMapped.put(String pathSpec, Constraint constraint) Associates the specified request path pattern with the specifiedConstraint.SecurityHandler.PathMapped.put(PathSpec pathSpec, Constraint constraint) Associates the specified request path pattern with the specifiedConstraint.SecurityHandler.PathMethodMapped.put(String pathSpec, String method, Constraint constraint) Associates the givenConstraintto the given request path patten and HTTP method.SecurityHandler.PathMethodMapped.put(PathSpec pathSpec, String method, Constraint constraint) Associates the givenConstraintto the given request path pattern and HTTP method.voidSecurityHandler.PathMethodMapped.put(PathSpec pathSpec, List<String> methods, Constraint constraint) Associates the givenConstraintto the given request path pattern and HTTP methods.Constructors in org.eclipse.jetty.security with parameters of type Constraint