Class AuthenticationExceptionHandler

java.lang.Object
org.odpi.openmetadata.userauthn.AuthenticationExceptionHandler

@RestControllerAdvice public class AuthenticationExceptionHandler extends Object
Exception handler for Jackson serialization/deserialization errors.
  • Constructor Details

    • AuthenticationExceptionHandler

      public AuthenticationExceptionHandler()
  • Method Details

    • handleAuthenticationException

      @ExceptionHandler(org.springframework.security.core.AuthenticationException.class) public org.springframework.http.ResponseEntity<FFDCResponseBase> handleAuthenticationException(org.springframework.security.core.AuthenticationException authenticationException)
      Handler for all read-side streaming processing problems, including parsing and input value coercion problems.
      Parameters:
      authenticationException - the exception that occurred during parsing
      Returns:
      400 Bad Request