public abstract class

CredentialsCache

extends Object
java.lang.Object
   ↳ sun.security.mule.krb5.internal.ccache.CredentialsCache
Known Direct Subclasses

Class Overview

CredentialsCache stores credentials(tickets, session keys, etc) in a semi-permanent store for later use by different program.

Summary

Fields
private static boolean DEBUG
static String cacheName
static CredentialsCache singleton
Public Constructors
CredentialsCache()
Public Methods
static String cacheName()
static CredentialsCache create(PrincipalName principal)
static CredentialsCache create(PrincipalName principal, String name)
abstract Credentials getCreds(PrincipalName sname, Realm srealm)
abstract Credentials getCreds(LoginOptions options, PrincipalName sname, Realm srealm)
abstract Credentials[] getCredsList()
abstract Credentials getDefaultCreds()
static CredentialsCache getInstance()
Gets the default credentials cache.
static CredentialsCache getInstance(PrincipalName principal, String cache)
static CredentialsCache getInstance(PrincipalName principal)
static CredentialsCache getInstance(String cache)
abstract PrincipalName getPrimaryPrincipal()
abstract void save()
abstract void update(Credentials c)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private static boolean DEBUG

static String cacheName

static CredentialsCache singleton

Public Constructors

public CredentialsCache ()

Public Methods

public static String cacheName ()

public static CredentialsCache create (PrincipalName principal)

Parameters
principal

public static CredentialsCache create (PrincipalName principal, String name)

Parameters
principal
name

public abstract Credentials getCreds (PrincipalName sname, Realm srealm)

Parameters
sname
srealm

public abstract Credentials getCreds (LoginOptions options, PrincipalName sname, Realm srealm)

Parameters
options
sname
srealm

public abstract Credentials[] getCredsList ()

public abstract Credentials getDefaultCreds ()

public static CredentialsCache getInstance ()

Gets the default credentials cache.

public static CredentialsCache getInstance (PrincipalName principal, String cache)

Parameters
principal
cache

public static CredentialsCache getInstance (PrincipalName principal)

Parameters
principal

public static CredentialsCache getInstance (String cache)

Parameters
cache

public abstract PrincipalName getPrimaryPrincipal ()

public abstract void save ()

Throws
IOException
KrbException

public abstract void update (Credentials c)

Parameters
c