org.securityfilter.config
Class AuthConstraint

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

public class AuthConstraint
extends Object

AuthConstraint

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

Constructor Summary
AuthConstraint()
          Constructor
 
Method Summary
 void addRole(String role)
          Add a role.
 Collection getRoles()
          Get the roles collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthConstraint

public AuthConstraint()
Constructor

Method Detail

addRole

public void addRole(String role)
Add a role.

Parameters:
role - role to add

getRoles

public Collection getRoles()
Get the roles collection. Returns an empty collection if no roles were present in the config file.