| Package | Description |
|---|---|
| org.eclipse.jetty.security |
Jetty Security : Modular Support for Security in Jetty
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<ConstraintMapping> |
ConstraintSecurityHandler.createConstraintsWithMappingsForPath(java.lang.String name,
java.lang.String pathSpec,
javax.servlet.ServletSecurityElement securityElement) |
Generate Constraints and ContraintMappings for the given url pattern and ServletSecurityElement
|
java.util.List<ConstraintMapping> |
ConstraintAware.getConstraintMappings() |
|
java.util.List<ConstraintMapping> |
ConstraintSecurityHandler.getConstraintMappings() |
|
static java.util.List<ConstraintMapping> |
ConstraintSecurityHandler.getConstraintMappingsForPath(java.lang.String pathSpec,
java.util.List<ConstraintMapping> constraintMappings) |
|
static java.util.List<ConstraintMapping> |
ConstraintSecurityHandler.removeConstraintMappingsForPath(java.lang.String pathSpec,
java.util.List<ConstraintMapping> constraintMappings) |
Take out of the constraint mappings those that match the
given path.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ConstraintAware.addConstraintMapping(ConstraintMapping mapping) |
Add a Constraint Mapping.
|
void |
ConstraintSecurityHandler.addConstraintMapping(ConstraintMapping 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,
java.util.Map<java.lang.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 | Description |
|---|---|---|
static java.util.List<ConstraintMapping> |
ConstraintSecurityHandler.getConstraintMappingsForPath(java.lang.String pathSpec,
java.util.List<ConstraintMapping> constraintMappings) |
|
static java.util.List<ConstraintMapping> |
ConstraintSecurityHandler.removeConstraintMappingsForPath(java.lang.String pathSpec,
java.util.List<ConstraintMapping> constraintMappings) |
Take out of the constraint mappings those that match the
given path.
|
void |
ConstraintAware.setConstraintMappings(java.util.List<ConstraintMapping> constraintMappings,
java.util.Set<java.lang.String> roles) |
Set Constraint Mappings and roles.
|
void |
ConstraintSecurityHandler.setConstraintMappings(java.util.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(java.util.List<ConstraintMapping> constraintMappings,
java.util.Set<java.lang.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.
|
Copyright © 1995–2017 Webtide. All rights reserved.