Interface AuthenticationErrorCallback

All Known Implementing Classes:
CollectingAuthenticationErrorCallback

public interface AuthenticationErrorCallback
Callback interface to be used in the authentication methods in LdapOperations for performing operations when there are authentication errors. Can be useful when the cause of the authentication failure needs to be retrieved.
Since:
1.3.1
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method will be called with the authentication exception in case there is a problem with the authentication.
  • Method Details

    • execute

      void execute(Exception e)
      This method will be called with the authentication exception in case there is a problem with the authentication.
      Parameters:
      e - the exception that was caught in the authentication method