org.melati.poem
Class AccessForbiddenToken

Package class diagram package AccessForbiddenToken
java.lang.Object
  extended by org.melati.poem.AccessForbiddenToken
All Implemented Interfaces:
AccessToken

public class AccessForbiddenToken
extends Object
implements AccessToken

AccessToken that gives no capabilities.

Not currently in use (21/12/2006/TimP). You could enforce a policy of explicit permissions by making this the guest users' default AccessToken.

Author:
williamc At paneris.org

Field Summary
 
Fields inherited from interface org.melati.poem.AccessToken
root
 
Constructor Summary
AccessForbiddenToken()
           
 
Method Summary
 boolean givesCapability(Capability capability)
          Return false, thereby not giving Capability.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessForbiddenToken

public AccessForbiddenToken()
Method Detail

givesCapability

public boolean givesCapability(Capability capability)
Return false, thereby not giving Capability.

Specified by:
givesCapability in interface AccessToken
Parameters:
capability - the capability to check
Returns:
whether current AccessToken confers the Capability.
See Also:
AccessToken.givesCapability(org.melati.poem.Capability)


Copyright © 2000-2010 PanEris. All Rights Reserved.