|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimplePassiveCredential
Simple standard implementation of PassiveCredential. This credential is only a container of the user's secret. Portlets may call the getSecret() method in order to obtain and work with this secret.
| Field Summary |
|---|
| Fields inherited from interface com.ibm.portal.portlet.service.credentialvault.credentials.Credential |
|---|
KEY_CREDENTIAL_SECRET |
| Method Summary | |
|---|---|
java.lang.Object |
getSecret()
Returns the user's secret as an object. |
int |
getSecretType()
Returns the credential's Secret Type in terms of the constants declared in the Credential Vault Portlet Service. Should be overwritten by any child class that "overwrites" the secret attribute. |
void |
init(java.util.Map<java.lang.String,java.lang.Object> config)
Initializes a new SimplePassiveCredential. |
| Methods inherited from interface com.ibm.portal.portlet.service.credentialvault.credentials.PassiveCredential |
|---|
isActive |
| Method Detail |
|---|
void init(java.util.Map<java.lang.String,java.lang.Object> config)
throws CredentialVaultException
init in interface Credentialconfig - The configuration needed to initialize this credential:
CredentialVaultException - If any mandatory parameter is missing or has a wrong object type as value.int getSecretType()
Credential
getSecretType in interface CredentialCredentialVaultServicejava.lang.Object getSecret()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||