Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.security.jps.service.credstore
Interface CredentialStore

All Superinterfaces:
JpsPersistable, ServiceInstance
All Known Implementing Classes:
CredentialStoreImpl

public interface CredentialStore
extends ServiceInstance


Field Summary
static java.lang.Class CLASS_INSTANCE
           
 
Method Summary
 boolean containsCredential(java.lang.String mapName, java.lang.String key)
           
 boolean containsMap(java.lang.String mapName)
           
 void deleteAllCredentials()
           
 void deleteCredential(java.lang.String mapName, java.lang.String key)
           
 void deleteCredentialMap(java.lang.String mapName)
           
 Credential getCredential(java.lang.String mapName, java.lang.String key)
           
 CredentialMap getCredentialMap(java.lang.String mapName)
           
 Set getMapNames()
           
 Map getProperties()
           
 void resetCredential(java.lang.String mapName, java.lang.String key, Credential credential)
           
 void resetCredentialMap(java.lang.String mapName, CredentialMap credentialMap)
           
 void setCredential(java.lang.String mapName, java.lang.String key, Credential credential)
           
 void setCredentialMap(java.lang.String mapName, CredentialMap credentialMap)
           
 java.lang.String toString()
           
 
Methods inherited from interface oracle.security.jps.service.ServiceInstance
accept, getName
 
Methods inherited from interface oracle.security.jps.service.JpsPersistable
persist, refresh
 

Field Detail

CLASS_INSTANCE

static final java.lang.Class CLASS_INSTANCE
Method Detail

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()

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.