org.eclipse.higgins.icard.common
Class Card
java.lang.Object
org.eclipse.higgins.icard.common.Card
- All Implemented Interfaces:
- org.eclipse.higgins.icard.ICard, org.eclipse.higgins.icard.IClaimContainer, org.eclipse.higgins.icard.IClaimTypeContainer
- public abstract class Card
- extends Object
- implements org.eclipse.higgins.icard.ICard
|
Constructor Summary |
Card()
|
| Methods inherited from interface org.eclipse.higgins.icard.ICard |
applyUpdates, beginUpdates, cancelUpdates, getClaimByLocalName, getRequiredCredentials, getType, isEditable, isEditMode, setImage, setIssuerName, setName, setTimeExpires, toElement |
| Methods inherited from interface org.eclipse.higgins.icard.IClaimContainer |
createClaim, getClaim, getClaims, setClaim |
Card
public Card()
getName
public String getName()
- Specified by:
getName in interface org.eclipse.higgins.icard.ICard
getID
public String getID()
- Specified by:
getID in interface org.eclipse.higgins.icard.ICard
getIssuerName
public String getIssuerName()
- Specified by:
getIssuerName in interface org.eclipse.higgins.icard.ICard
getIssuer
public String getIssuer()
- Specified by:
getIssuer in interface org.eclipse.higgins.icard.ICard
getImage
public byte[] getImage()
- Specified by:
getImage in interface org.eclipse.higgins.icard.ICard
getImageType
public String getImageType()
- Specified by:
getImageType in interface org.eclipse.higgins.icard.ICard
getTimeIssued
public Date getTimeIssued()
- Specified by:
getTimeIssued in interface org.eclipse.higgins.icard.ICard
getTimeExpires
public Date getTimeExpires()
- Specified by:
getTimeExpires in interface org.eclipse.higgins.icard.ICard
getSupportedClaimTypes
public Iterator getSupportedClaimTypes()
- Specified by:
getSupportedClaimTypes in interface org.eclipse.higgins.icard.IClaimTypeContainer
getSupportedClaimTypesUris
public List getSupportedClaimTypesUris()
- Specified by:
getSupportedClaimTypesUris in interface org.eclipse.higgins.icard.ICard
getVersion
public String getVersion()
- Specified by:
getVersion in interface org.eclipse.higgins.icard.ICard
getSupportedTokenTypes
public List getSupportedTokenTypes()
- Specified by:
getSupportedTokenTypes in interface org.eclipse.higgins.icard.ICard
getProvider
public org.eclipse.higgins.icard.ICardProvider getProvider()
- Specified by:
getProvider in interface org.eclipse.higgins.icard.ICard
getTimeLastUpdated
public Date getTimeLastUpdated()
- Specified by:
getTimeLastUpdated in interface org.eclipse.higgins.icard.ICard
isSelfIssued
public boolean isSelfIssued()
- Specified by:
isSelfIssued in interface org.eclipse.higgins.icard.ICard
getCUID
public org.eclipse.higgins.icard.CUID getCUID()
- Specified by:
getCUID in interface org.eclipse.higgins.icard.ICard
getDescription
public String getDescription()
- Specified by:
getDescription in interface org.eclipse.higgins.icard.ICard
isClaimsRetrieved
public boolean isClaimsRetrieved()
- Specified by:
isClaimsRetrieved in interface org.eclipse.higgins.icard.ICard
setClaims
public void setClaims(List claims)
throws org.eclipse.higgins.icard.InvalidTypeException
- Sets a cache of claim values. Unless call to this method any attempts to
access claim values throws the
AuthenticationRequiredException.
This is a helper method used either by
ICardProvider.getICardByCUID(javax.security.auth.callback.CallbackHandler, CUID, org.eclipse.higgins.icard.auth.ICredential)
or card itself when fully loaded card is requested.
- Parameters:
claims -
- Throws:
org.eclipse.higgins.icard.InvalidTypeException
isFormatSupported
public boolean isFormatSupported(org.eclipse.higgins.icard.io.IElementFormat format)
- Specified by:
isFormatSupported in interface org.eclipse.higgins.icard.ICard