authenticate(Authentication authentication) 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.
Parameters: authentication - the authentication request.
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.
Parameters: authentication - the authentication request. an X509AuthenticationToken containing the authorities of the principal represented by the certificate. throws: AuthenticationException - if the X509AuthoritiesPopulator rejects the certficate. throws: BadCredentialsException - if no certificate was presented in the authentication request.
setMessageSource
public void setMessageSource(MessageSource messageSource)(Code)