public class SecurityHolder extends Object
自定义异常信息存储类
在各种Handler
中例如ExceptionAuthenticationEntryPoint
和CustomAuthenticationFailureHandler
中携带异常信息CustomAuthenticationFailureHandler
,
CustomAccessDeniedHandler
,
ExceptionAuthenticationEntryPoint
Constructor and Description |
---|
SecurityHolder() |
Modifier and Type | Method and Description |
---|---|
static Exception |
getException(boolean clear) |
static void |
setException(Exception exception) |
Copyright © 2021. All rights reserved.