Annotation Interface CurrentUserAttributes


@Inherited @Documented @Retention(RUNTIME) @Target(PARAMETER) @AuthenticationPrincipal(expression="#root.attributes") public @interface CurrentUserAttributes
获取当前用户的Attributes
从以下版本开始:
1.0.0
作者:
应卓
另请参阅:
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    boolean
     
  • 元素详细资料

    • errorOnInvalidType

      @AliasFor(annotation=org.springframework.security.core.annotation.AuthenticationPrincipal.class, attribute="errorOnInvalidType") boolean errorOnInvalidType
      默认值:
      false