ldap

package
v0.0.0-...-f7de4c5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2016 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 3 more Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct{}

Auth implements Authenticator interface to authenticate against LDAP

func (*Auth) Authenticate

func (l *Auth) Authenticate(m models.AuthModel) (*models.User, error)

Authenticate checks user's credential agains LDAP based on basedn template and LDAP URL, if the check is successful a dummy record will be insert into DB, such that this user can be associated to other entities in the system.

Jump to

Keyboard shortcuts

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