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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isValidLogin​(java.lang.String user, java.lang.String password)
      Return true if it achieves to connect to the LDAP server with the user and password indicated.
    • Method Detail

      • isValidLogin

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