Class UserCredentialsSigninBean

java.lang.Object
de.xima.fc.gui.common.bean.security.UserCredentialsSigninBean
All Implemented Interfaces:
Serializable

@Named @ViewScoped public class UserCredentialsSigninBean extends Object implements Serializable
Bean for handling user login with UserCredentials.
Since:
8.0.0
Author:
XIMA Media GmbH
See Also:
  • Constructor Details

    • UserCredentialsSigninBean

      public UserCredentialsSigninBean()
  • Method Details

    • getLoginErrorMessage

      public static String getLoginErrorMessage(Exception e)
    • getSelectedInputClient

      public String getSelectedInputClient()
    • setSelectedInputClient

      public void setSelectedInputClient(String clientName)
    • getLoginId

      public String getLoginId()
    • setLoginId

      public void setLoginId(String loginId)
    • getLoginIdLabel

      public String getLoginIdLabel()
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • isRememberMe

      public boolean isRememberMe()
    • setRememberMe

      public void setRememberMe(boolean rememberMe)
    • isShowRememberMe

      public boolean isShowRememberMe()
    • getResetCredentialsProfile

      public UserProfile getResetCredentialsProfile()
    • initSelectedInputClient

      public void initSelectedInputClient(List<javax.faces.model.SelectItem> options)
      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

      public void checkAuthorization(IAuthenticationTarget authenticationTarget)
    • 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. If null than the default login logic will be executed.
      target - the authentication target to do the login for.