Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.ifs.common
Class Credential

All Superinterfaces:
  java.io.Serializable

All Known Implementing Classes:
  ChallengeResponseCredential, CleartextCredential, GssApiCredential, HttpDigestCredential, SystemUserCredential, TokenCredential, TrustedSessionCredential

    public interface class 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.

(Published)

Method Summary
`java.lang.String` | `getName()` Gets the name of the user.
`void` | `setName(java.lang.String name)` Sets the name of the user.

Method Detail

### getName

    java.lang.String getName()
                             throws IfsException

  Description copied from interface: `Credential`
  Gets the name of the user.

  Returns:
    the name of the user
  Throws:
    `IfsException` - (IFS-10187) if the operation fails
  (Published)

### setName

    void setName(java.lang.String name)
                 throws IfsException

  Description copied from interface: `Credential`
  Sets the name of the user.

  Parameters:
    `name` - the name of the user
  Throws:
    `IfsException` - (IFS-10188) if the operation fails
  (Published)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD