Class LdapClientImpl
java.lang.Object
org.gridgain.internal.security.ldap.client.LdapClientImpl
- All Implemented Interfaces:
LdapClient
Common Ldap client implementation.
-
Constructor Summary
ConstructorsConstructorDescriptionLdapClientImpl(org.gridgain.internal.security.ldap.configuration.LdapAuthenticationProviderView ldapAuthenticationProviderView) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(String username, String password) Authenticates method.
-
Constructor Details
-
LdapClientImpl
public LdapClientImpl(org.gridgain.internal.security.ldap.configuration.LdapAuthenticationProviderView ldapAuthenticationProviderView) Constructor.- Parameters:
ldapAuthenticationProviderView- Ldap authentication configuration.
-
-
Method Details
-
authenticate
public LdapUserContext authenticate(String username, String password) throws LdapAuthenticationException Description copied from interface:LdapClientAuthenticates method.- Specified by:
authenticatein interfaceLdapClient- Parameters:
username- Name of authenticated user.password- Password of authenticated user.- Returns:
- Context with authenticated information.
- Throws:
LdapAuthenticationException- in case when authentication is failed.
-