クラス X509AuthenticationToken

java.lang.ObjectSE
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.ws.soap.security.x509.X509AuthenticationToken
実装済みのインターフェース一覧:
SerializableSE, PrincipalSE, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer

public class X509AuthenticationToken extends org.springframework.security.authentication.AbstractAuthenticationToken
X.509 クライアント証明書認証用の Authentication 実装。

Spring Security 3 で削除されたため、Spring Security 2 から移行されました。

関連事項:
  • ネストされたクラスの概要

    クラス org.springframework.security.authentication.AbstractAuthenticationToken から継承されたネストクラス / インターフェース

    org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder<B>

    インターフェース org.springframework.security.core.Authentication から継承されたネストクラス / インターフェース

    org.springframework.security.core.Authentication.Builder<B>
  • コンストラクター概要

    コンストラクター
    コンストラクター
    説明
    X509AuthenticationToken(ObjectSE principal, X509CertificateSE credentials, CollectionSE<? extends org.springframework.security.core.GrantedAuthority> authorities)
    認証レスポンスオブジェクトに使用されます。
    認証リクエストに使用されます。
  • 方法の概要

    修飾子と型
    メソッド
    説明
    @Nullable ObjectSE

    クラス org.springframework.security.authentication.AbstractAuthenticationToken から継承されたメソッド

    equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString

    クラス ObjectSE から継承されたメソッド

    clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSE

    インターフェース org.springframework.security.core.Authentication から継承されたメソッド

    toBuilder

    インターフェース PrincipalSE から継承されたメソッド

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

    • X509AuthenticationToken

      public X509AuthenticationToken(X509CertificateSE credentials)
      認証リクエストに使用されます。Authentication.isAuthenticated() は false を返します。
      パラメーター:
      credentials - 証明書
    • X509AuthenticationToken

      public X509AuthenticationToken(ObjectSE principal, X509CertificateSE credentials, CollectionSE<? extends org.springframework.security.core.GrantedAuthority> authorities)
      認証レスポンスオブジェクトに使用されます。Authentication.isAuthenticated() は true を返します。
      パラメーター:
      principal - プリンシパル、通常は UserDetails
      credentials - 証明書
      authorities - 権限
  • 方法の詳細

    • getCredentials

      public ObjectSE getCredentials()
    • getPrincipal

      public @Nullable ObjectSE getPrincipal()