Class InvalidCredentialsExceptionHandler
java.lang.Object
org.gridgain.internal.rest.jwt.exception.handler.InvalidCredentialsExceptionHandler
- All Implemented Interfaces:
io.micronaut.http.server.exceptions.ExceptionHandler<org.apache.ignite.security.exception.InvalidCredentialsException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
@Singleton
@Requires(classes={org.apache.ignite.security.exception.InvalidCredentialsException.class,io.micronaut.http.server.exceptions.ExceptionHandler.class})
public class InvalidCredentialsExceptionHandler
extends Object
implements io.micronaut.http.server.exceptions.ExceptionHandler<org.apache.ignite.security.exception.InvalidCredentialsException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
Handles
InvalidCredentialsException and represents it as a rest response.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>handle(io.micronaut.http.HttpRequest request, org.apache.ignite.security.exception.InvalidCredentialsException exception)
-
Constructor Details
-
InvalidCredentialsExceptionHandler
public InvalidCredentialsExceptionHandler()
-
-
Method Details
-
handle
public io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem> handle(io.micronaut.http.HttpRequest request, org.apache.ignite.security.exception.InvalidCredentialsException exception) - Specified by:
handlein interfaceio.micronaut.http.server.exceptions.ExceptionHandler<org.apache.ignite.security.exception.InvalidCredentialsException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
-