Package | Description |
---|---|
org.eclipse.jetty.annotations |
Jetty Annotations : Support for Servlet Annotations
|
org.eclipse.jetty.security |
Jetty Security : Modular Support for Security in Jetty
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ServletSecurityAnnotationHandler.constraintsExist(List<ServletMapping> servletMappings,
List<ConstraintMapping> constraintMappings)
Check if there are already
|
Modifier and Type | Method and Description |
---|---|
static List<ConstraintMapping> |
ConstraintSecurityHandler.createConstraintsWithMappingsForPath(String name,
String pathSpec,
ServletSecurityElement securityElement)
Generate Constraints and ContraintMappings for the given url pattern and ServletSecurityElement
|
List<ConstraintMapping> |
ConstraintSecurityHandler.getConstraintMappings() |
List<ConstraintMapping> |
ConstraintAware.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.
|
Modifier and Type | Method and Description |
---|---|
void |
ConstraintSecurityHandler.addConstraintMapping(ConstraintMapping mapping) |
void |
ConstraintAware.addConstraintMapping(ConstraintMapping mapping)
Add a Constraint Mapping.
|
protected void |
ConstraintSecurityHandler.configureRoleInfo(RoleInfo ri,
ConstraintMapping mapping)
Initialize or update the RoleInfo from the constraint
|
protected void |
ConstraintSecurityHandler.processConstraintMapping(ConstraintMapping mapping)
Create and combine the constraint with the existing processed
constraints.
|
protected void |
ConstraintSecurityHandler.processConstraintMappingWithMethodOmissions(ConstraintMapping mapping,
Map<String,RoleInfo> mappings)
Constraints that name method omissions are dealt with differently.
|
void |
ConstraintSecurityHandler.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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
ConstraintSecurityHandler.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.
|
void |
ConstraintSecurityHandler.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.
|
void |
ConstraintAware.setConstraintMappings(List<ConstraintMapping> constraintMappings,
Set<String> roles)
Set Constraint Mappings and roles.
|
Copyright © 1995-2015 Webtide. All Rights Reserved.