web2ldap  1.7.7
About: web2ldap is a full-featured web-based LDAPv3 client.
  Fossies Dox: web2ldap-1.7.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

web2ldap.app.plugins.aedir.AEGroupMember Class Reference
Inheritance diagram for web2ldap.app.plugins.aedir.AEGroupMember:
[legend]
Collaboration diagram for web2ldap.app.plugins.aedir.AEGroupMember:
[legend]

Public Member Functions

Dict[str, strget_attr_value_dict (self)
 
List[bytes] transmute (self, List[bytes] attr_values)
 
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.DynamicDNSelectList
str display (self, vidx, links)
 
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.DynamicValueSelectList
def __init__ (self, app, str dn, schema, str attrType, bytes attr_value, entry=None)
 
str display (self, vidx, links)
 
Dict[str, strget_attr_value_dict (self)
 
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.SelectList
Dict[str, strget_attr_value_dict (self)
 
str display (self, vidx, links)
 
web_forms.Field input_field (self)
 
str display (self, vidx, links)
 
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.LDAPSyntax
def __init__ (self, app, Optional[str] dn, SubSchema schema, Optional[str] attrType, Optional[bytes] attr_value, entry=None)
 
def dn (self)
 
def av_u (self)
 
bytes sanitize (self, bytes attr_value)
 
List[bytes] transmute (self, List[bytes] attr_values)
 
def validate (self, bytes attr_value)
 
str value_button (self, command, row, mode, link_text=None)
 
str form_value (self)
 
def input_fields (self)
 
web_forms.Field input_field (self)
 
str display (self, vidx, links)
 
str display (self, vidx, links)
 
- Public Member Functions inherited from web2ldap.app.plugins.aedir.AEObjectMixIn
def ae_status (self)
 

Public Attributes

 ae_status
 
- Public Attributes inherited from web2ldap.app.schema.syntaxes.DynamicValueSelectList
 lu_obj
 
 min_len
 

Static Public Attributes

 str
 
bool input_fallback = False
 
tuple ldap_url
 
tuple deref_person_attrs = ('aeDept', 'aeLocation')
 
 structural_oc_oids
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.DerefDynamicDNSelectList
 str
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.DynamicDNSelectList
 str
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.DynamicValueSelectList
 str
 
tuple ignored_errors
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.SelectList
 str
 
 bool
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.DirectoryString
 str
 
string html_tmpl = '{av}'
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.LDAPSyntax
 str
 
 int
 
 bool
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.DistinguishedName
 str
 
bool isBindDN = False
 
bool hasSubordinates = False
 

Private Member Functions

def _zone_filter (self)
 
def _deref_person_attrset (self)
 
def _filterstr (self)
 
def _extract_attr_value_dict (self, ldap_result, deref_person_attrset)
 
bool _validate (self, bytes attr_value)
 

Detailed Description

Plugin for attribute 'member' in aeGroup entries

Definition at line 516 of file aedir.py.

Member Function Documentation

◆ _deref_person_attrset()

def web2ldap.app.plugins.aedir.AEGroupMember._deref_person_attrset (   self)
private

◆ _extract_attr_value_dict()

def web2ldap.app.plugins.aedir.AEGroupMember._extract_attr_value_dict (   self,
  ldap_result,
  deref_person_attrset 
)
private

◆ _filterstr()

◆ _validate()

bool web2ldap.app.plugins.aedir.AEGroupMember._validate (   self,
bytes  attr_value 
)
private
check the syntax of attr_value

Implementors can overload this method to apply arbitrary syntax checks.

Reimplemented from web2ldap.app.schema.syntaxes.DynamicDNSelectList.

Definition at line 621 of file aedir.py.

References web2ldap.app.schema.syntaxes.LDAPSyntax._entry.

Referenced by web2ldap.app.schema.syntaxes.Image.sanitize(), and web2ldap.app.schema.syntaxes.LDAPSyntax.validate().

◆ _zone_filter()

◆ get_attr_value_dict()

Dict[str, str] web2ldap.app.plugins.aedir.AEGroupMember.get_attr_value_dict (   self)

Reimplemented from web2ldap.app.schema.syntaxes.DynamicValueSelectList.

Definition at line 593 of file aedir.py.

References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.aedir.AEGroupMember._deref_person_attrset(), web2ldap.app.plugins.aedir.AEGroupMember._extract_attr_value_dict(), web2ldap.app.plugins.aedir.AENwDevice._filterstr(), web2ldap.app.plugins.aedir.AEGroupMember._filterstr(), web2ldap.app.plugins.aedir.AESrvGroup._filterstr(), web2ldap.app.plugins.aedir.AEProxyFor._filterstr(), web2ldap.app.plugins.aedir.AEPerson._filterstr(), web2ldap.app.plugins.aedir.AEPersonMailaddress._filterstr(), web2ldap.app.plugins.aedir.AEOathHOTPToken._filterstr(), web2ldap.app.schema.syntaxes.DynamicValueSelectList._filterstr(), web2ldap.app.plugins.aedir.AERootDynamicDNSelectList._search_root(), web2ldap.app.plugins.aedir.AENwDevice._search_root(), web2ldap.app.plugins.aedir.AESameZoneObject._search_root(), web2ldap.app.schema.syntaxes.DynamicValueSelectList._search_root(), web2ldap.app.schema.syntaxes.DynamicValueSelectList.ignored_errors, and web2ldap.app.schema.syntaxes.DynamicValueSelectList.lu_obj.

Referenced by web2ldap.app.schema.syntaxes.SelectList._sorted_select_options(), web2ldap.app.plugins.aedir.AEPersonMailaddress._validate(), web2ldap.app.schema.syntaxes.SelectList._validate(), web2ldap.app.schema.syntaxes.SelectList.display(), and web2ldap.app.schema.syntaxes.SelectList.input_field().

◆ transmute()

List[bytes] web2ldap.app.plugins.aedir.AEGroupMember.transmute (   self,
List[bytes]  attr_values 
)
This method can be implemented to transmute attribute values and has
to handle LDAP string representations (raw binary strings).

This method has access to the whole entry after processing all input.

Implementors should be prepared that this method could be called
more than once. If there's nothing to change then simply return the
same value list.

Exceptions KeyError or IndexError are caught by the calling code to
re-iterate invoking this method.

Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.

Definition at line 627 of file aedir.py.

Member Data Documentation

◆ ae_status

web2ldap.app.plugins.aedir.AEGroupMember.ae_status

Definition at line 628 of file aedir.py.

Referenced by web2ldap.app.plugins.aedir.AEPerson._status_filter().

◆ deref_person_attrs

tuple web2ldap.app.plugins.aedir.AEGroupMember.deref_person_attrs = ('aeDept', 'aeLocation')
static

◆ input_fallback

bool web2ldap.app.plugins.aedir.AEGroupMember.input_fallback = False
static

Definition at line 522 of file aedir.py.

Referenced by web2ldap.app.schema.syntaxes.SelectList.input_field().

◆ ldap_url

tuple web2ldap.app.plugins.aedir.AEGroupMember.ldap_url
static
Initial value:
= (
'ldap:///_?displayName?sub?'
'(&(|(objectClass=aeUser)(objectClass=aeService))(aeStatus=0))'
)

Definition at line 523 of file aedir.py.

Referenced by web2ldap.app.plugins.nis.MemberUID.__init__(), web2ldap.app.plugins.nis.MemberUID._validate(), web2ldap.app.handler.AppHandler.dispatch(), web2ldap.app.plugins.nis.MemberUID.input_field(), and web2ldap.app.handler.AppHandler.run().

◆ str

web2ldap.app.plugins.aedir.AEGroupMember.str
static

Definition at line 520 of file aedir.py.

◆ structural_oc_oids

web2ldap.app.plugins.aedir.AEGroupMember.structural_oc_oids
static

Definition at line 636 of file aedir.py.


The documentation for this class was generated from the following file: