@Documented @Retention(value=RUNTIME) @Target(value={PARAMETER,ANNOTATION_TYPE}) @CurrentSecurityContext(expression="authentication") public @interface CurrentAuthentication
Authentication对象SecurityContext.getAuthentication()| 限定符和类型 | 可选元素和说明 |
|---|---|
boolean |
errorOnInvalidType |
Copyright © 2022. All rights reserved.