クラス 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 から移行されました。
- 作成者:
- Luke Taylor
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明X509AuthenticationToken
(ObjectSE principal, X509CertificateSE credentials, CollectionSE<? extends org.springframework.security.core.GrantedAuthority> authorities) 認証レスポンスオブジェクトに使用されます。X509AuthenticationToken
(X509CertificateSE credentials) 認証リクエストに使用されます。メソッドのサマリー
クラス org.springframework.security.authentication.AbstractAuthenticationToken から継承されたメソッド
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
クラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSE
インターフェース java.security.PrincipalSE から継承されたメソッド
impliesSE
コンストラクターの詳細
X509AuthenticationToken
認証リクエストに使用されます。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
getPrincipal