sun.security.mule.krb5.internal.ccache
Class MemoryCredentialsCache

java.lang.Object
  extended by sun.security.mule.krb5.internal.ccache.CredentialsCache
      extended by sun.security.mule.krb5.internal.ccache.MemoryCredentialsCache

public abstract class MemoryCredentialsCache
extends CredentialsCache

This class extends CredentialsCache. It is used for accessing data in shared memory cache on Windows platforms.

Author:
Yanni Zhang

Constructor Summary
MemoryCredentialsCache()
           
 
Method Summary
abstract  boolean exists(String cache)
           
abstract  Credentials getCreds(PrincipalName sname, Realm srealm)
           
abstract  Credentials[] getCredsList()
           
abstract  PrincipalName getPrimaryPrincipal()
           
abstract  void save()
           
abstract  void update(Credentials c)
           
 
Methods inherited from class sun.security.mule.krb5.internal.ccache.CredentialsCache
cacheName, create, create, getCreds, getDefaultCreds, getInstance, getInstance, getInstance, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryCredentialsCache

public MemoryCredentialsCache()
Method Detail

exists

public abstract boolean exists(String cache)

update

public abstract void update(Credentials c)
Specified by:
update in class CredentialsCache

save

public abstract void save()
                   throws IOException,
                          KrbException
Specified by:
save in class CredentialsCache
Throws:
IOException
KrbException

getCredsList

public abstract Credentials[] getCredsList()
Specified by:
getCredsList in class CredentialsCache

getCreds

public abstract Credentials getCreds(PrincipalName sname,
                                     Realm srealm)
Specified by:
getCreds in class CredentialsCache

getPrimaryPrincipal

public abstract PrincipalName getPrimaryPrincipal()
Specified by:
getPrimaryPrincipal in class CredentialsCache


Copyright © 2013. All Rights Reserved.