org.securityfilter.config
Class SecurityConstraint

java.lang.Object
  extended byorg.securityfilter.config.SecurityConstraint

public class SecurityConstraint
extends Object

SecurityConstraint

Version:
$Revision: 1.1 $ $Date: 2004/07/03 20:53:45 $
Author:
Max Cooper (max@maxcooper.com), Torgeir Veimo (torgeir@pobox.com)

Constructor Summary
SecurityConstraint()
          Constructor
 
Method Summary
 void addWebResourceCollection(WebResourceCollection resourceCollection)
          Add a WebResourceCollection to this SecurityConstraint.
 AuthConstraint getAuthConstraint()
          Get the AuthConstraint.
 List getWebResourceCollections()
          Get the WebResourceCollections for this SecurityConstraint.
 void setAuthConstraint(AuthConstraint authConstraint)
          Set the AuthConstraint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityConstraint

public SecurityConstraint()
Constructor

Method Detail

addWebResourceCollection

public void addWebResourceCollection(WebResourceCollection resourceCollection)
Add a WebResourceCollection to this SecurityConstraint.

Parameters:
resourceCollection - the WebResourceCollection to add

getWebResourceCollections

public List getWebResourceCollections()
Get the WebResourceCollections for this SecurityConstraint. The order of the list is the order in which the WebResourceCollections appeared in the config file.

Returns:
a List of WebResourceCollections, an empty list if none were added

setAuthConstraint

public void setAuthConstraint(AuthConstraint authConstraint)
Set the AuthConstraint.

Parameters:
authConstraint - the AuthConstraint

getAuthConstraint

public AuthConstraint getAuthConstraint()
Get the AuthConstraint.

Returns:
an AuthConstraint object, or null if none has been set