sun.security.mule.krb5.internal.ccache
Class CredentialsCache
java.lang.Object
sun.security.mule.krb5.internal.ccache.CredentialsCache
- Direct Known Subclasses:
- FileCredentialsCache, MemoryCredentialsCache
public abstract class CredentialsCache
- extends Object
CredentialsCache stores credentials(tickets, session keys, etc) in a semi-permanent store
for later use by different program.
- Author:
- Yanni Zhang
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CredentialsCache
public CredentialsCache()
getInstance
public static CredentialsCache getInstance(PrincipalName principal)
getInstance
public static CredentialsCache getInstance(String cache)
getInstance
public static CredentialsCache getInstance(PrincipalName principal,
String cache)
getInstance
public static CredentialsCache getInstance()
- Gets the default credentials cache.
create
public static CredentialsCache create(PrincipalName principal,
String name)
create
public static CredentialsCache create(PrincipalName principal)
cacheName
public static String cacheName()
getPrimaryPrincipal
public abstract PrincipalName getPrimaryPrincipal()
update
public abstract void update(Credentials c)
save
public abstract void save()
throws IOException,
KrbException
- Throws:
IOException
KrbException
getCredsList
public abstract Credentials[] getCredsList()
getDefaultCreds
public abstract Credentials getDefaultCreds()
getCreds
public abstract Credentials getCreds(PrincipalName sname,
Realm srealm)
getCreds
public abstract Credentials getCreds(LoginOptions options,
PrincipalName sname,
Realm srealm)
Copyright © 2013. All Rights Reserved.