WebSphere Portal 4.2.1.0

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

java.lang.Object
  |
  +--com.ibm.wps.portletservice.credentialvault.credentials.Credential
        |
        +--com.ibm.wps.portletservice.credentialvault.credentials.ActiveCredential
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BinaryCredential, JaasSubjectCredential, UserPasswordCredential

public abstract class ActiveCredential
extends Credential

An ActiveCredential hides the user's secret from the portlet and does all the authentication (communication) for the portlet. Some of these credentials might provide login() and logout() methods (e.g. HttpFormBasedAuthenticationCredential) but some won't because the protocol doesn't support it (e.g. HttpBasicAuthCredential).
However, all subclasses will usually provide a getAuthenticatedConnection method that will be used by the portlet to get authenticated backend connections to work with.

See Also:
Serialized Form

Fields inherited from class com.ibm.wps.portletservice.credentialvault.credentials.Credential
KEY_CREDENTIAL_SECRET, LOGGER_NAME, secret
 
Constructor Summary
ActiveCredential()
           
 
Method Summary
 boolean isActive()
          Returns whether a credential is active or passive.
 
Methods inherited from class com.ibm.wps.portletservice.credentialvault.credentials.Credential
checkInitialized, getCredentialSlotParameters, getSecretType, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveCredential

public ActiveCredential()
Method Detail

isActive

public final boolean isActive()
Returns whether a credential is active or passive.
Overrides:
isActive in class Credential
Returns:
boolean always "true"

WebSphere Portal 4.2.1.0