Class BlockedCredentialsAdvice
- java.lang.Object
-
- de.trustable.ca3s.core.web.rest.advice.BlockedCredentialsAdvice
-
@ControllerAdvice @Immutable public final class BlockedCredentialsAdvice extends Object
Handle the restification of an Exception- Author:
- kuehn
-
-
Constructor Summary
Constructors Constructor Description BlockedCredentialsAdvice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<ProblemDetail>respondTo(IPBlockedException exception)org.springframework.http.ResponseEntity<ProblemDetail>respondTo(UserCredentialsExpiredException exception)org.springframework.http.ResponseEntity<ProblemDetail>respondTo(BlockedCredentialsException exception)
-
-
-
Method Detail
-
respondTo
@ExceptionHandler(BlockedCredentialsException.class) public org.springframework.http.ResponseEntity<ProblemDetail> respondTo(BlockedCredentialsException exception)
-
respondTo
@ExceptionHandler(IPBlockedException.class) public org.springframework.http.ResponseEntity<ProblemDetail> respondTo(IPBlockedException exception)
-
respondTo
@ExceptionHandler(UserCredentialsExpiredException.class) public org.springframework.http.ResponseEntity<ProblemDetail> respondTo(UserCredentialsExpiredException exception)
-
-