|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserPasswordPassiveCredential
Simple standard interface inherited from the 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 | |
---|---|
char[] |
getPassword()
Returns the password of this credential's secret |
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. |
java.lang.String |
getUserId()
Returns the user ID of this credential's secret |
void |
init(java.util.Map<java.lang.String,java.lang.Object> config)
Initializes a new UserPasswordPassive credential. |
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 Credential
config
- 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 Credential
CredentialVaultService
java.lang.String getUserId()
char[] getPassword()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |