web2ldap
1.7.7
About: web2ldap is a full-featured web-based LDAPv3 client.
![]() ![]() |
Public Member Functions | |
bytes | sanitize (self, bytes attr_value) |
![]() | |
str | display (self, vidx, links) |
![]() | |
bytes | sanitize (self, bytes attr_value) |
str | display (self, vidx, links) |
str | form_value (self) |
web_forms.Field | input_field (self) |
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 | |
string | lineSep = b'\n' |
![]() | |
str | |
int | cols = 66 |
string | tab_identiation = ' ' |
![]() | |
str | |
pattern = re.compile('^.*$', re.S+re.M) | |
string | lineSep = b'\r\n' |
int | cols = 66 |
int | min_input_rows = 1 |
int | max_input_rows = 30 |
![]() | |
str | |
string | html_tmpl = '{av}' |
![]() | |
str | |
int | |
bool | |
Private Member Functions | |
bool | _validate (self, bytes attr_value) |
def | _split_lines (self, value) |
Plugin class used for JSON data (see RFC 8259)
Definition at line 2461 of file syntaxes.py.
|
private |
Reimplemented from web2ldap.app.schema.syntaxes.MultilineText.
Definition at line 2477 of file syntaxes.py.
Referenced by web2ldap.app.plugins.lotusdomino.DominoCertificate.display(), web2ldap.app.schema.syntaxes.MultilineText.display(), web2ldap.app.schema.syntaxes.PreformattedMultilineText.display(), web2ldap.app.plugins.ucs.UniventionLDAPACLData.form_value(), and web2ldap.app.schema.syntaxes.MultilineText.form_value().
|
private |
check the syntax of attr_value Implementors can overload this method to apply arbitrary syntax checks.
Reimplemented from web2ldap.app.schema.syntaxes.DirectoryString.
Definition at line 2470 of file syntaxes.py.
Referenced by web2ldap.app.schema.syntaxes.Image.sanitize(), and web2ldap.app.schema.syntaxes.LDAPSyntax.validate().
bytes web2ldap.app.schema.syntaxes.JSONValue.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.MultilineText.
Definition at line 2491 of file syntaxes.py.
|
static |
|
static |
Definition at line 2465 of file syntaxes.py.