|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.DefaultParsedToken issrg.pba.DefaultDelegatableToken
public class DefaultDelegatableToken
This is the default Delegatable Parsed Token implementation. It contains the Holder, the Issuer and the Credentials of the Holder, and points to the Issuer location as well as specifies the depth of delegation that is allowed. The credentials of the Holder are split into two categories: assertable credentials and delegatable credentials
Constructor Summary | |
---|---|
protected |
DefaultDelegatableToken()
|
|
DefaultDelegatableToken(Entry holder,
TokenLocator issuer,
Credentials creds,
Credentials delegateableCredentials,
Subtree subjectDomain,
int depth)
This is the constructor that builds the Default Parsed Token given the Holder, the Issuer and the Credentials of the Holder issued to him by the Issuer. |
|
DefaultDelegatableToken(Entry holder,
TokenLocator issuer,
Credentials creds,
Credentials delegateableCredentials,
Subtree subjectDomain,
int depth,
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.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 |
---|
protected DefaultDelegatableToken()
public DefaultDelegatableToken(Entry holder, TokenLocator issuer, Credentials creds, Credentials delegateableCredentials, Subtree subjectDomain, int depth)
holder
- - the Holder entryissuer
- - the Issuer Token Locatorcreds
- - the Credentials of the HolderdelegateableCredentials
- - the Credentials of the HoldersubjectDomain
- - the domain of subjects to whom the holder can delegate the credentialsdepth
- - the depth of delegation chain that the delegateableCredentials can be delegated topublic DefaultDelegatableToken(Entry holder, TokenLocator issuer, Credentials creds, Credentials delegateableCredentials, Subtree subjectDomain, int depth, boolean revocable)
Method Detail |
---|
public Credentials getDelegateableCredentials()
DelegatableToken
The result is never null.
getDelegateableCredentials
in interface DelegatableToken
public Subtree getSubjectDomain()
DelegatableToken
getSubjectDomain
in interface DelegatableToken
public int getDepth()
DelegatableToken
getDepth
in interface DelegatableToken
public java.lang.String toString()
toString
in class DefaultParsedToken
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |