Method Summary |
|
public void | addAuthRole(String authRole) Add an authorization role, which is a role name that will be
permitted access to the resources protected by this security constraint. |
public void | addCollection(SecurityCollection collection) Add a new web resource collection to those protected by this
security constraint. |
public boolean | findAuthRole(String role) Return true if the specified role is permitted access to
the resources protected by this security constraint. |
public String[] | findAuthRoles() Return the set of roles that are permitted access to the resources
protected by this security constraint. |
public SecurityCollection | findCollection(String name) Return the web resource collection for the specified name, if any;
otherwise, return null . |
public SecurityCollection[] | findCollections() Return all of the web resource collections protected by this
security constraint. |
public boolean | getAllRoles() |
public boolean | getAuthConstraint() Return the authorization constraint present flag for this security
constraint. |
public String | getDisplayName() Return the display name of this security constraint. |
public String | getUserConstraint() Return the user data constraint for this security constraint. |
public boolean | included(String uri, String method) Return true if the specified context-relative URI (and
associated HTTP method) are protected by this security constraint. |
public void | removeAuthRole(String authRole) Remove the specified role from the set of roles permitted to access
the resources protected by this security constraint. |
public void | removeCollection(SecurityCollection collection) Remove the specified web resource collection from those protected by
this security constraint. |
public void | setAuthConstraint(boolean authConstraint) Set the authorization constraint present flag for this security
constraint. |
public void | setDisplayName(String displayName) Set the display name of this security constraint. |
public void | setUserConstraint(String userConstraint) Set the user data constraint for this security constraint. |
public String | toString() Return a String representation of this security constraint. |