クラス CredentialValidationResult

java.lang.ObjectSE
jakarta.security.enterprise.identitystore.CredentialValidationResult

public class CredentialValidationResult extends ObjectSE
CredentialValidationResult は、Credential のインスタンスを検証しようとした結果です。
関連事項:
  • フィールドの詳細

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

    • CredentialValidationResult

      public CredentialValidationResult(StringSE callerName)
      有効な結果のコンストラクター。
      パラメーター:
      callerName - 検証された呼び出し元の名前
    • CredentialValidationResult

      public CredentialValidationResult(CallerPrincipal callerPrincipal)
      有効な結果のコンストラクター。
      パラメーター:
      callerPrincipal - 検証された呼び出し元の CallerPrincipal
    • CredentialValidationResult

      public CredentialValidationResult(StringSE callerName, SetSE<StringSE> groups)
      有効な結果のコンストラクター。
      パラメーター:
      callerName - 検証された呼び出し元の名前
      groups - アイデンティティストアからの呼び出し元に関連付けられたグループ
    • CredentialValidationResult

      public CredentialValidationResult(CallerPrincipal callerPrincipal, SetSE<StringSE> groups)
      有効な結果のコンストラクター。
      パラメーター:
      callerPrincipal - 検証された呼び出し元の CallerPrincipal
      groups - アイデンティティストアからの呼び出し元に関連付けられたグループ
    • CredentialValidationResult

      public CredentialValidationResult(StringSE storeId, StringSE callerName, StringSE callerDn, StringSE callerUniqueId, SetSE<StringSE> groups)
      有効な結果のコンストラクター。
      パラメーター:
      storeId - ID ストアの一意の ID
      callerName - 検証された呼び出し元の名前
      callerDn - 呼び出し元の LDAP DN (分類名)
      callerUniqueId - ID ストアからの呼び出し元の一意の識別子
      groups - アイデンティティストアからの呼び出し元に関連付けられたグループ
    • CredentialValidationResult

      public CredentialValidationResult(StringSE storeId, CallerPrincipal callerPrincipal, StringSE callerDn, StringSE callerUniqueId, SetSE<StringSE> groups)
      有効な結果のコンストラクター。
      パラメーター:
      storeId - ID ストアの一意の ID
      callerPrincipal - 検証された呼び出し元の CallerPrincipal
      callerDn - 呼び出し元の LDAP DN (分類名)
      callerUniqueId - ID ストアからの呼び出し元の一意の識別子
      groups - アイデンティティストアからの呼び出し元に関連付けられたグループ
  • メソッドの詳細

    • getStatus

      検証ステータスを決定します。
      戻り値:
      検証ステータス
    • getIdentityStoreId

      public StringSE getIdentityStoreId()
      資格情報の検証に使用される ID ストアの一意の ID を返します。
      戻り値:
      資格情報の検証に使用される外部ストアを識別する文字列。
    • getCallerPrincipal

      public CallerPrincipal getCallerPrincipal()
      検証された資格情報の CallerPrincipal を返します。
      戻り値:
      CallerPrincipal。
    • getCallerUniqueId

      public StringSE getCallerUniqueId()
      アイデンティティストア内でこの呼び出し元を一意に識別する文字列を返します(使用されるプリンシパル名は一意でない可能性があるため)。
      戻り値:
      呼び出し元の一意の識別子。
    • getCallerDn

      public StringSE getCallerDn()
      検証された資格情報の CallerPrincipal を返します。
      戻り値:
      CallerPrincipal。
    • getCallerGroups

      public SetSE<StringSE> getCallerGroups()
      関連付けられた ID ストアに基づいて、指定された呼び出し元が属しているグループのセットを決定します。
      戻り値:
      指定された呼び出し元が含まれるグループのセット。存在しない場合は空。