Uses of Class
org.eclipse.jetty.security.ConstraintMapping
Packages that use ConstraintMapping
Package
Description
Jetty Security : Modular Support for Security in Jetty
-
Uses of ConstraintMapping in org.eclipse.jetty.security
Methods in org.eclipse.jetty.security that return types with arguments of type ConstraintMappingModifier and TypeMethodDescriptionstatic List<ConstraintMapping>ConstraintSecurityHandler.createConstraintsWithMappingsForPath(String name, String pathSpec, jakarta.servlet.ServletSecurityElement securityElement) Generate Constraints and ContraintMappings for the given url pattern and ServletSecurityElementConstraintAware.getConstraintMappings()ConstraintSecurityHandler.getConstraintMappings()static List<ConstraintMapping>ConstraintSecurityHandler.getConstraintMappingsForPath(String pathSpec, List<ConstraintMapping> constraintMappings) static List<ConstraintMapping>ConstraintSecurityHandler.removeConstraintMappingsForPath(String pathSpec, List<ConstraintMapping> constraintMappings) Take out of the constraint mappings those that match the given path.Methods in org.eclipse.jetty.security with parameters of type ConstraintMappingModifier and TypeMethodDescriptionvoidConstraintAware.addConstraintMapping(ConstraintMapping mapping) Add a Constraint Mapping.voidConstraintSecurityHandler.addConstraintMapping(ConstraintMapping mapping) protected PathSpecConstraintSecurityHandler.asPathSpec(ConstraintMapping mapping) protected voidConstraintSecurityHandler.configureRoleInfo(RoleInfo ri, ConstraintMapping mapping) Initialize or update the RoleInfo from the constraintprotected voidConstraintSecurityHandler.processConstraintMapping(ConstraintMapping mapping) Create and combine the constraint with the existing processed constraints.protected voidConstraintSecurityHandler.processConstraintMappingWithMethodOmissions(ConstraintMapping mapping, Map<String, RoleInfo> mappings) Constraints that name method omissions are dealt with differently.voidConstraintSecurityHandler.setConstraintMappings(ConstraintMapping[] constraintMappings) Process the constraints following the combining rules in Servlet 3.0 EA spec section 13.7.1 Note that much of the logic is in the RoleInfo class.Method parameters in org.eclipse.jetty.security with type arguments of type ConstraintMappingModifier and TypeMethodDescriptionstatic List<ConstraintMapping>ConstraintSecurityHandler.getConstraintMappingsForPath(String pathSpec, List<ConstraintMapping> constraintMappings) static List<ConstraintMapping>ConstraintSecurityHandler.removeConstraintMappingsForPath(String pathSpec, List<ConstraintMapping> constraintMappings) Take out of the constraint mappings those that match the given path.voidConstraintAware.setConstraintMappings(List<ConstraintMapping> constraintMappings, Set<String> roles) Set Constraint Mappings and roles.voidConstraintSecurityHandler.setConstraintMappings(List<ConstraintMapping> constraintMappings) Process the constraints following the combining rules in Servlet 3.0 EA spec section 13.7.1 Note that much of the logic is in the RoleInfo class.voidConstraintSecurityHandler.setConstraintMappings(List<ConstraintMapping> constraintMappings, Set<String> roles) Process the constraints following the combining rules in Servlet 3.0 EA spec section 13.7.1 Note that much of the logic is in the RoleInfo class.