com.webmethods.caf.faces.bean
Class Credentials

java.lang.Object
  extended by com.webmethods.caf.faces.bean.PageFlowScopeAdapter
      extended by com.webmethods.caf.faces.bean.Credentials
All Implemented Interfaces:
IPageFlowScopeAdapter
Direct Known Subclasses:
BindableCredentials

public class Credentials
extends PageFlowScopeAdapter

Adapter to enable populating credentials via binding expressions.


Field Summary
protected  String fImpersonated
          The user to impersonate.
protected  String fPassword
          The Password.
protected  String fUserId
          The User ID.
 
Fields inherited from class com.webmethods.caf.faces.bean.PageFlowScopeAdapter
fExpireWithPageFlow
 
Constructor Summary
Credentials()
           
 
Method Summary
 String getPassword()
          Returns the Password.
 String getUserId()
          Returns the User ID.
 String getUserToImpersonate()
          Retrieve the user to impersonate
 void setPassword(String password)
          Sets the password.
 void setUserId(String userId)
          Sets the User ID.
 void setUserToImpersonate(String userID)
          Sets User ID to impersonate.
 
Methods inherited from class com.webmethods.caf.faces.bean.PageFlowScopeAdapter
getExpireWithPageFlow, setExpireWithPageFlow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fUserId

protected String fUserId
The User ID.


fPassword

protected String fPassword
The Password.


fImpersonated

protected String fImpersonated
The user to impersonate.

Constructor Detail

Credentials

public Credentials()
Method Detail

getUserId

public String getUserId()
Returns the User ID.

Returns:
the userId

setUserId

public void setUserId(String userId)
Sets the User ID.

Parameters:
userId - the userId to set

getPassword

public String getPassword()
Returns the Password.

Returns:
the password

setPassword

public void setPassword(String password)
Sets the password.

Parameters:
password - the password to set

getUserToImpersonate

public String getUserToImpersonate()
Retrieve the user to impersonate

Returns:
the User ID.

setUserToImpersonate

public void setUserToImpersonate(String userID)
Sets User ID to impersonate.

Parameters:
userID - to impersonate