net.sf.ldaptemplate
Interface AuthenticationSource

All Known Implementing Classes:
AcegiAuthenticationSource

public interface AuthenticationSource

An AuthenticationSource is responsible for providing the principal and credentials to be used when creating a new context.

Author:
Mattias Arthursson

Method Summary
 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

public java.lang.String getPrincipal()
Get the principal to use when creating an authenticated context.

Returns:
the principal (userName).

getCredentials

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

Returns:
the credentials (userName).


Copyright © 2006 Jayway AB. All Rights Reserved.