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.