Package-level declarations

Functions

Link copied to clipboard
fun ldapAuthenticate(credential: UserPasswordCredential, ldapServerURL: String, userDNFormat: String): UserIdPrincipal?
fun <P : Principal> 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 : Credential, 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.