Methods Summary |
---|
public void | addWebResourceCollection(com.sun.enterprise.deployment.web.WebResourceCollection webResourceCollection)Adds a web resource collection to this constraint.
this.getWebResourceCollectionSet().add(webResourceCollection);
|
public void | addWebResourceCollection(WebResourceCollectionImpl webResourceCollection)
addWebResourceCollection((WebResourceCollection) webResourceCollection);
|
public com.sun.enterprise.deployment.web.AuthorizationConstraint | getAuthorizationConstraint()The authorization constraint.
return this.authorizationConstraint;
|
public com.sun.enterprise.deployment.web.UserDataConstraint | getUserDataConstraint()The user data constraint.
return this.userDataConstraint;
|
public java.util.Set | getWebResourceCollectionSet()Return all the web resource collection.
if (this.webResourceCollections == null) {
this.webResourceCollections = new HashSet();
}
return this.webResourceCollections;
|
public java.util.Enumeration | getWebResourceCollections()The collection of URL pattern plus HTTP methods that are constrained.
return (new Vector(this.getWebResourceCollectionSet())).elements();
|
public void | print(java.lang.StringBuffer toStringBuffer)Returns a formatted String representing of my state.
toStringBuffer.append("SecurityConstraint: ");
toStringBuffer.append(" webResourceCollections: ").append(webResourceCollections);
toStringBuffer.append(" authorizationConstraint ").append(authorizationConstraint);
toStringBuffer.append(" userDataConstraint ").append(userDataConstraint);
|
public void | removeWebResourceCollection(com.sun.enterprise.deployment.web.WebResourceCollection webResourceCollection)Removes the given web resource collection from this constraint.
this.getWebResourceCollectionSet().remove(webResourceCollection);
|
public void | setAuthorizationConstraint(AuthorizationConstraintImpl authorizationConstraint)Sets the authorization constraint.
setAuthorizationConstraint((AuthorizationConstraint) authorizationConstraint);
|
public void | setAuthorizationConstraint(com.sun.enterprise.deployment.web.AuthorizationConstraint authorizationConstraint)Sets the authorization constraint.
this.authorizationConstraint = authorizationConstraint;
|
public void | setUserDataConstraint(com.sun.enterprise.deployment.web.UserDataConstraint userDataConstraint)Sets the user data constraint.
this.userDataConstraint = userDataConstraint;
|
public void | setUserDataConstraint(UserDataConstraintImpl userDataConstraint)
setUserDataConstraint((UserDataConstraint) userDataConstraint);
|