Package | Description |
---|---|
org.eclipse.jetty.annotations | |
org.eclipse.jetty.security |
Modifier and Type | Method and Description |
---|---|
protected ConstraintMapping |
ServletSecurityAnnotationHandler.makeConstraintMapping(Constraint constraint,
String url,
String method,
String[] omissions)
Make a ConstraintMapping which captures the
|
Modifier and Type | Method and Description |
---|---|
protected List<ConstraintMapping> |
ServletSecurityAnnotationHandler.makeMethodMappings(Class servlet,
Constraint defaultConstraint,
List<ServletMapping> servletMappings,
javax.servlet.annotation.HttpMethodConstraint[] annotations)
Make the Jetty Constraints and ConstraintMapping objects that correspond to the HttpMethodConstraint
annotations for each url pattern for the servlet.
|
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 |
---|---|
List<ConstraintMapping> |
ConstraintAware.getConstraintMappings() |
List<ConstraintMapping> |
ConstraintSecurityHandler.getConstraintMappings() |
Modifier and Type | Method and Description |
---|---|
void |
ConstraintAware.addConstraintMapping(ConstraintMapping mapping)
Add a Constraint Mapping.
|
void |
ConstraintSecurityHandler.addConstraintMapping(ConstraintMapping mapping) |
protected void |
ConstraintSecurityHandler.processConstraintMapping(ConstraintMapping mapping) |
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 |
---|---|
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 |
ConstraintAware.setConstraintMappings(List<ConstraintMapping> constraintMappings,
Set<String> roles)
Set Constraint Mappings and roles.
|
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.
|
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.