PasswordField
Plone product that provides an archetypes field and widget to handle passwords. It features password retyping, validation, enforcing size, auto-generation and encryption, using zope's AuthEnconding API.
Project Description
Description
This product provides an archetypes field and widget to handle passwords. It features password retyping, validation, size validation, auto-generation and encryption, using the zope2 AuthEnconding API.
Usage
PasswordField performs password encryption, auto-generation and length validation. Also provides a widget for password retyping.
A PasswordField instance definition may look like this:
...
PasswordField(
'password',
encryption = 'SSHA',
auto_generate = False,
length = 6,
fixed_length = False,
widget = RetypePasswordWidget(
label = 'Password',
description = 'Enter and retype the password.',
),
)
...
The 'encryption' property can have values 'SHA', 'SSHA', 'CRYPT', 'MySQL' and None for clear text (default is None).
If 'auto_generate' is true (default is false) then it will be generated a value as the default. Since it is not retrieving the value, for now it only makes sense to use 'auto_generate' without encryption (clear text). So if you use any encryption, the 'auto_generate' property will be ignored.
For a code sample, look at the example type SampleContent in directory examples/.
Credits
Ricardo Alves -
Eurotux Development Team
Current Release
No stable release available yet.
All Releases
| Version | Released | Description | Compatibility | Licenses | Status |
|---|---|---|---|---|---|
| 0.1 | Sep 10, 2006 | The first release of PasswordField. More about this release… |
Plone 2.5
Plone 2.1.3
Plone 2.1.2
Plone 2.1.1
Plone 2.1
Plone 2.0.5
|
GPL | release-candidate |

