|
||||||||||
| 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 CredCacheInterfacecreds - Credentialspublic void addServiceCredentials(Credentials creds)
addServiceCredentials in interface CredCacheInterfacecreds - Credentialspublic Credentials getInitialCredentials()
getInitialCredentials in interface CredCacheInterfacepublic Credentials getServiceCredentials(java.lang.String principalName)
getServiceCredentials in interface CredCacheInterfaceprincipalName - String
public boolean destroyInitialCredentials()
destroyInitialCredentials in interface CredCacheInterfacepublic boolean destroyServiceCredentials(java.lang.String principalName)
destroyServiceCredentials in interface CredCacheInterfaceprincipalName - String
public Credentials[] getAllCredentials()
getAllCredentials in interface CredCacheInterfacepublic boolean store(java.lang.String fileName)
store in interface CredCacheInterfacefileName - String
public boolean restore(java.lang.String fileName)
restore in interface CredCacheInterfacefileName - String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||