- All Implemented Interfaces:
- AuthenticationErrorCallback
public final class CollectingAuthenticationErrorCallback
extends Object
implements AuthenticationErrorCallback
Convenience implementation of AuthenticationErrorCallback that stores the
given exception and provides a method for retrieving it. The caller of the
authenticate method can provide an instance of this class as an error
callback. If the authentication fails, the caller can ask the callback
instance for the actual authentication exception.
- Since:
- 1.3.1
- Author:
- Ulrik Sandberg