Interface AuthorizationFailureMapper

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 interface AuthorizationFailureMapper
Message-scoped hook for infrastructure that wants to add context to authorization failures.
  • Method Summary

    Modifier and Type
    Method
    Description
    Maps an authorization failure to the exception exposed by the handler integration.
  • Method Details

    • mapAuthorizationFailure

      Throwable mapAuthorizationFailure(Throwable failure)
      Maps an authorization failure to the exception exposed by the handler integration.