issrg.pba
Class WebDAVRevocableDelegatableParsedToken

java.lang.Object
  extended by issrg.pba.DefaultParsedToken
      extended by issrg.pba.WebDAVRevocableParsedToken
          extended by issrg.pba.WebDAVRevocableDelegatableParsedToken
All Implemented Interfaces:
DelegatableToken, ParsedToken, WebDAVRevocable

public class WebDAVRevocableDelegatableParsedToken
extends WebDAVRevocableParsedToken
implements DelegatableToken


Constructor Summary
WebDAVRevocableDelegatableParsedToken()
           
WebDAVRevocableDelegatableParsedToken(Entry holder, TokenLocator issuer, Credentials creds, boolean revocable)
           
WebDAVRevocableDelegatableParsedToken(Entry holder, TokenLocator issuer, Credentials creds, Credentials delegateableCredentials, Subtree subjectDomain, int depth, java.lang.String revLoc, java.lang.String certLoc, byte[] ac, boolean revocable)
           
WebDAVRevocableDelegatableParsedToken(Entry holder, TokenLocator issuer, Credentials creds, java.lang.String revLoc, java.lang.String certLoc, byte[] ac, boolean revocable)
           
 
Method Summary
 Credentials getDelegateableCredentials()
          This method extracts the delegatable Credentials from the object representing the Authorisation Token.
 int getDepth()
          This method returns the depth of delegation chain allowed for the holder of this token.
 Subtree getSubjectDomain()
          This method returns a domain of subjects to whom the holder of the token can delegate the Delegateable Credentials to.
 java.lang.String toString()
           
 
Methods inherited from class issrg.pba.WebDAVRevocableParsedToken
getCertificateURL, getOriginalAC, getRevocationURL
 
Methods inherited from class issrg.pba.DefaultParsedToken
getCredentials, getHolder, getIssuerTokenLocator, isRevocable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface issrg.pba.ParsedToken
getCredentials, getHolder, getIssuerTokenLocator, isRevocable
 

Constructor Detail

WebDAVRevocableDelegatableParsedToken

public WebDAVRevocableDelegatableParsedToken()

WebDAVRevocableDelegatableParsedToken

public WebDAVRevocableDelegatableParsedToken(Entry holder,
                                             TokenLocator issuer,
                                             Credentials creds,
                                             boolean revocable)

WebDAVRevocableDelegatableParsedToken

public WebDAVRevocableDelegatableParsedToken(Entry holder,
                                             TokenLocator issuer,
                                             Credentials creds,
                                             java.lang.String revLoc,
                                             java.lang.String certLoc,
                                             byte[] ac,
                                             boolean revocable)

WebDAVRevocableDelegatableParsedToken

public WebDAVRevocableDelegatableParsedToken(Entry holder,
                                             TokenLocator issuer,
                                             Credentials creds,
                                             Credentials delegateableCredentials,
                                             Subtree subjectDomain,
                                             int depth,
                                             java.lang.String revLoc,
                                             java.lang.String certLoc,
                                             byte[] ac,
                                             boolean revocable)
Method Detail

getDelegateableCredentials

public Credentials getDelegateableCredentials()
Description copied from interface: DelegatableToken
This method extracts the delegatable Credentials from the object representing the Authorisation Token.

The result is never null.

Specified by:
getDelegateableCredentials in interface DelegatableToken
Returns:
Credentials is the delegatable Credentials that the Authorisation Token contains

getSubjectDomain

public Subtree getSubjectDomain()
Description copied from interface: DelegatableToken
This method returns a domain of subjects to whom the holder of the token can delegate the Delegateable Credentials to.

Specified by:
getSubjectDomain in interface DelegatableToken

getDepth

public int getDepth()
Description copied from interface: DelegatableToken
This method returns the depth of delegation chain allowed for the holder of this token. "0" means one level down, "1" means two leves down... "-1" means infinity.

Specified by:
getDepth in interface DelegatableToken

toString

public java.lang.String toString()
Overrides:
toString in class DefaultParsedToken