|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BinaryPassiveCredential
Simple standard interface of a passive credential for binary credential secrets. 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 | |
|---|---|
byte[] |
getSecret()
Returns the user's secret as an byte array. |
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 binary passive 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 Credentialconfig - The configuration needed to initialize this credential:
CredentialVaultException - If any mandatory parameter is missing or has a wrong object type as value.byte[] getSecret()
int getSecretType()
Credential
getSecretType in interface CredentialCredentialVaultService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||