authenticate(Authentication authentication)Deprecated. If the supplied authentication token contains a certificate then this will be passed to the configured
X509AuthoritiesPopulator to obtain the user details and authorities for the user identified by the
certificate.

authenticate

If the supplied authentication token contains a certificate then this will be passed to the configured
X509AuthoritiesPopulator to obtain the user details and authorities for the user identified by the
certificate.

If no certificate is present (for example, if the filter is applied to an HttpRequest for
which client authentication hasn't been configured in the container) then a BadCredentialsException will be
raised.

setX509UserCache

supports

Returns true if this AuthenticationProvider supports the indicated
Authentication object.

Returning true does not guarantee an AuthenticationProvider will be able to
authenticate the presented instance of the Authentication class. It simply indicates it can support
closer evaluation of it. An AuthenticationProvider can still return null from the
AuthenticationProvider.authenticate(Authentication) method to indicate another AuthenticationProvider should be
tried.

Selection of an AuthenticationProvider capable of performing authentication is
conducted at runtime the ProviderManager.