Class LoginBean

    • Constructor Detail

      • LoginBean

        public LoginBean()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • loadLoginData

        public void loadLoginData()
      • destroy

        @PreDestroy
        public void destroy()
      • isAjaxLogin

        public boolean isAjaxLogin()
      • setAjaxLogin

        public void setAjaxLogin​(boolean isAjaxLogin)
      • getClient

        public Mandant getClient()
      • setClient

        public void setClient​(Mandant client)
      • setStayLoggedIn

        public void setStayLoggedIn​(boolean stayLoggedIn)
        Parameters:
        stayLoggedIn - the stayLoggedIn to set
      • isStayLoggedIn

        public boolean isStayLoggedIn()
        Returns:
        the stayLoggedIn
      • getPwdLinkHash

        public String getPwdLinkHash()
      • setPwdLinkHash

        public void setPwdLinkHash​(String pwdLinkHash)
      • isHashExpired

        public boolean isHashExpired()
      • getPwdSetHint

        public String getPwdSetHint()
      • getPwdChangeHint

        public String getPwdChangeHint()
      • getPwdResetHint

        public String getPwdResetHint()
      • getMinPwdLength

        public int getMinPwdLength()
      • getPwdSetLoginMsg

        public String getPwdSetLoginMsg()
      • getClientList

        public List<Mandant> getClientList()
        Gets the List of available Mandants. This happens lazily in order to prevent DDoS attacks through excessive invocation of the login page
        Returns:
        List of available Mandants
      • hasClients

        public boolean hasClients()
        Checks whether there Mandants available
        Returns:
        Boolean true if there are Mandants available
      • checkLoginAjax

        public void checkLoginAjax()
        Checks whether the user is still logged in. Used by the frontend to display a login dialog via AJAX if necessary.
      • login

        public void login()
        Logs in user with internal context. This method will be redirect the user.
      • loginViaDialog

        public void loginViaDialog()
        Called from within the login dialog. Performs a basic login, than redirects to the AJAX callback page.
      • loginInbox

        public void loginInbox()
        Logs in user with inbox context. This method will be redirect the user.
      • autoLoginPrivate

        public void autoLoginPrivate()
      • autoLoginExternal

        public void autoLoginExternal()
      • loginExternal

        public void loginExternal()
        Logs in user with external context. This method will be redirect the user.
      • loginExternalFD2Login

        @Deprecated
        public void loginExternalFD2Login()
        Deprecated.
        No separate login required anymore, Designer should be integrated with JSF.
        Logs in user with external FD2 context. This method will be redirect the user.
      • logout

        public void logout()
        Logs out currently logged in user and invalidates the session. This method will be redirect the user.
      • passwordForget

        public void passwordForget()
        Method for sending password-forgotten-mail
      • changePasswordByLink

        public void changePasswordByLink()
        Method for updating the password on reset. This method will be redirect the user.
      • changePasswordByLogin

        public void changePasswordByLogin()
      • checkPasswordStrength

        public void checkPasswordStrength()
        Remote command that takes a password and checks its strength. Returns a numerical value indicating how strong the password is.
      • getConfiguredPwdRules

        public String getConfiguredPwdRules()
      • checkPasswordChangeView

        public void checkPasswordChangeView()
      • showPasswordReset

        public boolean showPasswordReset()
      • invalidateSession

        public void invalidateSession()
      • getEncodedUrl

        public String getEncodedUrl​(String url)
      • getPasswortResetQueryString

        public String getPasswortResetQueryString()
      • setPasswortResetQueryString

        public void setPasswortResetQueryString​(String passwortResetQueryString)
      • renderStayLoggedIn

        public boolean renderStayLoggedIn()