oracle.ifs.common
Interface Credential

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CleartextCredential, HttpDigestCredential, TokenCredential, ChallengeResponseCredential

public interface Credential
extends java.io.Serializable

A Credential encapsulates the information presented to a CredentialManager to authenticate a user.

A simple Credential may encapsulate only a user's name and password.

The data encapsulated by a Credential must be serializable.


Method Summary
 java.lang.String getName()
          Gets the name of the user.
 

Method Detail


getName


public java.lang.String getName()
                         throws IfsException
Gets the name of the user.
Returns:
the name of the user
Throws:
IfsException - if the operation fails