net.spy.aaa
Class SpyPolicy

java.lang.Object
  extended bynet.spy.aaa.SpyPolicy

public class SpyPolicy
extends Object

A Policy for use in SpySecurityManager.


Constructor Summary
SpyPolicy()
          Get an instance of SpyPolicy.
 
Method Summary
protected  Enumeration getAuthPermissions()
          Get the permissions for authenticated users.
protected  Enumeration getNullPermissions()
          Get the permissions for unauthenticated users.
 PermissionCollection getPermissions(Token tok)
          Get a PermissionCollection for a Token.
protected  Enumeration getUserPermissions(Token tok)
          Get the user-specific permissions based on a token.
 void refresh()
          Clear the policy cache.
 String toString()
          String me.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpyPolicy

public SpyPolicy()
Get an instance of SpyPolicy.

Method Detail

toString

public String toString()
String me.


getNullPermissions

protected Enumeration getNullPermissions()
Get the permissions for unauthenticated users.


getAuthPermissions

protected Enumeration getAuthPermissions()
Get the permissions for authenticated users.


getUserPermissions

protected Enumeration getUserPermissions(Token tok)
Get the user-specific permissions based on a token.


getPermissions

public PermissionCollection getPermissions(Token tok)
Get a PermissionCollection for a Token.


refresh

public void refresh()
Clear the policy cache.