Callback handler that validates a certificate using an Acegi AuthenticationManager. Logic based on
Acegi's X509ProcessingFilter.
An Acegi 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.
author: Arjen Poutsma See Also: X509AuthenticationToken See Also: org.acegisecurity.providers.x509.X509AuthenticationProvider See Also: org.acegisecurity.ui.x509.X509ProcessingFilter See Also: CertificateValidationCallback
Handles CertificateValidationCallbacks, and throws an UnsupportedCallbackException for
others
throws: UnsupportedCallbackException - when the callback is not supported
setAuthenticationManager
public void setAuthenticationManager(AuthenticationManager authenticationManager)(Code)
Sets the Acegi authentication manager. Required.
setIgnoreFailure
public void setIgnoreFailure(boolean ignoreFailure)(Code)
Fields inherited from org.springframework.ws.soap.security.xwss.callback.AbstractCallbackHandler