Class SignInPanel

    • Method Detail

      • getPassword

        public String getPassword()
        Convenience method to access the password.
        Returns:
        The password
      • setPassword

        public void setPassword​(String password)
        Set the password
        Parameters:
        password -
      • getUsername

        public String getUsername()
        Convenience method to access the username.
        Returns:
        The user name
      • setUsername

        public void setUsername​(String username)
        Set the username
        Parameters:
        username -
      • getRememberMe

        public boolean getRememberMe()
        Get model object of the rememberMe checkbox
        Returns:
        True if user should be remembered in the future
      • setRememberMe

        public void setRememberMe​(boolean rememberMe)
        Parameters:
        rememberMe - If true, rememberMe will be enabled (username and password will be persisted somewhere)
      • onSignInFailed

        protected void onSignInFailed()
        Called when sign in failed
      • onSignInSucceeded

        protected void onSignInSucceeded()
        Called when sign in was successful
      • onSignInRemembered

        protected void onSignInRemembered()
        Called when sign-in was remembered.

        By default tries to continue to the original destination or switches to the application's home page.

        Note: This method will be called during rendering of this panel, thus a RestartResponseException has to be used to switch to a different page.

        See Also:
        onConfigure()