Module : ldap

Module Overview

This module provides inbound LDAP authentication provider, which can be used to authenticate using LDAP credentials.

The ldap:InboundLdapAuthProvider is another implementation of the auth:InboundAuthProvider interface. This connects to an active directory or an LDAP, retrieves the necessary user information, and performs authentication and authorization.

ldap:InboundLdapAuthProvider ldapAuthProvider = new(ldapConfig, "instanceId");

Records

LdapConnectionConfig Represents configurations that required for LDAP auth store.
SecureClientSocket Configures the SSL/TLS options to be used for LDAP communication.

Objects

InboundLdapAuthProvider

Represents Ballerina configuration for LDAP based auth provider.