クラス OAuth2IntrospectionAuthenticatedPrincipal

    • コンストラクターの詳細

      • OAuth2IntrospectionAuthenticatedPrincipal

        public OAuth2IntrospectionAuthenticatedPrincipal​(java.util.Map<java.lang.String,​java.lang.Object> attributes,
                                                         java.util.Collection<GrantedAuthority> authorities)
        指定されたパラメーターを使用して OAuth2IntrospectionAuthenticatedPrincipal を構築します。
        パラメーター:
        attributes - OAuth 2.0 トークンイントロスペクションの属性
        authorities - OAuth 2.0 トークンイントロスペクションの権限
      • OAuth2IntrospectionAuthenticatedPrincipal

        public OAuth2IntrospectionAuthenticatedPrincipal​(java.lang.String name,
                                                         java.util.Map<java.lang.String,​java.lang.Object> attributes,
                                                         java.util.Collection<GrantedAuthority> authorities)
        指定されたパラメーターを使用して OAuth2IntrospectionAuthenticatedPrincipal を構築します。
        パラメーター:
        name - OAuth 2.0 トークンイントロスペクションに付けられた名前
        attributes - OAuth 2.0 トークンイントロスペクションの属性
        authorities - OAuth 2.0 トークンイントロスペクションの権限
    • メソッドの詳細

      • getAttributes

        public java.util.Map<java.lang.String,​java.lang.Object> getAttributes()
        OAuth 2.0 トークンイントロスペクションの属性をマップ形式で取得します。
        次で指定:
        インターフェース OAuth2AuthenticatedPrincipalgetAttributes 
        戻り値:
        属性の名前をキーとする属性のオブジェクトの Map 
      • getAuthorities

        public java.util.Collection<? extends GrantedAuthority> getAuthorities()
        この OAuth 2.0 トークンイントロスペクションに関連付けられている GrantedAuthority の Collection を取得します
        次で指定:
        インターフェース OAuth2AuthenticatedPrincipalgetAuthorities 
        戻り値:
        OAuth 2.0 トークンイントロスペクションオーソリティ
      • getName

        public java.lang.String getName()
        インターフェースからコピーされた説明: AuthenticatedPrincipal
        認証された Principal の名前を返します。非 null
        次で指定:
        インターフェース AuthenticatedPrincipalgetName 
        戻り値:
        認証された Principal の名前
      • getClaims

        public java.util.Map<java.lang.String,​java.lang.Object> getClaims()
        インターフェースからコピーされた説明: ClaimAccessor
        アサーションに使用できるクレームのセットを返します。
        次で指定:
        インターフェース ClaimAccessorgetClaims 
        戻り値:
        Map のクレーム