NAME
Wombat::Deploy::SecurityCollection - web-resource-collection deployment descriptor element class
SYNOPSIS
DESCRIPTION
Representation of a web resource collection for a web application's security constraint, as specified in a web-resource-collection element in the deployment descriptor.
CONSTRUCTOR
- new()
-
Construct and return a Wombat::Deploy::SecurityConstraint instance, initializing fields appropriately.
Parameters:
ACCESSOR METHODS
- getDescription()
-
Return the description of this web resource collection.
- setDescription($description)
-
Set the description of this web resource collection.
Parameters:
- getName()
-
Get the name of this web resource collection.
- setName($name)
-
Set the name of this web resource collection.
Parameters:
PUBLIC METHODS
- addMethod($method)
-
Add an HTTP request method to be part of this web resource collection.
Parameters:
- hasMethod($method)
-
Return true if the specified HTTP request methodd is part of this web resource collection.
Parameters:
- getMethods()
-
Return an array containing the names of the HTTP methods that are part of this web resource collection.
- removeMethod($method)
-
Remove the specified HTTP request method from those that are part of this web resource collection.
Parameters:
- addPattern($pattern)
-
Add a URL pattern to be part of this web resource collection.
Parameters:
- hasPattern($pattern)
-
Return true if the specified pattern is aprt of this web resource collection.
Parameters:
- getPatterns()
-
Return an array containing the URL patterns that are part of this web resource collection.
- removePattern($pattern)
-
Remove the specified URL pattern from those that are part of this web resource collection.
Parameters:
AUTHOR
Brian Moseley, bcm@maz.org