Interface CredentialsContainer
-
- All Known Subinterfaces:
LdapUserDetails
- All Known Implementing Classes:
AbstractAuthenticationToken,AbstractOAuth2TokenAuthenticationToken,AnonymousAuthenticationToken,BearerTokenAuthentication,BearerTokenAuthenticationToken,CasAssertionAuthenticationToken,CasAuthenticationToken,InetOrgPerson,JaasAuthenticationToken,JwtAuthenticationToken,LdapUserDetailsImpl,OAuth2AuthenticationToken,OAuth2AuthorizationCodeAuthenticationToken,OAuth2LoginAuthenticationToken,OpenIDAuthenticationToken,Person,PreAuthenticatedAuthenticationToken,RememberMeAuthenticationToken,RunAsUserToken,Saml2Authentication,Saml2AuthenticationToken,TestingAuthenticationToken,User,UsernamePasswordAuthenticationToken
public interface CredentialsContainerIndicates that the implementing object contains sensitive data, which can be erased using theeraseCredentialsmethod. Implementations are expected to invoke the method on any internal objects which may also implement this interface.For internal framework use only. Users who are writing their own
AuthenticationProviderimplementations should create and return an appropriateAuthenticationobject there, minus any sensitive data, rather than using this interface.- Since:
- 3.0.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voideraseCredentials()
-