Overview  Package   Class  Tree  Serialized  Deprecated  Index  Help 

com.ibm.wps.portletservice.credentialvault.credentials
Class JaasSubjectPassiveCredential

java.lang.Object
  extended bycom.ibm.wps.portletservice.credentialvault.credentials.Credential
      extended bycom.ibm.wps.portletservice.credentialvault.credentials.PassiveCredential
          extended bycom.ibm.wps.portletservice.credentialvault.credentials.JaasSubjectPassiveCredential
All Implemented Interfaces:
Credential, JaasSubjectPassiveCredential, PassiveCredential, java.io.Serializable

Deprecated. since 5.1.0.1, use the Java Portlet API and corresponding IBM portlet services instead

public class JaasSubjectPassiveCredential
extends PassiveCredential
implements JaasSubjectPassiveCredential

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.

Since:
WP 5.1.0.1
See Also:
Serialized Form

Field Summary
protected  JaasSubjectCredentialSecret secret
          Deprecated.  
 

Fields inherited from class com.ibm.wps.portletservice.credentialvault.credentials.Credential
LOGGER_NAME
 

Fields inherited from interface com.ibm.portal.portlet.service.credentialvault.credentials.Credential
KEY_CREDENTIAL_SECRET
 

Constructor Summary
JaasSubjectPassiveCredential()
          Deprecated.  
 

Method Summary
 javax.security.auth.Subject getSecret()
          Deprecated. Returns the user's secret as an Jaas Subject.
 int getSecretType()
          Deprecated. Returns credential's Secret Type in terms of the constants declared in (@link CredentialSecret)
Should be overwritten by any child class that "overwrites" the secret attribute.
 void java.util.Map)">init(java.util.Map config)
          Deprecated. Creates a new JaasSubjectPassive credential.
 

Methods inherited from class com.ibm.wps.portletservice.credentialvault.credentials.PassiveCredential
isActive
 

Methods inherited from class com.ibm.wps.portletservice.credentialvault.credentials.Credential
checkInitialized
 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Methods inherited from interface com.ibm.portal.portlet.service.credentialvault.credentials.PassiveCredential
isActive
 

Field Detail

secret

protected JaasSubjectCredentialSecret secret
Deprecated. 

Constructor Detail

JaasSubjectPassiveCredential

public JaasSubjectPassiveCredential()
Deprecated. 

Method Detail
java.util.Map)">

init

public void init(java.util.Map config)
          throws CredentialVaultException
Deprecated. 
Creates a new JaasSubjectPassive credential.

Specified by:
java.util.Map)">init in interface JaasSubjectPassiveCredential
Overrides:
init in class Credential
Parameters:
config - Configuration data that is needed to initialize the credential. What parameters are needed is specific to the actual credential type.
Generally, this data is collected from three different sources:
  1. The credential's client (usually the portlet) specifies backend application specific parameters (like e.g. 'login url')
  2. The portal's credential configuration store delivers credential slot specific parameters
  3. The actual credential store contributes the credential secret
Throws:
CredentialVaultException - If any mandatory parameter is missing or has a wrong object type as value.

getSecretType

public int getSecretType()
Deprecated. 
Returns credential's Secret Type in terms of the constants declared in (@link CredentialSecret)
Should be overwritten by any child class that "overwrites" the secret attribute.

Specified by:
getSecretType in interface JaasSubjectPassiveCredential
Overrides:
getSecretType in class Credential
Returns:
int Credential Secret type identifier

getSecret

public javax.security.auth.Subject getSecret()
Deprecated. 
Returns the user's secret as an Jaas Subject.

Specified by:
getSecret in interface JaasSubjectPassiveCredential
Returns:
Subject The user's secret

Overview  Package   Class  Tree  Serialized  Deprecated  Index  Help 

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.