oracle.security.jps.service.credstore
Interface CredentialStore
- All Superinterfaces:
- JpsPersistable, ServiceInstance
- All Known Implementing Classes:
- CredentialStoreImpl
public interface CredentialStore
- extends ServiceInstance
CLASS_INSTANCE
static final java.lang.Class CLASS_INSTANCE
containsMap
boolean containsMap(java.lang.String mapName)
throws CredStoreException
- Throws:
CredStoreException
containsCredential
boolean containsCredential(java.lang.String mapName,
java.lang.String key)
throws CredStoreException
- Throws:
CredStoreException
getMapNames
Set getMapNames()
throws CredStoreException
- Throws:
CredStoreException
getCredential
Credential getCredential(java.lang.String mapName,
java.lang.String key)
throws CredentialExpiredException,
CredStoreException
- Throws:
CredentialExpiredException
CredStoreException
getCredentialMap
CredentialMap getCredentialMap(java.lang.String mapName)
throws CredStoreException
- Throws:
CredStoreException
setCredential
void setCredential(java.lang.String mapName,
java.lang.String key,
Credential credential)
throws CredentialInvalidException,
CredentialAlreadyExistsException,
CredStoreException
- Throws:
CredentialInvalidException
CredentialAlreadyExistsException
CredStoreException
resetCredential
void resetCredential(java.lang.String mapName,
java.lang.String key,
Credential credential)
throws CredentialInvalidException,
CredStoreException
- Throws:
CredentialInvalidException
CredStoreException
setCredentialMap
void setCredentialMap(java.lang.String mapName,
CredentialMap credentialMap)
throws CredentialInvalidException,
CredentialAlreadyExistsException,
CredStoreException
- Throws:
CredentialInvalidException
CredentialAlreadyExistsException
CredStoreException
resetCredentialMap
void resetCredentialMap(java.lang.String mapName,
CredentialMap credentialMap)
throws CredentialInvalidException,
CredStoreException
- Throws:
CredentialInvalidException
CredStoreException
deleteCredential
void deleteCredential(java.lang.String mapName,
java.lang.String key)
throws CredStoreException,
CredentialNotFoundException
- Throws:
CredStoreException
CredentialNotFoundException
deleteCredentialMap
void deleteCredentialMap(java.lang.String mapName)
throws CredStoreException,
CredentialNotFoundException
- Throws:
CredStoreException
CredentialNotFoundException
deleteAllCredentials
void deleteAllCredentials()
throws CredStoreException
- Throws:
CredStoreException
toString
java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getProperties
Map getProperties()
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.