クラス OAuth2IntrospectionAuthenticatedPrincipal
java.lang.ObjectSE
org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionAuthenticatedPrincipal
- 実装済みのインターフェース一覧:
SerializableSE, AuthenticatedPrincipal, ClaimAccessor, OAuth2AuthenticatedPrincipal, OAuth2TokenIntrospectionClaimAccessor
public final class OAuth2IntrospectionAuthenticatedPrincipal
extends ObjectSE
implements OAuth2TokenIntrospectionClaimAccessor, OAuth2AuthenticatedPrincipal, SerializableSE
OAuth 2.0 トークンイントロスペクションの属性をラップするドメインオブジェクト。
- 導入:
- 5.4
- 関連事項:
コンストラクター概要
コンストラクターコンストラクター説明OAuth2IntrospectionAuthenticatedPrincipal(StringSE name, MapSE<StringSE, ObjectSE> attributes, CollectionSE<GrantedAuthority> authorities) 指定されたパラメーターを使用してOAuth2IntrospectionAuthenticatedPrincipalを構築します。OAuth2IntrospectionAuthenticatedPrincipal(MapSE<StringSE, ObjectSE> attributes, CollectionSE<GrantedAuthority> authorities) 指定されたパラメーターを使用してOAuth2IntrospectionAuthenticatedPrincipalを構築します。方法の概要
修飾子と型メソッド説明OAuth 2.0 トークンイントロスペクションの属性をマップ形式で取得します。CollectionSE<? extends GrantedAuthority> この OAuth 2.0 トークンイントロスペクションに関連付けられているGrantedAuthorityのCollectionSE を取得しますアサーションに使用できるクレームのセットを返します。getName()認証されたPrincipalの名前を返します。クラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース ClaimAccessor から継承されたメソッド
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, hasClaimインターフェース OAuth2AuthenticatedPrincipal から継承されたメソッド
getAttributeインターフェース OAuth2TokenIntrospectionClaimAccessor から継承されたメソッド
getAudience, getClientId, getExpiresAt, getId, getIssuedAt, getIssuer, getNotBefore, getScopes, getSubject, getTokenType, getUsername, isActive
コンストラクターの詳細
OAuth2IntrospectionAuthenticatedPrincipal
public OAuth2IntrospectionAuthenticatedPrincipal(MapSE<StringSE, ObjectSE> attributes, CollectionSE<GrantedAuthority> authorities) 指定されたパラメーターを使用してOAuth2IntrospectionAuthenticatedPrincipalを構築します。- パラメーター:
attributes- OAuth 2.0 トークンイントロスペクションの属性authorities- OAuth 2.0 トークンイントロスペクションの権限
OAuth2IntrospectionAuthenticatedPrincipal
public OAuth2IntrospectionAuthenticatedPrincipal(StringSE name, MapSE<StringSE, ObjectSE> attributes, CollectionSE<GrantedAuthority> authorities) 指定されたパラメーターを使用してOAuth2IntrospectionAuthenticatedPrincipalを構築します。- パラメーター:
name- OAuth 2.0 トークンイントロスペクションに付けられた名前attributes- OAuth 2.0 トークンイントロスペクションの属性authorities- OAuth 2.0 トークンイントロスペクションの権限
方法の詳細
getAttributes
OAuth 2.0 トークンイントロスペクションの属性をマップ形式で取得します。- 次で指定:
- インターフェース
OAuth2AuthenticatedPrincipal内のgetAttributes - 戻り値:
- 属性の名前でキー付けされた属性のオブジェクトの
MapSE
getAuthorities
この OAuth 2.0 トークンイントロスペクションに関連付けられているGrantedAuthorityのCollectionSE を取得します- 次で指定:
- インターフェース
OAuth2AuthenticatedPrincipal内のgetAuthorities - 戻り値:
- OAuth 2.0 トークンイントロスペクションオーソリティ
getName
インターフェースからコピーされた説明:AuthenticatedPrincipal認証されたPrincipalの名前を返します。非null。- 次で指定:
- インターフェース
AuthenticatedPrincipal内のgetName - 戻り値:
- 認証された
Principalの名前
getClaims
インターフェースからコピーされた説明:ClaimAccessorアサーションに使用できるクレームのセットを返します。- 次で指定:
- インターフェース
ClaimAccessor内のgetClaims - 戻り値:
Mapのクレーム