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.plugins.ucs.UniventionLDAPACLData Class Reference
Inheritance diagram for web2ldap.app.plugins.ucs.UniventionLDAPACLData:
[legend]
Collaboration diagram for web2ldap.app.plugins.ucs.UniventionLDAPACLData:
[legend]

Public Member Functions

bytes sanitize (self, bytes attr_value)
 
str form_value (self)
 
def validate (self, bytes attr_value)
 
str display (self, vidx, links)
 
str display (self, vidx, links)
 
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.MultilineText
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)
 
- 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
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.PreformattedMultilineText
 str
 
int cols = 66
 
string tab_identiation = '    '
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.MultilineText
 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
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.DirectoryString
 str
 
string html_tmpl = '{av}'
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.LDAPSyntax
 str
 
 int
 
 bool
 

Private Member Functions

def _split_lines (self, value)
 

Detailed Description

Definition at line 101 of file ucs.py.

Member Function Documentation

◆ _split_lines()

◆ display()

str web2ldap.app.plugins.ucs.UniventionLDAPACLData.display (   self,
  vidx,
  links 
)

Reimplemented from web2ldap.app.schema.syntaxes.PreformattedMultilineText.

Definition at line 121 of file ucs.py.

◆ form_value()

str web2ldap.app.plugins.ucs.UniventionLDAPACLData.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.MultilineText.

Definition at line 108 of file ucs.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.ucs.UniventionLDAPACLData._split_lines(), web2ldap.app.schema.syntaxes.MultilineText._split_lines(), web2ldap.app.schema.syntaxes.PostalAddress._split_lines(), and web2ldap.app.schema.syntaxes.JSONValue._split_lines().

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().

◆ sanitize()

bytes web2ldap.app.plugins.ucs.UniventionLDAPACLData.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 105 of file ucs.py.

◆ validate()

def web2ldap.app.plugins.ucs.UniventionLDAPACLData.validate (   self,
bytes  attr_value 
)

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

Definition at line 115 of file ucs.py.

Member Data Documentation

◆ str

web2ldap.app.plugins.ucs.UniventionLDAPACLData.str
static

Definition at line 102 of file ucs.py.


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