- 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 SecurityResponseMapper
SecurityResponse mapper that is called when a security error is
encountered. Gives a chance for applications to craft a more informative
response to the user as to the cause of the error.
abortedCalled when a security response is aborted due to a security problem (e.g. authentication failure). Handles control to the application to construct the response returned to the client. Security providers can provide context to mappers using the Helidon context mechanism.
securityResponse- the security response
responseBuilder- the response builder
- See Also: