Package com.webmethods.caf.faces.bean
Class Credentials
java.lang.Object
com.webmethods.caf.faces.bean.PageFlowScopeAdapter
com.webmethods.caf.faces.bean.Credentials
- All Implemented Interfaces:
IPageFlowScopeAdapter
- Direct Known Subclasses:
BindableCredentials
Adapter to enable populating credentials via binding expressions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The user to impersonate.protected String
The Password.protected String
The User ID.Fields inherited from class com.webmethods.caf.faces.bean.PageFlowScopeAdapter
fExpireWithPageFlow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the Password.Returns the User ID.Retrieve the user to impersonatevoid
setPassword
(String password) Sets the password.void
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
-
Field Details
-
fUserId
The User ID. -
fPassword
The Password. -
fImpersonated
The user to impersonate.
-
-
Constructor Details
-
Credentials
public Credentials()
-
-
Method Details
-
getUserId
Returns the User ID.- Returns:
- the userId
-
setUserId
Sets the User ID.- Parameters:
userId
- the userId to set
-
getPassword
Returns the Password.- Returns:
- the password
-
setPassword
Sets the password.- Parameters:
password
- the password to set
-
getUserToImpersonate
Retrieve the user to impersonate- Returns:
- the User ID.
-
setUserToImpersonate
Sets User ID to impersonate.- Parameters:
userID
- to impersonate
-