ldap

package
v1.29.8 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLDAPFilter

func NewLDAPFilter(c *config.Config) (pipeline.Filter, error)

Types

type LDAPFilter

type LDAPFilter struct {
	Tls            bool     `config:"tls"`
	Host           string   `config:"host"`
	Port           int      `config:"port"`
	BindDn         string   `config:"bind_dn"`
	BindPassword   string   `config:"bind_password"`
	BaseDn         string   `config:"base_dn"`
	UserFilter     string   `config:"user_filter"`
	GroupFilter    string   `config:"group_filter"`
	UidAttribute   string   `config:"uid_attribute"`
	GroupAttribute string   `config:"group_attribute"`
	Attributes     []string `config:"attributes"`
	RequireGroup   bool     `config:"require_group"`
	MaxCacheItems  int      `config:"max_cache_items"`
	CacheTTL       string   `config:"cache_ttl"`

	BypassAPIKey bool `config:"bypass_api_key"`
	// contains filtered or unexported fields
}

func (*LDAPFilter) Filter

func (filter *LDAPFilter) Filter(ctx *fasthttp.RequestCtx)

func (*LDAPFilter) Name

func (filter *LDAPFilter) Name() string

Jump to

Keyboard shortcuts

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