Package org.odpi.openmetadata.userauthn
Class AuthenticationExceptionHandler
java.lang.Object
org.odpi.openmetadata.userauthn.AuthenticationExceptionHandler
Exception handler for Jackson serialization/deserialization errors.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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.
-
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
-