org.eclipse.higgins.icard.provider.cardspace.common
Class ManagedCard

java.lang.Object
  extended byorg.eclipse.higgins.icard.common.Card
      extended byorg.eclipse.higgins.icard.provider.cardspace.common.InformationCard
          extended byorg.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


Constructor Summary
ManagedCard()
           
 
Method Summary
 org.eclipse.higgins.icard.IClaim getClaim(String type)
           
 org.eclipse.higgins.icard.IClaim getClaimByLocalName(String shortTypeName)
           
 Iterator getClaims()
           
 Element getPrivacyNotice()
           
 Boolean getRequireAppliesTo()
           
 org.eclipse.higgins.icard.auth.ICredentialDescriptor[] getRequiredCredentials()
           
 List getTokenServices()
           
 void initFromXML(Element crd)
           
 org.eclipse.higgins.icard.io.IElement toElement(org.eclipse.higgins.icard.io.IElementFormat format)
           
 
Methods inherited from class org.eclipse.higgins.icard.provider.cardspace.common.InformationCard
getHashSalt, getIssuerID, getMasterKey, getType
 
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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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, getType, 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
 

Constructor Detail

ManagedCard

public ManagedCard()
Method Detail

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