|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.4.0) E17486-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adf.share.security.credentialstore.spi.GenericCredentialStore
oracle.adf.share.security.ADFNoCredentialSupportStore
public class ADFNoCredentialSupportStore
This class is mainly used for handle usercases like: in GlassFish, OPSS credential management is not supported, but keep ADF framework not broken. This empty credential store impl will do the NOOP for all credential retrieve/update/remove/save methods.
| Field Summary |
|---|
| Fields inherited from class oracle.adf.share.security.credentialstore.spi.GenericCredentialStore |
|---|
_applicationUser, _contextName, MAP_CREDENTIAL_SEPARATOR |
| Constructor Summary | |
|---|---|
ADFNoCredentialSupportStore()
|
|
ADFNoCredentialSupportStore(java.lang.String ctxName)
|
|
| Method Summary | |
|---|---|
Credential |
fetchCredential(java.lang.String credKey)
Internal: Applications should not use this method. Retrieves 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. Retrieves 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 |
fetchSerializableCredentialForCurrentUser(java.lang.String credKey)
Internal: Applications should not use this method. Returns the serializable credential for the specified credential key for current user. |
java.lang.String |
getApplicationUserName()
Internal: Applications should not use this method. |
void |
initialize(java.util.Hashtable props)
Internal: Applications should not use this method. Initializes the credentialstore from the properties. |
void |
removeCredential(java.lang.String credKey)
Internal: Applications should not use this method. Removes the credential specified credential idebtifier. |
void |
removeCredential(java.lang.String credKey,
java.security.Principal principal)
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,
java.security.Principal principal)
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. Store the credential using the specify credential key. |
void |
storeCredential(Credential cred,
java.lang.String credKey,
java.security.Principal principal)
Internal: Applications should not use this method. Store the credential for the specified credential key and principal. |
void |
storeCredential(Credential cred,
java.lang.String mapName,
java.lang.String adfCredKey,
java.lang.String credKey,
java.security.Principal principal)
Internal: Applications should not use this method. Store the credential for the specified credential key and principal. |
void |
storeSerializableCredential(java.io.Serializable cred,
java.lang.String credKey,
java.security.Principal principal)
Internal: Applications should not use this method. Store the credential for the specified credential key and principal. |
void |
storeSerializableCredential(java.io.Serializable cred,
java.lang.String mapName,
java.lang.String adfCredKey,
java.lang.String credKey,
java.security.Principal principal)
Internal: Applications should not use this method. Store the credential for the specified credential key and principal. |
| Methods inherited from class oracle.adf.share.security.credentialstore.spi.GenericCredentialStore |
|---|
fetchSerializableCredential, fetchSerializableCredentialForCurrentUser, getCredStoreAbsoluteLocation, getDefaultUser, getSecurityContext, getUserPrincipal, removeCredential, storeCredential |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ADFNoCredentialSupportStore()
public ADFNoCredentialSupportStore(java.lang.String ctxName)
| Method Detail |
|---|
public void initialize(java.util.Hashtable props)
GenericCredentialStore
initialize in interface CredentialStorageinitialize in class GenericCredentialStoreprops - the properties to initialize with
public void storeCredential(Credential cred,
java.lang.String credKey)
GenericCredentialStore
storeCredential in interface CredentialStoragestoreCredential in class GenericCredentialStorecred - the crdential to be storedcredKey - the credential key
public Credential fetchCredential(java.lang.String credKey)
throws CredentialNotFoundException
GenericCredentialStore
fetchCredential in interface CredentialStoragefetchCredential in class GenericCredentialStorecredKey - the credential key
null if not found
CredentialNotFoundException - if the credential for the given key
cannot be found
public Credential fetchCredential(java.lang.String mapName,
java.lang.String adfCredKey,
java.lang.String credKey)
throws CredentialNotFoundException
GenericCredentialStore
fetchCredential in interface CredentialStorage2fetchCredential in class GenericCredentialStoremapName - the map nameadfCredKey - ADF cred keycredKey - the credential key
null if not found
CredentialNotFoundException - if the credential for the given key
cannot be found
public java.io.Serializable fetchSerializableCredential(java.lang.String credKey)
throws CredentialNotFoundException
GenericCredentialStore
fetchSerializableCredential in interface CredentialStoragefetchSerializableCredential in class GenericCredentialStorecredKey - the credential key
null if not found
CredentialNotFoundException - if the credential for the given key
cannot be found
public java.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String credKey)
throws CredentialNotFoundException
GenericCredentialStore
fetchSerializableCredentialForCurrentUser in interface CredentialStoragefetchSerializableCredentialForCurrentUser in class GenericCredentialStorecredKey - the credential key
null if not found
CredentialNotFoundException - if the credential for the given key
cannot be foundpublic java.lang.String getApplicationUserName()
GenericCredentialStore
getApplicationUserName in class GenericCredentialStore
public void removeCredential(java.lang.String credKey)
throws CredentialNotFoundException
GenericCredentialStore
removeCredential in interface CredentialStorageremoveCredential in class GenericCredentialStorecredKey - the credential key
CredentialNotFoundException - if the credential for the given key
cannot be found
public void storeCredential(Credential cred,
java.lang.String mapName,
java.lang.String adfCredKey,
java.lang.String credKey,
java.security.Principal principal)
CredentialProvisioning2
storeCredential in interface CredentialProvisioning2cred - the credentialmapName - the map nameadfCredKey - ADF cred keycredKey - the credential keyprincipal - the user or role principal
public void storeSerializableCredential(java.io.Serializable cred,
java.lang.String mapName,
java.lang.String adfCredKey,
java.lang.String credKey,
java.security.Principal principal)
CredentialProvisioning2
storeSerializableCredential in interface CredentialProvisioning2cred - the serializable credentialmapName - the map nameadfCredKey - ADF cred keycredKey - the credential keyprincipal - the user or role principal
public void removeCredential(java.lang.String mapName,
java.lang.String adfCredKey,
java.lang.String credKey,
java.security.Principal principal)
throws CredentialNotFoundException
CredentialProvisioning2
removeCredential in interface CredentialProvisioning2mapName - the map nameadfCredKey - ADF cred keycredKey - the credential keyprincipal - the user or role principal
CredentialNotFoundException - if the credential does not exist for
the given key
public void storeCredential(Credential cred,
java.lang.String credKey,
java.security.Principal principal)
CredentialProvisioning
storeCredential in interface CredentialProvisioningcred - the credentialcredKey - the credential keyprincipal - the user or role principal
public void storeSerializableCredential(java.io.Serializable cred,
java.lang.String credKey,
java.security.Principal principal)
CredentialProvisioning
storeSerializableCredential in interface CredentialProvisioningcred - the serializable credentialcredKey - the credential keyprincipal - the user or role principal
public void removeCredential(java.lang.String credKey,
java.security.Principal principal)
throws CredentialNotFoundException
CredentialProvisioning
removeCredential in interface CredentialProvisioningcredKey - the credential keyprincipal - the user or role principal
CredentialNotFoundException - if the credential does not exist for
the given key
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.4.0) E17486-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||