web2ldap
1.7.7
About: web2ldap is a full-featured web-based LDAPv3 client.
![]() ![]() |
Public Member Functions | |
str | value_button (self, command, row, mode, link_text=None) |
bytes | sanitize (self, bytes attr_value) |
str | display (self, vidx, links) |
str | display (self, vidx, links) |
![]() | |
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 | |
str | |
pattern = re.compile(r'^([a-zA-Z]+[a-zA-Z0-9;-]*|[0-2]?\.([0-9]+\.)*[0-9]+)$') | |
no_val_button_attrs | |
![]() | |
str | |
![]() | |
str | |
string | html_tmpl = '{av}' |
![]() | |
str | |
int | |
bool | |
Plugin class for LDAP syntax 'OID' (see https://datatracker.ietf.org/doc/html/rfc4517#section-3.3.26)
Definition at line 1237 of file syntaxes.py.
str web2ldap.app.schema.syntaxes.OID.display | ( | self, | |
vidx, | |||
links | |||
) |
Reimplemented from web2ldap.app.schema.syntaxes.DirectoryString.
Reimplemented in web2ldap.app.plugins.activedirectory.ClassSchemaLDAPName, and web2ldap.app.plugins.activedirectory.AttributeSchemaLDAPName.
Definition at line 1260 of file syntaxes.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.edirectory.OctetStringGUID._at, web2ldap.app.schema.syntaxes.LDAPSyntax._at, web2ldap.app.schema.syntaxes.LDAPSyntax._schema, web2ldap.app.schema.viewer.DisplaySchemaElement._schema, web2ldap.app.plugins.activedirectory.Interval.av_u, web2ldap.app.schema.syntaxes.LDAPSyntax.av_u(), and web2ldap.app.schema.schema_anchor().
bytes web2ldap.app.schema.syntaxes.OID.sanitize | ( | self, | |
bytes | attr_value | ||
) |
Transforms the HTML form input field values into LDAP string representations and returns raw binary string. This is the inverse of LDAPSyntax.form_value(). When using this method one MUST NOT assume that the whole entry is present.
Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.
Definition at line 1257 of file syntaxes.py.
str web2ldap.app.schema.syntaxes.OID.value_button | ( | self, | |
command, | |||
row, | |||
mode, | |||
link_text = None |
|||
) |
return HTML markup of [+] or [-] submit buttons for adding/removing attribute values row row number in input table mode '+' or '-' link_text optionally override displayed link link_text
Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.
Definition at line 1252 of file syntaxes.py.
References web2ldap.app.plugins.edirectory.OctetStringGUID._at, web2ldap.app.schema.syntaxes.LDAPSyntax._at, and web2ldap.app.schema.syntaxes.OID.no_val_button_attrs.
|
static |
Definition at line 1245 of file syntaxes.py.
Referenced by web2ldap.app.schema.syntaxes.OID.value_button().
|
static |
Definition at line 1244 of file syntaxes.py.
Referenced by web2ldap.app.schema.syntaxes.LDAPSyntax.validate().
|
static |
Definition at line 1242 of file syntaxes.py.