Modifier and Type | Field and Description |
---|---|
private final List | |
private Vector | |
private static final boolean | |
public PrincipalName | |
public Tag | |
public int |
Access | Constructor and Description |
---|---|
private |
configEntries | back to summary |
---|---|
private final List<CredentialsCache. |
credentialsList | back to summary |
---|---|
private Vector<Credentials> credentialsList |
DEBUG | back to summary |
---|---|
private static final boolean DEBUG |
primaryPrincipal | back to summary |
---|---|
public PrincipalName primaryPrincipal |
tag | back to summary |
---|---|
public Tag tag |
version | back to summary |
---|---|
public int version |
FileCredentialsCache | back to summary |
---|---|
private FileCredentialsCache() |
acquireInstance | back to summary |
---|---|
public static synchronized FileCredentialsCache acquireInstance(PrincipalName principal, String cache) |
acquireInstance | back to summary |
---|---|
public static FileCredentialsCache acquireInstance() |
addConfigEntry | back to summary |
---|---|
public void addConfigEntry(CredentialsCache. Implements abstract sun.
|
checkValidation | back to summary |
---|---|
public static String checkValidation(String name) |
exec | back to summary |
---|---|
private static String exec(String c) |
exists | back to summary |
---|---|
pack-priv boolean exists(String cache) |
getConfigEntries | back to summary |
---|---|
public List Implements abstract sun.
|
getCreds | back to summary |
---|---|
public Credentials getCreds(LoginOptions options, PrincipalName sname) Implements abstract sun. |
getCreds | back to summary |
---|---|
public Credentials getCreds(PrincipalName sname) Implements abstract sun. Gets a credentials for a specified service.
|
getCredsList | back to summary |
---|---|
public synchronized Credentials[] getCredsList() Implements abstract sun. Returns the list of credentials entries in the cache file. |
getDefaultCacheName | back to summary |
---|---|
public static String getDefaultCacheName() |
getDefaultCreds | back to summary |
---|---|
public Credentials getDefaultCreds() Implements abstract sun. |
getInitialCreds | back to summary |
---|---|
public Credentials getInitialCreds() Implements abstract sun. |
getPrimaryPrincipal | back to summary |
---|---|
public synchronized PrincipalName getPrimaryPrincipal() Implements abstract sun. |
init | back to summary |
---|---|
pack-priv synchronized void init(PrincipalName principal, String name) throws IOException, KrbException |
load | back to summary |
---|---|
pack-priv synchronized void load(String name) throws IOException, KrbException |
match | back to summary |
---|---|
pack-priv boolean match(String[] s1, String[] s2) |
New | back to summary |
---|---|
pack-priv static synchronized FileCredentialsCache New(PrincipalName principal, String name) |
New | back to summary |
---|---|
pack-priv static synchronized FileCredentialsCache New(PrincipalName principal) |
save | back to summary |
---|---|
public synchronized void save() throws IOException, Asn1Exception Implements abstract sun. Saves the credentials cache file to the disk. |
update | back to summary |
---|---|
public synchronized void update(Credentials c) Implements abstract sun. Updates the credentials list. If the specified credentials for the service is new, add it to the list. If there is an entry in the list, replace the old credentials with the new one.
|