web2ldap
1.7.7
About: web2ldap is a full-featured web-based LDAPv3 client.
![]() ![]() |
Public Member Functions | |
bytes | sanitize (self, bytes attr_value) |
str | form_value (self) |
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-Z0-9_-]+)(\.[a-zA-Z0-9_-]+)*$') | |
int | |
tuple | sani_funcs |
![]() | |
str | |
![]() | |
str | |
string | html_tmpl = '{av}' |
![]() | |
str | |
int | |
bool | |
Plugin class for fully-qualified DNS domain names
Definition at line 2373 of file syntaxes.py.
str web2ldap.app.schema.syntaxes.DNSDomain.display | ( | self, | |
vidx, | |||
links | |||
) |
Reimplemented from web2ldap.app.schema.syntaxes.DirectoryString.
Reimplemented in web2ldap.app.plugins.aedir.AEUserMailaddress, web2ldap.app.plugins.dns.AssociatedDomain, and web2ldap.app.plugins.dns.ResourceRecord.
Definition at line 2404 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.openldap.ReqMod._av, web2ldap.app.schema.syntaxes.LDAPSyntax._av, web2ldap.app.plugins.activedirectory.Interval.av_u, web2ldap.app.schema.syntaxes.LDAPSyntax.av_u(), web2ldap.app.plugins.activedirectory.ObjectSID.form_value(), web2ldap.app.plugins.activedirectory.LogonHours.form_value(), web2ldap.app.plugins.aedir.AEGIDNumber.form_value(), web2ldap.app.plugins.aedir.AEUserUid.form_value(), web2ldap.app.plugins.aedir.AEMemberUid.form_value(), web2ldap.app.plugins.aedir.AEDerefAttribute.form_value(), web2ldap.app.plugins.aedir.AEUserMailaddress.form_value(), web2ldap.app.plugins.aedir.AEZonePrefixCommonName.form_value(), web2ldap.app.plugins.dhcp.DHCPRange.form_value(), web2ldap.app.plugins.dns.AssociatedDomain.form_value(), web2ldap.app.plugins.opends.OpenDSdsCfgAlternatebindDn.form_value(), web2ldap.app.plugins.openldap.OlcRootDN.form_value(), web2ldap.app.plugins.posixautogen.AutogenNumberMixIn.form_value(), web2ldap.app.plugins.posixautogen.AutogenUIDNumber.form_value(), web2ldap.app.plugins.posixautogen.AutogenGIDNumber.form_value(), web2ldap.app.plugins.samba.SambaSID.form_value(), web2ldap.app.plugins.ucs.UniventionLDAPACLData.form_value(), web2ldap.app.schema.syntaxes.LDAPSyntax.form_value(), web2ldap.app.schema.syntaxes.GeneralizedTime.form_value(), web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString.form_value(), web2ldap.app.schema.syntaxes.OctetString.form_value(), web2ldap.app.schema.syntaxes.MultilineText.form_value(), web2ldap.app.schema.syntaxes.Timespan.form_value(), web2ldap.app.schema.syntaxes.BitArrayInteger.form_value(), web2ldap.app.schema.syntaxes.DNSDomain.form_value(), web2ldap.app.schema.syntaxes.RFC822Address.form_value(), and web2ldap.app.schema.syntaxes.ComposedAttribute.form_value().
str web2ldap.app.schema.syntaxes.DNSDomain.form_value | ( | self | ) |
Transform LDAP string representations to HTML form input field values. Returns Unicode string to be encoded with the browser's accepted charset. This is the inverse of LDAPSyntax.sanitize().
Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.
Reimplemented in web2ldap.app.plugins.aedir.AEUserMailaddress, web2ldap.app.plugins.dns.AssociatedDomain, and web2ldap.app.schema.syntaxes.RFC822Address.
Definition at line 2394 of file syntaxes.py.
References web2ldap.app.plugins.openldap.ReqMod._av, and web2ldap.app.schema.syntaxes.LDAPSyntax._av.
Referenced by web2ldap.app.schema.syntaxes.DNSDomain.display(), web2ldap.app.plugins.activedirectory.LogonHours.input_field(), web2ldap.app.plugins.aedir.AEHomeDirectory.input_field(), web2ldap.app.plugins.aedir.AEUIDNumber.input_field(), web2ldap.app.plugins.aedir.AEUserUid.input_field(), web2ldap.app.plugins.aedir.AEMemberUid.input_field(), web2ldap.app.plugins.aedir.AEDerefAttribute.input_field(), web2ldap.app.plugins.aedir.AEUniqueIdentifier.input_field(), web2ldap.app.plugins.aedir.AERFC822MailMember.input_field(), web2ldap.app.plugins.aedir.AESudoHost.input_field(), web2ldap.app.schema.syntaxes.LDAPSyntax.input_field(), web2ldap.app.schema.syntaxes.Integer.input_field(), web2ldap.app.schema.syntaxes.OctetString.input_field(), web2ldap.app.schema.syntaxes.MultilineText.input_field(), web2ldap.app.schema.syntaxes.SelectList.input_field(), web2ldap.app.schema.syntaxes.BitArrayInteger.input_field(), and web2ldap.app.schema.syntaxes.ComposedAttribute.input_field().
bytes web2ldap.app.schema.syntaxes.DNSDomain.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.
Reimplemented in web2ldap.app.plugins.dns.AssociatedDomain, and web2ldap.app.schema.syntaxes.RFC822Address.
Definition at line 2387 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, and web2ldap.app.search.PrintableHTMLWriter._app.
|
static |
Definition at line 2381 of file syntaxes.py.
|
static |
Definition at line 2379 of file syntaxes.py.
Referenced by web2ldap.app.schema.syntaxes.LDAPSyntax.validate().
|
static |
Definition at line 2382 of file syntaxes.py.
Referenced by web2ldap.app.schema.syntaxes.LDAPSyntax.sanitize().
|
static |
Definition at line 2377 of file syntaxes.py.