com.ibm.portal.portlet.service.credentialvault.spi.secrets
Interface UserPasswordCredentialSecret
- All Superinterfaces:
- CredentialSecret
-
public interface UserPasswordCredentialSecret
- extends CredentialSecret
Implementation of the CredentialSecret class for a userid/password secret.
- Since:
- 5.1.0.1
Method Summary
|
char[] |
getPassword()
Return the password. |
int |
getType()
Return the type of the secret. |
java.lang.String |
getUserId()
Return the userId. |
void |
setSecret(java.lang.String userId,
char[] password)
Sets the secret. |
getType
int getType()
- Returns the type of the secret.
- Specified by:
- getType in interface CredentialSecret
- Returns:
- The credential Secret Type identifier.
getUserId
java.lang.String getUserId()
- Returns the userId.
- Returns:
- The userId.
getPassword
char[] getPassword()
- Returns the password.
- Returns:
- The password.
setSecret
void setSecret(java.lang.String userId,
char[] password)
- Sets the secret.
- Parameters:
- userId - The userId.
- password - The password.