|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkrb5.client.ccache.HashtableCacheImpl
public class HashtableCacheImpl
Class Description : Credential cache implementation by hashtable data structure.
Constructor Summary | |
---|---|
HashtableCacheImpl()
Class constructor |
Method Summary | |
---|---|
void |
addInitialCredentials(Credentials creds)
Add initial credentials into cache |
void |
addServiceCredentials(Credentials creds)
Add service credentials into cache |
boolean |
destroyInitialCredentials()
Remove initial credentials from cache |
boolean |
destroyServiceCredentials(java.lang.String principalName)
Remove service credentials from cache |
Credentials[] |
getAllCredentials()
Return all credentials in cache |
Credentials |
getInitialCredentials()
Retrieve initial credentials from cache |
Credentials |
getServiceCredentials(java.lang.String principalName)
Retrieve service credentials from cache |
boolean |
restore(java.lang.String fileName)
Reload credentials from cache.log file |
boolean |
store(java.lang.String fileName)
Store cache contants into cache.log file |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HashtableCacheImpl()
Method Detail |
---|
public void addInitialCredentials(Credentials creds)
addInitialCredentials
in interface CredCacheInterface
creds
- Credentialspublic void addServiceCredentials(Credentials creds)
addServiceCredentials
in interface CredCacheInterface
creds
- Credentialspublic Credentials getInitialCredentials()
getInitialCredentials
in interface CredCacheInterface
public Credentials getServiceCredentials(java.lang.String principalName)
getServiceCredentials
in interface CredCacheInterface
principalName
- String
public boolean destroyInitialCredentials()
destroyInitialCredentials
in interface CredCacheInterface
public boolean destroyServiceCredentials(java.lang.String principalName)
destroyServiceCredentials
in interface CredCacheInterface
principalName
- String
public Credentials[] getAllCredentials()
getAllCredentials
in interface CredCacheInterface
public boolean store(java.lang.String fileName)
store
in interface CredCacheInterface
fileName
- String
public boolean restore(java.lang.String fileName)
restore
in interface CredCacheInterface
fileName
- String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |