Class LoginFormBean

    • Field Detail

      • displayName

        private String displayName
      • passwordField

        private FieldInfo passwordField
      • rememberLastLogin

        private boolean rememberLastLogin
    • Constructor Detail

      • LoginFormBean

        public LoginFormBean()
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: LoginFormAction
        Get the ID of this login form. It's main use it to enable support for multiple installed authentication managers. Clients that supports this should submit the id of the login form via the "login-form" LoginRequest attribute. Authentication managers should check this id before determining if they should handle the login request or not. Since this is a new method in BASE 3.14 a default implementation that returns null is provided for backwards compatibility. If this method returns null, the id from the extension is used instead.
        Specified by:
        getId in interface LoginFormAction
      • setId

        public void setId​(String id)
      • getDisplayName

        public String getDisplayName()
        Description copied from interface: LoginFormAction
        Get a name that can be displayed for users in a selection list or similar to switch between different login methods. Since this is a new method in BASE 3.14 a default implementation that returns null is provided for backwards compatibility. If this method returns null, the name from the extension is used instead.
        Specified by:
        getDisplayName in interface LoginFormAction
      • setDisplayName

        public void setDisplayName​(String displayName)
      • getHelp

        public String getHelp()
        Description copied from interface: LoginFormAction
        Optional help text that is displayed on the login form to aid the user when logging in.
        Specified by:
        getHelp in interface LoginFormAction
      • setHelp

        public void setHelp​(String help)
      • setLoginField

        public void setLoginField​(FieldInfo loginField)
      • setPasswordField

        public void setPasswordField​(FieldInfo passwordField)
      • getExtraField

        public FieldInfo getExtraField()
        Description copied from interface: LoginFormAction
        An optional extra field on the login form. A default implementation that returns null is provided by this interface to provide backwards compatibility.
        Specified by:
        getExtraField in interface LoginFormAction
      • setExtraField

        public void setExtraField​(FieldInfo extraField)
      • setRememberLastLogin

        public void setRememberLastLogin​(boolean remember)