Back to index

plone3  3.1.7
Public Member Functions
PluggableAuthService.interfaces.plugins.IValidationPlugin Class Reference
Inheritance diagram for PluggableAuthService.interfaces.plugins.IValidationPlugin:
Inheritance graph
[legend]
Collaboration diagram for PluggableAuthService.interfaces.plugins.IValidationPlugin:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def validateUserInfo

Detailed Description

Specify allowable values for user properties.

o E.g., constrain minimum password length, allowed characters, etc.

o Operate on entire property sets, not individual properties.

Definition at line 273 of file plugins.py.


Member Function Documentation

Specify allowable values for user properties.

o E.g., constrain minimum password length, allowed characters, etc.

o Operate on entire property sets, not individual properties.
-> ( error_info_1, ... error_info_N )

o Returned values are dictionaries, containing at least keys:

  'id' -- the ID of the property, or None if the error is not
  specific to one property.

  'error' -- the message string, suitable for display to the user.

Definition at line 282 of file plugins.py.

00282 
00283     def validateUserInfo( user, set_id, set_info ):
00284 
00285         """ -> ( error_info_1, ... error_info_N )
00286 
00287         o Returned values are dictionaries, containing at least keys:
00288 
00289           'id' -- the ID of the property, or None if the error is not
00290                   specific to one property.
00291 
00292           'error' -- the message string, suitable for display to the user.
00293         """


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