ldapAuthenticate
fun <K : Credential, P : Any> ldapAuthenticate(credential: K, ldapServerURL: String, ldapEnvironmentBuilder: (MutableMap<String, Any?>) -> Unit = {}, doVerify: InitialDirContext.(K) -> P?): P?
Content copied to clipboard
Provides the ability to authenticates an LDAP user. This function accepts a credential and validates it against a specified LDAP server.
To learn more about LDAP authentication in Ktor, see LDAP.
fun ldapAuthenticate(credential: UserPasswordCredential, ldapServerURL: String, userDNFormat: String, validate: InitialDirContext.(UserPasswordCredential) -> UserIdPrincipal?): UserIdPrincipal?
Content copied to clipboard
fun ldapAuthenticate(credential: UserPasswordCredential, ldapServerURL: String, userDNFormat: String): UserIdPrincipal?
Content copied to clipboard
Provides the ability to authenticates an LDAP user. This function accepts UserPasswordCredential and validates it against a specified LDAP server.
To learn more about LDAP authentication in Ktor, see LDAP.