org.melati.poem
Interface AccessToken

Package class diagram package AccessToken
All Known Implementing Classes:
AccessForbiddenToken, RootAccessToken, User

public interface AccessToken

An AccessToken (aka User).


Field Summary
static AccessToken root
          The super user.
 
Method Summary
 boolean givesCapability(Capability capability)
           
 

Field Detail

root

static final AccessToken root
The super user.

Method Detail

givesCapability

boolean givesCapability(Capability capability)
Parameters:
capability - the capability to check
Returns:
whether current AccessToken confers the Capability.


Copyright © 2000-2010 PanEris. All Rights Reserved.