Documentation ¶
Index ¶
- func CheckDNFilter(filter string, dn string) bool
- func ExtractFilterValue(filter string, key string) string
- func GetUsernameFromDN(dn string) string
- func ParseDN(dn string) map[string]string
- func ParseDNFilter(filter string) (string, []string)
- func ValidateDN(baseDN string, dn string) bool
- type IRODSAuth
- type LDAPService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDNFilter ¶
CheckDNFilter checks if dn satisfies filter
func ExtractFilterValue ¶
ExtractFilterValue extracts filter value
func GetUsernameFromDN ¶
GetUsernameFromDN returns username from dn
func ParseDNFilter ¶
func ValidateDN ¶
ValidateDN validates if dn is based on baseDN
Types ¶
type IRODSAuth ¶
type IRODSAuth struct {
// contains filtered or unexported fields
}
IRODSAuth is a module for iRODS auth
func NewIRODSAuth ¶
NewLDAP creates a new LDAP service
type LDAPService ¶
type LDAPService struct {
// contains filtered or unexported fields
}
LDAPService is a service object
func NewLDAP ¶
func NewLDAP(config *commons.Config) (*LDAPService, error)
NewLDAP creates a new LDAP service
func (*LDAPService) Start ¶
func (svc *LDAPService) Start() error
Click to show internal directories.
Click to hide internal directories.