ldap

package
v0.0.0-...-44f170f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Backend = "ldap"

Backend name

View Source
const DefaultFilter = "(&(objectClass=user)(sAMAccountName=%s))"

DefaultFilter is the defauilt LDAP filter

View Source
const DefaultPoolSize = 10

DefaultPoolSize connection pool size

View Source
const DefaultTimeout = time.Minute

DefaultTimeout for sub requests

Variables

This section is empty.

Functions

This section is empty.

Types

type LDAP

type LDAP struct {
	// contains filtered or unexported fields
}

LDAP backend provides authentication against LDAP paths, for example for Microsoft AD.

func (*LDAP) Authenticate

func (h *LDAP) Authenticate(r *http.Request) (bool, error)

Authenticate fulfils the backend interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL