@RestControllerAdvice @Order(value=-2147483648) public class AuthAdapterExceptionHandler extends Object
| Constructor and Description |
|---|
AuthAdapterExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> |
authManagerException(javax.servlet.http.HttpServletRequest httpServletRequest,
AuthManagerException e) |
org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> |
authNException(javax.servlet.http.HttpServletRequest httpServletRequest,
AuthNException e) |
org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> |
authZException(javax.servlet.http.HttpServletRequest httpServletRequest,
AuthZException e) |
org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> |
onAccessDeniedException(javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.security.access.AccessDeniedException e) |
org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> |
onAuthenticationException(javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.security.core.AuthenticationException e) |
@ExceptionHandler(value=org.springframework.security.core.AuthenticationException.class)
public org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> onAuthenticationException(javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.security.core.AuthenticationException e)
throws IOException
IOException@ExceptionHandler(value=org.springframework.security.access.AccessDeniedException.class)
public org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> onAccessDeniedException(javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.security.access.AccessDeniedException e)
throws IOException
IOException@ExceptionHandler(value=AuthManagerException.class) public org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> authManagerException(javax.servlet.http.HttpServletRequest httpServletRequest, AuthManagerException e) throws IOException
IOException@ExceptionHandler(value=AuthNException.class) public org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> authNException(javax.servlet.http.HttpServletRequest httpServletRequest, AuthNException e) throws IOException
IOException@ExceptionHandler(value=AuthZException.class) public org.springframework.http.ResponseEntity<io.mosip.kernel.core.http.ResponseWrapper<io.mosip.kernel.core.exception.ServiceError>> authZException(javax.servlet.http.HttpServletRequest httpServletRequest, AuthZException e) throws IOException
IOExceptionCopyright © 2020. All rights reserved.