Interface AuthenticationSource

All Known Implementing Classes:
DefaultValuesAuthenticationSourceDecorator

public interface AuthenticationSource
An AuthenticationSource is responsible for providing the principal (user DN) and credentials to be used when creating a new context.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the credentials to use when creating an authenticated context.
    Get the principal to use when creating an authenticated context.
  • Method Details

    • getPrincipal

      String getPrincipal()
      Get the principal to use when creating an authenticated context.
      Returns:
      the principal (userDn).
    • getCredentials

      String getCredentials()
      Get the credentials to use when creating an authenticated context.
      Returns:
      the credentials (password).