|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.DefaultParsedToken
public class DefaultParsedToken
This is the default Parsed Token implementation. It simply contains the Holder, the Issuer, the Credentials of the Holder and the URL to the revoked certificate.
Constructor Summary | |
---|---|
protected |
DefaultParsedToken()
|
|
DefaultParsedToken(Entry holder,
TokenLocator issuer,
Credentials creds)
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. |
|
DefaultParsedToken(Entry holder,
TokenLocator issuer,
Credentials creds,
boolean revocable)
|
Method Summary | |
---|---|
Credentials |
getCredentials()
This method extracts the Credentials from the object representing the Authorisation Token. |
Entry |
getHolder()
This method extracts the Holder's Entry from the Authorisation Token. |
TokenLocator |
getIssuerTokenLocator()
This method extracts the Issuer's Token Locator from the Authorisation token. |
boolean |
isRevocable()
This method will return a boolean identifying the token as revocable or not A token can be not-revocable if the AC contain the noRevAvail extension defined in X.509 or if it is a short-lived SAML assertion or Shibboleth credential. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected DefaultParsedToken()
public DefaultParsedToken(Entry holder, TokenLocator issuer, Credentials creds)
holder
- - the Holder entryissuer
- - the Issuer entrycreds
- - the Credentials of the HolderrevLoc
- - the location of the revoked certificatepublic DefaultParsedToken(Entry holder, TokenLocator issuer, Credentials creds, boolean revocable)
Method Detail |
---|
public Credentials getCredentials()
ParsedToken
The result is never null.
getCredentials
in interface ParsedToken
public Entry getHolder()
ParsedToken
getHolder
in interface ParsedToken
public TokenLocator getIssuerTokenLocator()
ParsedToken
getIssuerTokenLocator
in interface ParsedToken
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isRevocable()
ParsedToken
isRevocable
in interface ParsedToken
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |