Wombat::Deploy::SecurityConstraint - security-constraint deployment descriptor element class
Representation of a security constraint object for a web application, as specified in a security-constraint element in the deployment descriptor.
Construct and return a Wombat::Deploy::SecurityConstraint instance, initializing fields appropriately.
Return a flag indicating if the "all roles" wildcard is included in this SecurityConstraint.
Return a flag indication if an authorization constraint is included in this SecurityConstraint. This is necessary to distinguish between an auth-constraint with no roles (signifying no direct access at all) and the lack of auth-constraint (which implies no access control checking).
Set a flag indicating if an authorization constraint is included in this SecurityConstraint.
Parameters:
a boolean value
Return the display name of this SecurityConstraint.
Set the display name of this SecurityCosntraint.
the display name
Return the user data constraint for this SecurityConstraint.
Set the user data constraint for this SecurityConstraint. Must be one of NONE, INTEGRAL or CONFIDENTIAL.
the user data constraint
Add an authorization role, which is a role name that will be permitted access to the resources protected by this SecurityConstraint.
the role name to be added
Return true if the specified role is permitted access to the resources protected by this SecurityConstraint.
the role name to be checked
Return an array containing the names of the roles that are permitted access to the resources protected by this SecurityConstraint.
Remove the specified role from the set of roles permitted to access the resources protected by this SecurityConstraint.
the name of the role to be removed
Add a new web resource collection to those protected by this SecurityConstraint.
the Wombat::Deploy::SecurityConstraint to be added
Return the named web resource collection or undef.
undef
the name of the web resource collection
Return an array containing the web resource collections protected by this SecurityConstraint.
Remove the specified web resource collection from those protected by this SecurityConstraint.
the Wombat::Deploy::SecurityCollection to be removed
Return true if the specified context-relative URI and associated HTTP method are protected by this SecurityConstraint.
the uri to check
the method being used
Wombat::Deploy::SecurityCollection
Brian Moseley, bcm@maz.org
To install Wombat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wombat
CPAN shell
perl -MCPAN -e shell install Wombat
For more information on module installation, please visit the detailed CPAN module installation guide.