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.AEHostname Class Reference
Inheritance diagram for web2ldap.app.plugins.aedir.AEHostname:
Collaboration diagram for web2ldap.app.plugins.aedir.AEHostname:

Public Member Functions

List[bytes] transmute (self, List[bytes] attr_values)
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.DNSDomain
bytes sanitize (self, bytes attr_value)
str form_value (self)
str display (self, vidx, links)
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)

Static Public Attributes

int host_lookup = 0
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.DNSDomain
 pattern = re.compile(r'^(\*|[a-zA-Z0-9_-]+)(\.[a-zA-Z0-9_-]+)*$')
tuple sani_funcs
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.IA5String
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.DirectoryString
string html_tmpl = '{av}'
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.LDAPSyntax

Private Member Functions

bool _validate (self, bytes attr_value)

Detailed Description

Plugin class for attribute 'host' in aeHost entries

Definition at line 1824 of file aedir.py.

Member Function Documentation

◆ _validate()

bool web2ldap.app.plugins.aedir.AEHostname._validate (   self,
bytes  attr_value 

◆ transmute()

List[bytes] web2ldap.app.plugins.aedir.AEHostname.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 1849 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, and web2ldap.app.plugins.aedir.AEHostname.host_lookup.

Member Data Documentation

◆ host_lookup

int web2ldap.app.plugins.aedir.AEHostname.host_lookup = 0

◆ str


Definition at line 1828 of file aedir.py.

◆ structural_oc_oids


Definition at line 1868 of file aedir.py.

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