クラス SimpleGrantedAuthorityMixin


  • public abstract class SimpleGrantedAuthorityMixin
    extends java.lang.Object
    Jackson Mixin クラスは SimpleGrantedAuthority のシリアライズ / デシリアライズに役立ちます。
         ObjectMapper mapper = new ObjectMapper();
         mapper.registerModule(new CoreJackson2Module());
     
    導入:
    4.2
    関連事項:
    CoreJackson2Module, SecurityJackson2Modules
    • コンストラクターのサマリー

      コンストラクター  
      コンストラクター 説明
      SimpleGrantedAuthorityMixin​(java.lang.String role)
      Mixin コンストラクター。
    • メソッドのサマリー

      • クラス java.lang.Object から継承されたメソッド

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • コンストラクターの詳細

      • SimpleGrantedAuthorityMixin

        public SimpleGrantedAuthorityMixin​(java.lang.String role)
        Mixin コンストラクター。
        パラメーター:
        role - ロール