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

All Superinterfaces:
CredentialSecret

public interface JaasSubjectCredentialSecret
extends CredentialSecret

Implementation of the CredentialSecret class for secrets in form of a Jaas Subject.

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
 javax.security.auth.Subject getSecret()
          Returns the secret.
 int getType()
          Returns the type of the secret.
 void setSecret(javax.security.auth.Subject 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

javax.security.auth.Subject getSecret()
Returns the secret.

Returns:
The secret.

setSecret

void setSecret(javax.security.auth.Subject secret)
Sets the secret.

Parameters:
secret - The secret.