Class UserCredentialsSigninBean
java.lang.Object
de.xima.fc.gui.common.bean.security.UserCredentialsSigninBean
- All Implemented Interfaces:
Serializable
Bean for handling user login with
UserCredentials
.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkAuthorization
(IAuthenticationTarget authenticationTarget) void
doUserCredentialsLogin
(BiConsumer<String, org.apache.commons.lang3.tuple.Pair<String, String>> loginLogic, IAuthenticationTarget target) Executes the user credentials (login ID & password) login for the given target with the (optional) login logic.static String
void
initSelectedInputClient
(List<javax.faces.model.SelectItem> options) initializes the selected input client form the cookie value.boolean
boolean
void
void
setLoginId
(String loginId) void
setPassword
(String password) void
setRememberMe
(boolean rememberMe) void
setSelectedInputClient
(String clientName)
-
Constructor Details
-
UserCredentialsSigninBean
public UserCredentialsSigninBean()
-
-
Method Details
-
getLoginErrorMessage
-
getSelectedInputClient
-
setSelectedInputClient
-
getLoginId
-
setLoginId
-
getLoginIdLabel
-
getPassword
-
setPassword
-
isRememberMe
public boolean isRememberMe() -
setRememberMe
public void setRememberMe(boolean rememberMe) -
isShowRememberMe
public boolean isShowRememberMe() -
getResetCredentialsProfile
-
initSelectedInputClient
initializes the selected input client form the cookie value. The cookie value needs to be in the given collection of client options.- Parameters:
options
- The new options to use.
-
checkAuthorization
-
resendCredentialsResetMail
public void resendCredentialsResetMail() -
doUserCredentialsLogin
public void doUserCredentialsLogin(BiConsumer<String, org.apache.commons.lang3.tuple.Pair<String, String>> loginLogic, IAuthenticationTarget target) Executes the user credentials (login ID & password) login for the given target with the (optional) login logic. If no login logic is given then the default login logic will be executed.- Parameters:
loginLogic
- (optional) to be executed. Ifnull
than the default login logic will be executed.target
- the authentication target to do the login for.
-