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

java.lang.Object
  extended by org.eclipse.higgins.icard.provider.cardspace.common.CredentialDescriptor
All Implemented Interfaces:
org.eclipse.higgins.icard.auth.ICredentialDescriptor

public class CredentialDescriptor
extends Object
implements org.eclipse.higgins.icard.auth.ICredentialDescriptor


Field Summary
 
Fields inherited from interface org.eclipse.higgins.icard.auth.ICredentialDescriptor
KERBEROS_V5_CREDENTIAL, SELF_ISSUED_CREDENTIAL, USERNAME_PASSWORD_CREDENTIAL, X509V3_CREDENTIAL
 
Constructor Summary
CredentialDescriptor(String hint, Element credential)
           
CredentialDescriptor(String hint, String credential)
           
CredentialDescriptor(String hint, String type, org.eclipse.higgins.icard.auth.ICredential credential)
           
 
Method Summary
 Element asXML()
           
 org.eclipse.higgins.icard.auth.ICredential getCredential()
           
 String getDisplayCredentialHint()
           
 String getType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialDescriptor

public CredentialDescriptor(String hint,
                            String credential)
                     throws ParserConfigurationException,
                            SAXException,
                            IOException,
                            IllegalArgumentException,
                            org.eclipse.higgins.icard.CardException
Parameters:
hint -
credential -
Throws:
ParserConfigurationException
SAXException
IOException
IllegalArgumentException
org.eclipse.higgins.icard.CardException

CredentialDescriptor

public CredentialDescriptor(String hint,
                            Element credential)
                     throws IllegalArgumentException,
                            org.eclipse.higgins.icard.CardException
Parameters:
hint -
credential -
Throws:
IllegalArgumentException
org.eclipse.higgins.icard.CardException

CredentialDescriptor

public CredentialDescriptor(String hint,
                            String type,
                            org.eclipse.higgins.icard.auth.ICredential credential)
                     throws IllegalArgumentException,
                            org.eclipse.higgins.icard.CardException
Parameters:
hint -
credential -
Throws:
IllegalArgumentException
org.eclipse.higgins.icard.CardException
Method Detail

getType

public String getType()
Specified by:
getType in interface org.eclipse.higgins.icard.auth.ICredentialDescriptor

getDisplayCredentialHint

public String getDisplayCredentialHint()
Specified by:
getDisplayCredentialHint in interface org.eclipse.higgins.icard.auth.ICredentialDescriptor

asXML

public Element asXML()
Specified by:
asXML in interface org.eclipse.higgins.icard.auth.ICredentialDescriptor

getCredential

public org.eclipse.higgins.icard.auth.ICredential getCredential()
Specified by:
getCredential in interface org.eclipse.higgins.icard.auth.ICredentialDescriptor