org.melati.poem
Class RootAccessToken
java.lang.Object
org.melati.poem.RootAccessToken
- All Implemented Interfaces:
- AccessToken
public class RootAccessToken
- extends Object
- implements AccessToken
An AccessToken (aka User) which can do anything.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootAccessToken
public RootAccessToken()
givesCapability
public boolean givesCapability(Capability capability)
- The RootAccessToken gives any 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.