Interface ILoginValidator

  • All Known Implementing Classes:
    LoginValidator

    @Deprecated
    public interface ILoginValidator
    Deprecated.
    to customize credential validation you must create a new JAAS login module or extend the LumisLoginModule
    Since:
    4.0.0
    Version:
    $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
    • Method Detail

      • validateLogin

        @Deprecated
        default boolean validateLogin​(java.lang.String login,
                                      java.lang.String password)
                               throws PortalException
        Deprecated.
        Since 16.1.0, this method will not be used anymore. Use validateLogin(String, String, String) instead.
        Validates the login/password.
        Parameters:
        login - the user's login
        password - the user's password
        Returns:
        true if the given password is correct for the specified login or false otherwise
        Throws:
        PortalException
        Since:
        16.1.0
      • validateLogin

        boolean validateLogin​(java.lang.String login,
                              java.lang.String password,
                              java.lang.String mfaToken)
                       throws PortalException
        Deprecated.
        Validates the login/password/MFA token.
        Parameters:
        login - the user's login
        password - the user's password
        mfaToken - the MFA token
        Returns:
        true if the given password and MFA token are correct for the specified login or false otherwise
        Throws:
        PortalException
        Since:
        16.1.0