程序包 cn.gybyt.advice
类 GybytControllerSecurityExceptionAdvice
- java.lang.Object
-
- cn.gybyt.advice.GybytControllerSecurityExceptionAdvice
-
@Order(-2147483648) @RestControllerAdvice @ConditionalOnClass(org.springframework.security.access.expression.SecurityExpressionHandler.class) public class GybytControllerSecurityExceptionAdvice extends Object
security异常处理
-
-
构造器概要
构造器 构造器 说明 GybytControllerSecurityExceptionAdvice()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BaseResponse<Object>AccountExpiredException(org.springframework.security.authentication.AccountExpiredException e)BaseResponse<Object>BadCredentialsException(org.springframework.security.authentication.BadCredentialsException e)BaseResponse<Object>CredentialsExpiredException(org.springframework.security.authentication.CredentialsExpiredException e)BaseResponse<Object>DisabledException(org.springframework.security.authentication.DisabledException e)BaseResponse<Object>InternalAuthenticationServiceException(org.springframework.security.authentication.InternalAuthenticationServiceException e)BaseResponse<Object>LockedException(org.springframework.security.authentication.LockedException e)BaseResponse<Object>MethodArgumentNotValidExceptionHandler(org.springframework.security.access.AccessDeniedException e)BaseResponse<Object>MethodArgumentNotValidExceptionHandler(org.springframework.security.authentication.BadCredentialsException e)
-
-
-
方法详细资料
-
MethodArgumentNotValidExceptionHandler
@ExceptionHandler(org.springframework.security.core.AuthenticationException.class) public BaseResponse<Object> MethodArgumentNotValidExceptionHandler(org.springframework.security.authentication.BadCredentialsException e)
-
MethodArgumentNotValidExceptionHandler
@ExceptionHandler(org.springframework.security.access.AccessDeniedException.class) public BaseResponse<Object> MethodArgumentNotValidExceptionHandler(org.springframework.security.access.AccessDeniedException e)
-
LockedException
@ExceptionHandler(org.springframework.security.authentication.LockedException.class) public BaseResponse<Object> LockedException(org.springframework.security.authentication.LockedException e)
-
CredentialsExpiredException
@ExceptionHandler(org.springframework.security.authentication.CredentialsExpiredException.class) public BaseResponse<Object> CredentialsExpiredException(org.springframework.security.authentication.CredentialsExpiredException e)
-
AccountExpiredException
@ExceptionHandler(org.springframework.security.authentication.AccountExpiredException.class) public BaseResponse<Object> AccountExpiredException(org.springframework.security.authentication.AccountExpiredException e)
-
DisabledException
@ExceptionHandler(org.springframework.security.authentication.DisabledException.class) public BaseResponse<Object> DisabledException(org.springframework.security.authentication.DisabledException e)
-
BadCredentialsException
@ExceptionHandler(org.springframework.security.authentication.BadCredentialsException.class) public BaseResponse<Object> BadCredentialsException(org.springframework.security.authentication.BadCredentialsException e)
-
InternalAuthenticationServiceException
@ExceptionHandler(org.springframework.security.authentication.InternalAuthenticationServiceException.class) public BaseResponse<Object> InternalAuthenticationServiceException(org.springframework.security.authentication.InternalAuthenticationServiceException e)
-
-