org.eclipse.higgins.icard.auth
Interface ICredentialDescriptor


public interface ICredentialDescriptor


Field Summary
static String KERBEROS_V5_CREDENTIAL
           
static String SELF_ISSUED_CREDENTIAL
           
static String USERNAME_PASSWORD_CREDENTIAL
           
static String X509V3_CREDENTIAL
           
 
Method Summary
 Element asXML()
          Returns XML representation of this user credential object.
 ICredential getCredential()
          Gets an instance of ICredential object which should be used to provide credential information.
 String getDisplayCredentialHint()
          Gets the credential hint to be displayed to the user when asking for his crenentials.
 String getType()
          Gets the type of describing credential object.
 

Field Detail

SELF_ISSUED_CREDENTIAL

public static final String SELF_ISSUED_CREDENTIAL
See Also:
Constant Field Values

X509V3_CREDENTIAL

public static final String X509V3_CREDENTIAL
See Also:
Constant Field Values

KERBEROS_V5_CREDENTIAL

public static final String KERBEROS_V5_CREDENTIAL
See Also:
Constant Field Values

USERNAME_PASSWORD_CREDENTIAL

public static final String USERNAME_PASSWORD_CREDENTIAL
See Also:
Constant Field Values
Method Detail

getType

public String getType()
Gets the type of describing credential object.


getDisplayCredentialHint

public String getDisplayCredentialHint()
Gets the credential hint to be displayed to the user when asking for his crenentials.


asXML

public Element asXML()
Returns XML representation of this user credential object.


getCredential

public ICredential getCredential()
Gets an instance of ICredential object which should be used to provide credential information.