インターフェース CredentialsContainer
- すべての既知のサブインターフェース:
LdapUserDetails
- すべての既知の実装クラス:
AbstractAuthenticationToken、AbstractOAuth2TokenAuthenticationToken、AnonymousAuthenticationToken、BearerTokenAuthentication、BearerTokenAuthenticationToken、CasAssertionAuthenticationToken、CasAuthenticationToken、CasServiceTicketAuthenticationToken、DPoPAuthenticationToken、InetOrgPerson、JaasAuthenticationToken、JwtAuthenticationToken、KerberosServiceRequestToken、KerberosUsernamePasswordAuthenticationToken、LdapUserDetailsImpl、OAuth2AccessTokenAuthenticationToken、OAuth2AuthenticationToken、OAuth2AuthorizationCodeAuthenticationToken、OAuth2AuthorizationCodeAuthenticationToken、OAuth2AuthorizationCodeRequestAuthenticationToken、OAuth2AuthorizationConsentAuthenticationToken、OAuth2AuthorizationGrantAuthenticationToken、OAuth2ClientAuthenticationToken、OAuth2ClientCredentialsAuthenticationToken、OAuth2ClientRegistrationAuthenticationToken、OAuth2DeviceAuthorizationConsentAuthenticationToken、OAuth2DeviceAuthorizationRequestAuthenticationToken、OAuth2DeviceCodeAuthenticationToken、OAuth2DeviceVerificationAuthenticationToken、OAuth2LoginAuthenticationToken、OAuth2PushedAuthorizationRequestAuthenticationToken、OAuth2RefreshTokenAuthenticationToken、OAuth2TokenExchangeAuthenticationToken、OAuth2TokenExchangeCompositeAuthenticationToken、OAuth2TokenIntrospectionAuthenticationToken、OAuth2TokenRevocationAuthenticationToken、OidcClientRegistrationAuthenticationToken、OidcLogoutAuthenticationToken、OidcUserInfoAuthenticationToken、OneTimeTokenAuthentication、OneTimeTokenAuthenticationToken、Person、PreAuthenticatedAuthenticationToken、RememberMeAuthenticationToken、RunAsUserToken、Saml2AssertionAuthentication、Saml2Authentication、Saml2AuthenticationToken、TestingAuthenticationToken、User、UsernamePasswordAuthenticationToken、WebAuthnAuthentication、WebAuthnAuthenticationRequestToken
public interface CredentialsContainer
実装オブジェクトに機密データが含まれていることを示します。機密データは、
eraseCredentials メソッドを使用して消去できます。実装は、このインターフェースを実装する可能性のある内部オブジェクトでメソッドを呼び出すことが期待されています。 内部フレームワークでのみ使用。独自の AuthenticationProvider 実装を作成しているユーザーは、このインターフェースを使用するのではなく、適切な Authentication オブジェクトを作成して、そこから機密データを除いて返す必要があります。
- 導入:
- 3.0.3
メソッドのサマリー
メソッドの詳細
eraseCredentials
void eraseCredentials()