Class LoginValidator

    • Constructor Summary

      Constructors 
      Constructor Description
      LoginValidator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean validateLogin​(java.lang.String login, java.lang.String password, java.lang.String mfaToken)
      Validates the login/password/MFA token.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LoginValidator

        public LoginValidator()
    • Method Detail

      • validateLogin

        public boolean validateLogin​(java.lang.String login,
                                     java.lang.String password,
                                     java.lang.String mfaToken)
                              throws PortalException
        Description copied from interface: ILoginValidator
        Validates the login/password/MFA token.
        Specified by:
        validateLogin in interface ILoginValidator
        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