|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.DefaultParsedToken issrg.saml.SAMLParsedToken
public class SAMLParsedToken
This is the VOMS Parsed Token implementation. It simply contains the Holder, the Issuer and the Credentials of the Holder. In addtion, it contains the boolean noRevAvail to indicate whether certificate revocation is applicable. the default value of noRevAvail is false, which means this token can be revoked.
Constructor Summary | |
---|---|
SAMLParsedToken()
Creates a new instance of VOMSParsedToken |
|
SAMLParsedToken(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. |
Method Summary | |
---|---|
java.lang.String |
getCertificateURL()
|
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 |
getNoRevAvail()
This method extracts the boolean noRevAvail. |
byte[] |
getOriginalAC()
|
java.lang.String |
getRevocationURL()
|
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. |
void |
setNoRevAvail()
This method set the boolean noRevAvail to true, which indicates this parsed token would not be checked for revocation. |
Methods inherited from class issrg.pba.DefaultParsedToken |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SAMLParsedToken()
public SAMLParsedToken(Entry holder, TokenLocator issuer, Credentials creds)
holder
- - the Holder entryissuer
- - the Issuer entrycreds
- - the Credentials of the HolderMethod Detail |
---|
public Credentials getCredentials()
The result is never null.
getCredentials
in interface ParsedToken
getCredentials
in class DefaultParsedToken
public Entry getHolder()
getHolder
in interface ParsedToken
getHolder
in class DefaultParsedToken
public TokenLocator getIssuerTokenLocator()
getIssuerTokenLocator
in interface ParsedToken
getIssuerTokenLocator
in class DefaultParsedToken
public boolean isRevocable()
ParsedToken
isRevocable
in interface ParsedToken
isRevocable
in interface WebDAVRevocable
isRevocable
in class DefaultParsedToken
public byte[] getOriginalAC()
getOriginalAC
in interface WebDAVRevocable
public java.lang.String getCertificateURL()
getCertificateURL
in interface WebDAVRevocable
public java.lang.String getRevocationURL()
getRevocationURL
in interface WebDAVRevocable
public boolean getNoRevAvail()
public void setNoRevAvail()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |