|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adf.share.security.credentialstore.CredentialStoreContext
public class CredentialStoreContext
Internal: Applications should not use this class. This class provide the starting point for getting CredentialStore related objects and a centralized place for managing CredentialStore properties.
| Field Summary | |
|---|---|
static java.lang.String |
SESSION_CREDENTIALS
|
| Constructor Summary | |
|---|---|
CredentialStoreContext(java.util.Hashtable env)
|
|
| Method Summary | |
|---|---|
static void |
checkSerializable(java.lang.String className,
java.lang.String methodName,
Credential cred,
java.lang.String credKey)
Checks if the given credential passes is serializable or not. |
static Credential |
fetchSessionCredential(java.lang.String credKey)
Internal: Applications should not use this method. Fetch the session credential of the specified credential key. |
CredentialProvisioning |
getCredentialProvisioner(java.lang.String providerClassName)
Internal: Applications should not use this method. Gets the credential provisioner specified by the provider class name. |
CredentialStorage |
getCredentialStorage(java.lang.String contextName)
Internal: Applications should not use this method. Gets the credential store provider for the specified provider type. |
CredentialStorage |
getCredentialStoreProvider(java.lang.String providerClassName)
Internal: Applications should not use this method. Gets the credential store provider for the specified provider type. |
CredentialProvisioning |
getDefaultCredentialProvisioner()
Internal: Applications should not use this method. Gets the default credential provisioner. |
CredentialStorage |
getDefaultCredentialStoreProvider()
Internal: Applications should not use this method. Gets the default credential store. |
static CredentialStoreContext |
getInstance()
Internal: Applications should not use this method. Instantiates a CredentialStore context. |
void |
initialize(java.util.Properties props)
Deprecated. Deprecated since 11.1.1.0. |
static void |
storeSessionCredential(Credential cred,
java.lang.String credKey)
Internal: Applications should not use this method. Stores the session credential. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SESSION_CREDENTIALS
| Constructor Detail |
|---|
public CredentialStoreContext(java.util.Hashtable env)
| Method Detail |
|---|
public static CredentialStoreContext getInstance()
public void initialize(java.util.Properties props)
props - the properties to initializepublic CredentialStorage getDefaultCredentialStoreProvider()
public CredentialProvisioning getDefaultCredentialProvisioner()
public CredentialProvisioning getCredentialProvisioner(java.lang.String providerClassName)
providerClassName - the class name of the provider
public CredentialStorage getCredentialStoreProvider(java.lang.String providerClassName)
providerClassName - the class name of the provider
public CredentialStorage getCredentialStorage(java.lang.String contextName)
providerClassName - the class name of the provider
public static void storeSessionCredential(Credential cred,
java.lang.String credKey)
cred - the credential to be storedcredKey - the key of the credential
public static Credential fetchSessionCredential(java.lang.String credKey)
throws CredentialNotFoundException
credKey - the credential key
CredentialNotFoundException - if the credential for the given key
cannot be found
public static void checkSerializable(java.lang.String className,
java.lang.String methodName,
Credential cred,
java.lang.String credKey)
className - Class Name where this check is mademethodName - Method Name where this check is madecred - Credential to be checkedcredKey - Identifier for the credential
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||