org.eclipse.higgins.icard.provider.cardspace.common
Class ManagedCard
java.lang.Object
org.eclipse.higgins.icard.common.Card
org.eclipse.higgins.icard.provider.cardspace.common.InformationCard
org.eclipse.higgins.icard.provider.cardspace.common.ManagedCard
- All Implemented Interfaces:
- org.eclipse.higgins.icard.ICard, org.eclipse.higgins.icard.IClaimContainer, org.eclipse.higgins.icard.IClaimTypeContainer, org.eclipse.higgins.icard.IInformationCard, org.eclipse.higgins.icard.IManagedInformationCard
- Direct Known Subclasses:
- DummyManagedCard
- public abstract class ManagedCard
- extends InformationCard
- implements org.eclipse.higgins.icard.IManagedInformationCard
| Methods inherited from class org.eclipse.higgins.icard.common.Card |
getCUID, getDescription, getID, getImage, getImageType, getIssuer, getIssuerName, getName, getProvider, getSupportedClaimTypes, getSupportedClaimTypesUris, getSupportedTokenTypes, getTimeExpires, getTimeIssued, getTimeLastUpdated, getVersion, isClaimsRetrieved, isFormatSupported, isSelfIssued, setClaims |
| Methods inherited from interface org.eclipse.higgins.icard.IInformationCard |
getHashSalt, getIssuerID, getMasterKey |
| Methods inherited from interface org.eclipse.higgins.icard.ICard |
applyUpdates, beginUpdates, cancelUpdates, getCUID, getDescription, getID, getImage, getImageType, getIssuer, getIssuerName, getName, getProvider, getSupportedClaimTypesUris, getSupportedTokenTypes, getTimeExpires, getTimeIssued, getTimeLastUpdated, getVersion, isClaimsRetrieved, isEditable, isEditMode, isFormatSupported, isSelfIssued, setImage, setIssuerName, setName, setTimeExpires |
| Methods inherited from interface org.eclipse.higgins.icard.IClaimTypeContainer |
getSupportedClaimTypes |
| Methods inherited from interface org.eclipse.higgins.icard.IClaimContainer |
createClaim, setClaim |
ManagedCard
public ManagedCard()
getTokenServices
public List getTokenServices()
- Specified by:
getTokenServices in interface org.eclipse.higgins.icard.IManagedInformationCard
getRequireAppliesTo
public Boolean getRequireAppliesTo()
- Specified by:
getRequireAppliesTo in interface org.eclipse.higgins.icard.IManagedInformationCard
getPrivacyNotice
public Element getPrivacyNotice()
- Specified by:
getPrivacyNotice in interface org.eclipse.higgins.icard.IManagedInformationCard
initFromXML
public void initFromXML(Element crd)
throws org.eclipse.higgins.icard.CardException,
DOMException
- Parameters:
crd -
- Throws:
org.eclipse.higgins.icard.CardException
DOMException
toElement
public org.eclipse.higgins.icard.io.IElement toElement(org.eclipse.higgins.icard.io.IElementFormat format)
throws org.eclipse.higgins.icard.CardException,
org.eclipse.higgins.icard.io.CardIOException,
org.eclipse.higgins.icard.io.UnsupportedElementFormatException
- Specified by:
toElement in interface org.eclipse.higgins.icard.ICard
- Returns:
-
- Throws:
org.eclipse.higgins.icard.CardException
org.eclipse.higgins.icard.io.CardIOException
org.eclipse.higgins.icard.io.UnsupportedElementFormatException
getRequiredCredentials
public org.eclipse.higgins.icard.auth.ICredentialDescriptor[] getRequiredCredentials()
- Specified by:
getRequiredCredentials in interface org.eclipse.higgins.icard.ICard
getClaim
public org.eclipse.higgins.icard.IClaim getClaim(String type)
throws org.eclipse.higgins.icard.AuthenticationRequiredException,
org.eclipse.higgins.icard.InvalidTypeException,
org.eclipse.higgins.icard.CardException
- Specified by:
getClaim in interface org.eclipse.higgins.icard.IClaimContainer
- Throws:
org.eclipse.higgins.icard.AuthenticationRequiredException
org.eclipse.higgins.icard.InvalidTypeException
org.eclipse.higgins.icard.CardException
getClaimByLocalName
public org.eclipse.higgins.icard.IClaim getClaimByLocalName(String shortTypeName)
throws org.eclipse.higgins.icard.AuthenticationRequiredException,
org.eclipse.higgins.icard.InvalidTypeException,
org.eclipse.higgins.icard.CardException
- Specified by:
getClaimByLocalName in interface org.eclipse.higgins.icard.ICard
- Throws:
org.eclipse.higgins.icard.AuthenticationRequiredException
org.eclipse.higgins.icard.InvalidTypeException
org.eclipse.higgins.icard.CardException
getClaims
public Iterator getClaims()
throws org.eclipse.higgins.icard.CardException
- Specified by:
getClaims in interface org.eclipse.higgins.icard.IClaimContainer
- Throws:
org.eclipse.higgins.icard.CardException
getType
public String getType()
- Specified by:
getType in interface org.eclipse.higgins.icard.ICard- Overrides:
getType in class InformationCard