Package-level declarations

Functions

Link copied to clipboard
fun ldapAuthenticate(credential: UserPasswordCredential, ldapServerURL: String, userDNFormat: String): UserIdPrincipal?
fun <P : Any> ldapAuthenticate(    credential: UserPasswordCredential,     ldapServerURL: String,     userDNFormat: String,     validate: InitialDirContext.(UserPasswordCredential) -> P?): P?

Provides the ability to authenticates an LDAP user. This function accepts UserPasswordCredential and validates it against a specified LDAP server.

fun <K : Any, P : Any> ldapAuthenticate(    credential: K,     ldapServerURL: String,     ldapEnvironmentBuilder: (MutableMap<String, Any?>) -> Unit = {},     doVerify: InitialDirContext.(K) -> P?): P?

Provides the ability to authenticates an LDAP user. This function accepts a credential and validates it against a specified LDAP server.