UserConfiguration#

class UserConfiguration(user_object_class=None, user_search_base=None, username_attribute=None, *args, **kwargs)#

Bases: object

User configuration for OpenLDAP directory service.

Parameters:
  • user_object_class (required max=64 chars) – (user_object_class) Object class in the OpenLDAP system that corresponds to the users.

  • user_search_base (required max=200 chars) – (user_search_base) Base DN for user search.

  • username_attribute (required max=64 chars) – (username_attribute) Unique identifier for each user that can be used in authentication.

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property user_object_class#

Object class in the OpenLDAP system that corresponds to the users.

Type:

str

property user_search_base#

Base DN for user search.

Type:

str

property username_attribute#

Unique identifier for each user that can be used in authentication.

Type:

str