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) |
![]() | |
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 | |
![]() | |
str | |
![]() | |
str | |
string | html_tmpl = '{av}' |
![]() | |
str | |
int | |
bool | |
Private Member Functions | |
bool | _validate (self, bytes attr_value) |
More information: http://www.bzst.de/DE/Steuern_International/USt_Identifikationsnummer/Merkblaetter/Aufbau_USt_IdNr.pdf https://de.wikipedia.org/wiki/Umsatzsteuer-Identifikationsnummer
Definition at line 68 of file msperson.py.
|
private |
check the syntax of attr_value Implementors can overload this method to apply arbitrary syntax checks.
Reimplemented from web2ldap.app.schema.syntaxes.IA5String.
Definition at line 108 of file msperson.py.
References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, and web2ldap.app.search.PrintableHTMLWriter._app.
Referenced by web2ldap.app.schema.syntaxes.Image.sanitize(), and web2ldap.app.schema.syntaxes.LDAPSyntax.validate().
bytes web2ldap.app.plugins.msperson.EuVATId.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 117 of file msperson.py.
|
static |
Definition at line 76 of file msperson.py.
Referenced by web2ldap.app.schema.syntaxes.LDAPSyntax.validate().
|
static |
Definition at line 74 of file msperson.py.