org.melati.poem
Class RootAccessToken

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

public class RootAccessToken
extends Object
implements AccessToken

An AccessToken (aka User) which can do anything.


Field Summary
 
Fields inherited from interface org.melati.poem.AccessToken
root
 
Constructor Summary
RootAccessToken()
           
 
Method Summary
 boolean givesCapability(Capability capability)
          The RootAccessToken gives any Capability.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootAccessToken

public RootAccessToken()
Method Detail

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.