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

Public Member Functions

str display (self, vidx, links)
 
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.GeneralizedTime
str form_value (self)
 
bytes sanitize (self, bytes attr_value)
 
str display (self, vidx, links)
 
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
 
dictionary magic_values
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.GeneralizedTime
 str
 
 int
 
 pattern = re.compile(r'^([0-9]){12,14}((\.|,)[0-9]+)*(Z|(\+|-)[0-9]{4})$')
 
 timeDefault = None
 
 notBefore = None
 
 notAfter = None
 
string form_value_fmt = '%Y-%m-%dT%H:%M:%SZ'
 
tuple dtFormats
 
tuple acceptable_formats
 
tuple dt_display_format
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.IA5String
 str
 
- 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

bool _validate (self, bytes attr_value)
 

Detailed Description

Definition at line 150 of file ppolicy.py.

Member Function Documentation

◆ _validate()

bool web2ldap.app.plugins.ppolicy.PwdAccountLockedTime._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.GeneralizedTime.

Definition at line 157 of file ppolicy.py.

References web2ldap.app.plugins.ppolicy.PwdAccountLockedTime.magic_values.

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

◆ display()

str web2ldap.app.plugins.ppolicy.PwdAccountLockedTime.display (   self,
  vidx,
  links 
)

Member Data Documentation

◆ magic_values

dictionary web2ldap.app.plugins.ppolicy.PwdAccountLockedTime.magic_values
static
Initial value:
= {
b'000001010000Z': 'permanently locked',
}

Definition at line 153 of file ppolicy.py.

Referenced by web2ldap.app.plugins.ppolicy.PwdAccountLockedTime._validate(), and web2ldap.app.plugins.ppolicy.PwdAccountLockedTime.display().

◆ str

web2ldap.app.plugins.ppolicy.PwdAccountLockedTime.str
static

Definition at line 151 of file ppolicy.py.


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