Callback handler that validates a certificate uses an Spring Security AuthenticationManager. Logic based
on Spring Security's BasicProcessingFilter.
This handler requires an Spring Security AuthenticationManager to operate. It can be set using the
authenticationManager property. An Spring Security UsernamePasswordAuthenticationToken is
created with the username as principal and password as credentials.
This class only handles PasswordValidationCallbacks that contain a
PlainTextPasswordRequest, and throws an UnsupportedCallbackException for others.
handleInternal(Callback callback)
Handles PasswordValidationCallbacks that contain a PlainTextPasswordRequest, and throws
an UnsupportedCallbackException for others.
void
setAuthenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager)
Sets the Spring Security authentication manager.