org.melati.poem
Class AccessForbiddenToken
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessForbiddenToken
public AccessForbiddenToken()
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.