Interface LoginDialogBuilder.LoginValidator

Enclosing interface:
LoginDialogBuilder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface LoginDialogBuilder.LoginValidator
Validates a login attempt.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(User user)
    Validates a login with the given user
  • Method Details

    • validate

      void validate(User user) throws Exception
      Validates a login with the given user
      Parameters:
      user - the user
      Throws:
      Exception - in case validation fails