Interface ILDAPAuthenticatorProvider

All Known Implementing Classes:
LDAPAuthenticatorProvider

public interface ILDAPAuthenticatorProvider
To define your own user authentication logic against your LDAP server.

Sometimes the default logic that XavaPro uses to authenticate against the LDAP server is not sufficient, you may want to authenticate against multiple LDAP servers, a special LDAP server that requires special code, etc. Create a class that implement this interface and add an entry in naviox.properties of your project, like:

 ldapAuthenticatorProviderClass=com.mycompany.myapp.impl.MyCustomLDAPAuthenticatorProvider 
 
Since:
7.4
Author:
Javier Paniza
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isValidLogin(String user, String password)
    Return true if it achieves to connect to the LDAP server with the user and password indicated.
  • Method Details

    • isValidLogin

      boolean isValidLogin(String user, String password)
      Return true if it achieves to connect to the LDAP server with the user and password indicated.