Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.3.0)

E17486-04


oracle.adf.share.security.credentialstore
Class CredentialStore

java.lang.Object
  extended by oracle.adf.share.security.credentialstore.CredentialStore


public class CredentialStore
extends java.lang.Object

Internal: Applications should not use this class. CredentialStore is the runtime interface to a credential storage for the current user. It delegates fetching, storing and removing of credentials to the underlying storage.


Constructor Summary
CredentialStore()
          Internal: Applications should not use this method. Constructor for a credential store.
CredentialStore(java.lang.String contextName)
          Internal: Applications should not use this method. Constructor for a credential store of a specific provider class.

 

Method Summary
 Credential fetchCredential(java.lang.String credKey)
          Internal: Applications should not use this method. Returns the credential for the specified credential key.
 Credential fetchCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Returns the credential for the specified credential key.
 java.io.Serializable fetchSerializableCredential(java.lang.String credKey)
          Internal: Applications should not use this method. Returns the serializable credential for the specified credential key.
 java.io.Serializable fetchSerializableCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Returns the serializable credential for the specified credential key.
 java.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String credKey)
          Internal: Applications should not use this method. Returns the serializable credential for the specified credential key for the current user.
 java.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Returns the serializable credential for the specified credential key for the current user.
 Credential fetchSessionCredential(java.lang.String credKey)
          Internal: Applications should not use this method. Returns the session credential for the specifier credential key.
 Credential fetchSessionCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Returns the session credential for the specifier credential key.
 void removeCredential(java.lang.String credKey)
          Internal: Applications should not use this method. Removes the credential specified by the credential key.
 void removeCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Removes the credential specified by the credential key.
 void storeCredential(Credential cred, java.lang.String credKey)
          Internal: Applications should not use this method. Adds or replace the credential in the store for the given credential key.
 void storeCredential(Credential cred, java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Adds or replace the credential in the store for the given credential key.
 void storeSessionCredential(Credential cred, java.lang.String credKey)
          Internal: Applications should not use this method. Adds or replace a session credential for the given credential key.
 void storeSessionCredential(Credential cred, java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Adds or replace a session credential for the given credential key.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

CredentialStore

public CredentialStore()
Internal: Applications should not use this method. Constructor for a credential store. It get an instance of credential store from an internal context that loads a configuration file containing properties of credential storage provider.

CredentialStore

public CredentialStore(java.lang.String contextName)
Internal: Applications should not use this method. Constructor for a credential store of a specific provider class.
Parameters:
context - name

Method Detail

storeCredential

public void storeCredential(Credential cred,
                            java.lang.String credKey)
Internal: Applications should not use this method. Adds or replace the credential in the store for the given credential key.
Parameters:
cred - the credential value
credKey - the credential key

storeCredential

public void storeCredential(Credential cred,
                            java.lang.String mapName,
                            java.lang.String adfCredKey,
                            java.lang.String credKey)
Internal: Applications should not use this method. Adds or replace the credential in the store for the given credential key.
Parameters:
cred - the credential value
mapName - the ADF cred map name
adfCredKey - the ADF cred key value
credKey - the credential key

storeSessionCredential

public void storeSessionCredential(Credential cred,
                                   java.lang.String credKey)
Internal: Applications should not use this method. Adds or replace a session credential for the given credential key.
Parameters:
cred - the credential value
credKey - the credential key

storeSessionCredential

public void storeSessionCredential(Credential cred,
                                   java.lang.String mapName,
                                   java.lang.String adfCredKey,
                                   java.lang.String credKey)
Internal: Applications should not use this method. Adds or replace a session credential for the given credential key.
Parameters:
cred - the credential value
mapName - the ADF cred map name
adfCredKey - the ADF cred key value
credKey - the credential key

fetchSessionCredential

public Credential fetchSessionCredential(java.lang.String credKey)
                                  throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the session credential for the specifier credential key.
Parameters:
credKey - the credential key.
Returns:
a valid credential
Throws:
CredentialNotFoundException - when the credential for the key cannot be found

fetchSessionCredential

public Credential fetchSessionCredential(java.lang.String mapName,
                                         java.lang.String adfCredKey,
                                         java.lang.String credKey)
                                  throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the session credential for the specifier credential key.
Parameters:
credKey - the credential key.
mapName - the ADF cred map name
adfCredKey - the ADF cred key value
Returns:
a valid credential
Throws:
CredentialNotFoundException - when the credential for the key cannot be found

fetchCredential

public Credential fetchCredential(java.lang.String credKey)
                           throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the credential for the specified credential key.
Parameters:
credKey - the credential key
Returns:
a valid credential
Throws:
CredentialNotFoundException - when the credential for the key cannot be found

fetchCredential

public Credential fetchCredential(java.lang.String mapName,
                                  java.lang.String adfCredKey,
                                  java.lang.String credKey)
                           throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the credential for the specified credential key.
Parameters:
credKey - the credential key
mapName - the ADF cred map name
adfCredKey - the ADF cred key value
Returns:
a valid credential
Throws:
CredentialNotFoundException - when the credential for the key cannot be found

fetchSerializableCredential

public java.io.Serializable fetchSerializableCredential(java.lang.String credKey)
                                                 throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the serializable credential for the specified credential key.
Parameters:
credKey - the credential key
Returns:
a valid credential
Throws:
CredentialNotFoundException - when the credential for the key cannot be found

fetchSerializableCredential

public java.io.Serializable fetchSerializableCredential(java.lang.String mapName,
                                                        java.lang.String adfCredKey,
                                                        java.lang.String credKey)
                                                 throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the serializable credential for the specified credential key.
Parameters:
credKey - the credential key
mapName - the ADF cred map name
adfCredKey - the ADF cred key value
Returns:
a valid credential
Throws:
CredentialNotFoundException - when the credential for the key cannot be found

fetchSerializableCredentialForCurrentUser

public java.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String credKey)
                                                               throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the serializable credential for the specified credential key for the current user.
Parameters:
credKey - the credential key
Returns:
a valid credential
Throws:
CredentialNotFoundException - when the credential for the key cannot be found

fetchSerializableCredentialForCurrentUser

public java.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String mapName,
                                                                      java.lang.String adfCredKey,
                                                                      java.lang.String credKey)
                                                               throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the serializable credential for the specified credential key for the current user.
Parameters:
credKey - the credential key
mapName - the ADF cred map name
adfCredKey - the ADF cred key value
Returns:
a valid credential
Throws:
CredentialNotFoundException - when the credential for the key cannot be found

removeCredential

public void removeCredential(java.lang.String credKey)
                      throws CredentialNotFoundException
Internal: Applications should not use this method. Removes the credential specified by the credential key.
Parameters:
credKey - the credential key
Throws:
CredentialNotFoundException - when the credential for the key cannot be found

removeCredential

public void removeCredential(java.lang.String mapName,
                             java.lang.String adfCredKey,
                             java.lang.String credKey)
                      throws CredentialNotFoundException
Internal: Applications should not use this method. Removes the credential specified by the credential key.
Parameters:
credKey - the credential key
mapName - the ADF cred map name
adfCredKey - the ADF cred key value
Throws:
CredentialNotFoundException - when the credential for the key cannot be found

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.3.0)

E17486-04


Copyright © 1997, 2012, Oracle. All rights reserved.