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.schema.syntaxes.DirectoryString Class Reference
Inheritance diagram for web2ldap.app.schema.syntaxes.DirectoryString:
[legend]
Collaboration diagram for web2ldap.app.schema.syntaxes.DirectoryString:
[legend]

Public Member Functions

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

 str
 
string html_tmpl = '{av}'
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.LDAPSyntax
 str
 
 int
 
 bool
 

Private Member Functions

bool _validate (self, bytes attr_value)
 

Detailed Description

Plugin class for LDAP syntax 'Directory String'
(see https://datatracker.ietf.org/doc/html/rfc4517#section-3.3.6)

Definition at line 516 of file syntaxes.py.

Member Function Documentation

◆ _validate()

bool web2ldap.app.schema.syntaxes.DirectoryString._validate (   self,
bytes  attr_value 
)
private
check the syntax of attr_value

Implementors can overload this method to apply arbitrary syntax checks.

Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.

Reimplemented in web2ldap.app.plugins.activedirectory.ObjectSID, web2ldap.app.plugins.activedirectory.DNWithOctetString, web2ldap.app.plugins.activedirectory.MsDSReplAttributeMetaData, web2ldap.app.plugins.aedir.AEHomeDirectory, web2ldap.app.plugins.aedir.AEGroupMember, web2ldap.app.plugins.aedir.AEMemberUid, web2ldap.app.plugins.aedir.AEPerson, web2ldap.app.plugins.aedir.AEUserMailaddress, web2ldap.app.plugins.aedir.AEPersonMailaddress, web2ldap.app.plugins.aedir.AEHostname, web2ldap.app.plugins.aedir.AEZonePrefixCommonName, web2ldap.app.plugins.aedir.AENotAfter, web2ldap.app.plugins.aedir.AEStatus, web2ldap.app.plugins.dhcp.DHCPRange, web2ldap.app.plugins.dns.AssociatedDomain, web2ldap.app.plugins.dns.SSHFPRecord, web2ldap.app.plugins.dyngroup.MemberUrl, web2ldap.app.plugins.msperson.EuVATId, web2ldap.app.plugins.nis.GidNumber, web2ldap.app.plugins.nis.MemberUID, web2ldap.app.plugins.openldap.OlcSchemaDescription, web2ldap.app.plugins.openldap.ReqMod, web2ldap.app.plugins.opensshlpk.SshPublicKey, web2ldap.app.plugins.pgpkeysrv.OtherPgpCertID, web2ldap.app.plugins.ppolicy.PwdAttribute, web2ldap.app.plugins.ppolicy.PwdAccountLockedTime, web2ldap.app.plugins.schac.SchacYearOfBirth, web2ldap.app.schema.syntaxes.DistinguishedName, web2ldap.app.schema.syntaxes.NameAndOptionalUID, web2ldap.app.schema.syntaxes.IA5String, web2ldap.app.schema.syntaxes.GeneralizedTime, web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString, web2ldap.app.schema.syntaxes.Integer, web2ldap.app.schema.syntaxes.IPHostAddress, web2ldap.app.schema.syntaxes.IPNetworkAddress, web2ldap.app.schema.syntaxes.Date, web2ldap.app.schema.syntaxes.DateOfBirth, web2ldap.app.schema.syntaxes.SelectList, web2ldap.app.schema.syntaxes.DynamicValueSelectList, web2ldap.app.schema.syntaxes.DynamicDNSelectList, web2ldap.app.schema.syntaxes.Boolean, web2ldap.app.schema.syntaxes.JSONValue, web2ldap.app.schema.syntaxes.XmlValue, and web2ldap.app.schema.syntaxes.SchemaDescription.

Definition at line 525 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.

Referenced by web2ldap.app.schema.syntaxes.Image.sanitize(), and web2ldap.app.schema.syntaxes.LDAPSyntax.validate().

◆ display()

str web2ldap.app.schema.syntaxes.DirectoryString.display (   self,
  vidx,
  links 
)

Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.

Reimplemented in web2ldap.app.plugins.activedirectory.ObjectVersion, web2ldap.app.plugins.activedirectory.ObjectSID, web2ldap.app.plugins.activedirectory.OtherSID, web2ldap.app.plugins.activedirectory.DNWithOctetString, web2ldap.app.plugins.activedirectory.Interval, web2ldap.app.plugins.activedirectory.LockoutTime, web2ldap.app.plugins.activedirectory.ClassSchemaLDAPName, web2ldap.app.plugins.activedirectory.AttributeSchemaLDAPName, web2ldap.app.plugins.aedir.AEMemberUid, web2ldap.app.plugins.aedir.AEGroupDN, web2ldap.app.plugins.aedir.AEUserMailaddress, web2ldap.app.plugins.aedir.AECommonNameAETag, web2ldap.app.plugins.aedir.AEStatus, web2ldap.app.plugins.apple.UUIDReference, web2ldap.app.plugins.dds.EntryTTL, web2ldap.app.plugins.dhcp.DHCPConfigStatement, web2ldap.app.plugins.dns.AssociatedDomain, web2ldap.app.plugins.dns.ResourceRecord, web2ldap.app.plugins.dns.ARecord, web2ldap.app.plugins.dns.AAAARecord, web2ldap.app.plugins.dns.SSHFPRecord, web2ldap.app.plugins.edirectory.IndexDefinition, web2ldap.app.plugins.edirectory.TaggedNameAndString, web2ldap.app.plugins.lotusdomino.DominoCertificate, web2ldap.app.plugins.nis.GidNumber, web2ldap.app.plugins.nis.MemberUID, web2ldap.app.plugins.oath.OathSecretTime, web2ldap.app.plugins.opends.OpenDSSyncHist, web2ldap.app.plugins.openldap.OlcMultilineText, web2ldap.app.plugins.openldap.OlcSyncRepl, web2ldap.app.plugins.openldap.AuditContext, web2ldap.app.plugins.openldap.ReqMod, web2ldap.app.plugins.openldap.ReqControls, web2ldap.app.plugins.openldap.ReqEntryUUID, web2ldap.app.plugins.openldap.ReqSession, web2ldap.app.plugins.opensshlpk.SshPublicKey, web2ldap.app.plugins.ppolicy.PwdMaxAge, web2ldap.app.plugins.ppolicy.PwdAccountLockedTime, web2ldap.app.plugins.ppolicy.PwdChangedTime, web2ldap.app.plugins.quirks.UserPassword, web2ldap.app.plugins.samba.SambaAcctFlags, web2ldap.app.plugins.ucs.UniventionLDAPACLData, web2ldap.app.schema.syntaxes.DistinguishedName, web2ldap.app.schema.syntaxes.AuthzDN, web2ldap.app.schema.syntaxes.NameAndOptionalUID, web2ldap.app.schema.syntaxes.GeneralizedTime, web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString, web2ldap.app.schema.syntaxes.Uri, web2ldap.app.schema.syntaxes.OID, web2ldap.app.schema.syntaxes.LDAPUrl, web2ldap.app.schema.syntaxes.MultilineText, web2ldap.app.schema.syntaxes.PreformattedMultilineText, web2ldap.app.schema.syntaxes.DateOfBirth, web2ldap.app.schema.syntaxes.SecondsSinceEpoch, web2ldap.app.schema.syntaxes.DaysSinceEpoch, web2ldap.app.schema.syntaxes.Timespan, web2ldap.app.schema.syntaxes.SelectList, web2ldap.app.schema.syntaxes.DynamicValueSelectList, web2ldap.app.schema.syntaxes.DynamicDNSelectList, web2ldap.app.schema.syntaxes.Boolean, web2ldap.app.schema.syntaxes.BitArrayInteger, and web2ldap.app.schema.syntaxes.DNSDomain.

Definition at line 532 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.activedirectory.Interval.av_u, web2ldap.app.schema.syntaxes.LDAPSyntax.av_u(), web2ldap.app.plugins.aedir.AEPersonMailaddress.html_tmpl, web2ldap.app.plugins.aedir.AERFC822MailMember.html_tmpl, web2ldap.app.schema.syntaxes.DirectoryString.html_tmpl, and web2ldap.app.schema.syntaxes.RFC822Address.html_tmpl.

Member Data Documentation

◆ html_tmpl

string web2ldap.app.schema.syntaxes.DirectoryString.html_tmpl = '{av}'
static

Definition at line 523 of file syntaxes.py.

Referenced by web2ldap.app.schema.syntaxes.DirectoryString.display().

◆ str

web2ldap.app.schema.syntaxes.DirectoryString.str
static

Definition at line 521 of file syntaxes.py.


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