Callback handler that validates a certificate using an Spring Security AuthenticationManager. Logic
based on Spring Security's X509ProcessingFilter.
Spring Security
X509AuthenticationToken is created with the certificate as the credentials. The configured
authentication manager is expected to supply a provider which can handle this token (usually an instance of
X509AuthenticationProvider).
This class only handles CertificateValidationCallbacks, and throws an
UnsupportedCallbackException for others.
handleInternal(Callback callback)
Handles CertificateValidationCallbacks, and throws an UnsupportedCallbackException for
others
void
setAuthenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager)
Sets the Spring Security authentication manager.