| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public boolean | Returns: true if urls with uncovered http methodsSee Servlet Spec 31, sec 13.8.4, pg 145 Container must check if there are urls with uncovered http methods |
| public List | |
| public Set | |
| public boolean | |
| public void | setConstraintMappings(List<ConstraintMapping>
the mappings constraintMappings, Set<String> the roles roles)Set Constraint Mappings and roles. |
| public void | setDenyUncoveredHttpMethods(boolean
true for denied method access deny)See Servlet Spec 31, sec 13.8.4, pg 145 When true, requests with http methods not explicitly covered either by inclusion or omissions in constraints, will have access denied. |
| addConstraintMapping | back to summary |
|---|---|
| public void addConstraintMapping(ConstraintMapping mapping) Add a Constraint Mapping. May be called for running webapplication as an annotated servlet is instantiated.
| |
| addKnownRole | back to summary |
|---|---|
| public void addKnownRole(String role) Add a Role definition. May be called on running webapplication as an annotated servlet is instantiated.
| |
| checkPathsWithUncoveredHttpMethods | back to summary |
|---|---|
| public boolean checkPathsWithUncoveredHttpMethods() See Servlet Spec 31, sec 13.8.4, pg 145 Container must check if there are urls with uncovered http methods
| |
| getConstraintMappings | back to summary |
|---|---|
| public List | |
| getKnownRoles | back to summary |
|---|---|
| public Set | |
| isDenyUncoveredHttpMethods | back to summary |
|---|---|
| public boolean isDenyUncoveredHttpMethods() | |
| setConstraintMappings | back to summary |
|---|---|
| public void setConstraintMappings(List<ConstraintMapping> constraintMappings, Set<String> roles) Set Constraint Mappings and roles. Can only be called during initialization.
| |
| setDenyUncoveredHttpMethods | back to summary |
|---|---|
| public void setDenyUncoveredHttpMethods(boolean deny) See Servlet Spec 31, sec 13.8.4, pg 145 When true, requests with http methods not explicitly covered either by inclusion or omissions in constraints, will have access denied.
| |