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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCredentials()
      Get the credentials to use when creating an authenticated context.
      java.lang.String getPrincipal()
      Get the principal to use when creating an authenticated context.
    • Method Detail

      • getPrincipal

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

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