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