Interface IUsernameStrategy

All Known Implementing Classes:
UsernameConfigurableStrategy, UsernameDefaultStrategy

public interface IUsernameStrategy
Username strategy interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Validation strategy.
  • Method Details

    • validationStrategy

      boolean validationStrategy(String username)
      Validation strategy.
      Parameters:
      username - Username
      Returns:
      true: if username is an email, false otherwise
      Throws:
      IllegalArgumentException - If the username does not match the configured parameters