ants.core.security
Class Policy
java.lang.Object
|
+--ants.core.security.Policy
- Direct Known Subclasses:
- BasicPolicy
- public abstract class Policy
- extends java.lang.Object
- implements java.io.Serializable
The abstract specification of a class that maps principals to
permissions.
- Author:
- Andrew Whitaker
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Policy
public Policy()
hasPermission
public abstract boolean hasPermission(Principal who,
Permission what)
addPermission
public abstract void addPermission(Principal who,
Permission what)
removePermission
public abstract void removePermission(Principal who,
Permission what)
removePrincipal
public abstract void removePrincipal(Principal who)
This documentation is Copyright (C) 1998-2001 The University of Utah and the University of Washington. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for ANTS v2.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/