Class FailedAuthenticationScenario

java.lang.Object
io.micronaut.security.testutils.authprovider.FailedAuthenticationScenario

@Introspected public class FailedAuthenticationScenario extends Object
Failed Authentication Scenario.
  • Constructor Details

    • FailedAuthenticationScenario

      public FailedAuthenticationScenario(@NonNull @NonNull String username, @NonNull @NonNull AuthenticationFailureReason reason)
      Parameters:
      username - username
      reason - reason for failure
  • Method Details

    • getUsername

      @NonNull public @NonNull String getUsername()
      Returns:
      username
    • getReason

      @NonNull public @NonNull AuthenticationFailureReason getReason()
      Returns:
      Failure reason