com.ibm.portal.portlet.service.credentialvault.spi.secrets
Interface JavaObjectCredentialSecret

All Superinterfaces:
CredentialSecret

public interface JavaObjectCredentialSecret
extends CredentialSecret

Implementation of the CredentialSecret class for a secret in form of a Java Object.

Since:
5.1.0.1

Field Summary
 
Fields inherited from interface com.ibm.portal.portlet.service.credentialvault.spi.secrets.CredentialSecret
TYPE_BYTEARRAY, TYPE_JAAS_SUBJECT, TYPE_JAVA_OBJECT, TYPE_NO_SECRET_DATA, TYPE_UNDEFINED, TYPE_USERID_STRING_PASSWORD_STRING
 
Method Summary
 java.lang.Object getSecret()
          Returns the secret.
 int getType()
          Returns the type of the secret.
 void setSecret(java.lang.Object secret)
          Sets the secret.
 
Methods inherited from interface com.ibm.portal.portlet.service.credentialvault.spi.secrets.CredentialSecret
isInitialized
 

Method Detail

getType

int getType()
Returns the type of the secret.

Specified by:
getType in interface CredentialSecret
Returns:
The credential Secret Type identifier.

getSecret

java.lang.Object getSecret()
Returns the secret.

Returns:
The secret.

setSecret

void setSecret(java.lang.Object secret)
Sets the secret.

Parameters:
secret - The secret.