Plugin:org.tolven.passwordrecovery
From DOC
Contents |
Overview
Command Line
Display current security questions
tpf -plugin org.tolven.passwordrecovery -display
Load the default security questions contained in this plugin
tpf -plugin org.tolven.passwordrecovery -load
The default questions in the contained security-question.xml are:
<questions xmlns="urn:tolven-org:question:1.0">
<securityQuestion purpose="login_password_recovery">
<question>Which phone number do you remember most from your childhood</question>
</securityQuestion>
<securityQuestion purpose="login_password_recovery">
<question>What was your favorite place to visit as a child</question>
</securityQuestion>
<securityQuestion purpose="login_password_recovery">
<question>Who is your favorite actor, musician, or artist</question>
</securityQuestion>
<securityQuestion purpose="login_password_recovery">
<question>What was your childhood best friend's name spelt backwards</question>
</securityQuestion>
<securityQuestion purpose="login_password_recovery">
<question>What is your favorite movie and what is your favorite book</question>
</securityQuestion>
<securityQuestion purpose="login_password_recovery">
<question>Who is your favorite TV character and what is your favorite restaurant</question>
</securityQuestion>
<securityQuestion purpose="login_password_recovery">
<question>Where was your best vacation and what is your favorite snack</question>
</securityQuestion>
<securityQuestion purpose="login_password_recovery">
<question>What was the make and model of your first car and what was your first school</question>
</securityQuestion>
<securityQuestion purpose="login_password_recovery">
<question>Who is your favorite author and where were you born</question>
</securityQuestion>
</questions>
The default questions are located by editing the following plugin property located in the <config-dir>/plugins.xml:
<plugin id="org.tolven.passwordrecovery"> <root /> <property name="login.security.questions" value="security-question.xml" /> </plugin>
Since the value represents a relative path, it will lead to the file within the plugin. If an absolute path is defined, then that location will be loaded instead.
Start the password recovery GUI
tpf -plugin org.tolven.passwordrecovery -gui
See: Recovery GUI Password Recovery GUI
Add a security question
Note that the quotes are important to ensure that the whole question is uploaded as one unit.
tpf -plugin org.tolven.passwordrecovery -add "What is your favorite movie and what is your favorite book"
Change a security question
tpf -plugin org.tolven.passwordrecovery -change "What is your favorite movie and what is your favorite book" -new "What is your favorite movie and what is your favorite author"
Remove a security question
tpf -plugin org.tolven.passwordrecovery -remove "What is your favorite movie and what is your favorite author"
Password Recovery GUI
Standalone GUI
tpf -plugin org.tolven.passwordrecovery -gui
Component Of AppServer Manager GUI
GUI components like this one can be a component of a parent GUI. To make this plugin's GUI a child of org.tolven.appservermgr, ensure that the following property appears in this plugin's entry in the <config-dir>/plugins.xml:
<plugin id="org.tolven.passwordrecovery"> <root /> <property name="guiComponentParentId" value="org.tolven.appservermgr" /> </plugin>
org.tolven.appservermgr must also be in the <config-dir>/plugins.xml as a <root> plugin, so that it can be referenced.
Version Notes
Version 0.0.12
- Explicitly added mappedName=tolven/PasswordRecoveryBean/remote
Version 0.0.11
- Added a display security questions option
Version 0.0.10
- Fixed bug which closed LDAP context used by LDAPBean
Version 0.0.9
- Changed the to-view-id from "/private/dispatch.xhtml to /private/application.xhtml (dispatch.xml now forwards to application.xhtml)
Version 0.0.8
- Removed the hibernate jars from tolven.ear. The caching annotations have been replaced by property entries in the persistence.xml
Version 0.0.7
- <from-action> tags in the faces-config.xml must follow the #{.*} pattern and also the methodValue pattern
Version 0.0.6
- Now uses the the same parameter names as Apache Ant for includes/include/excludes/exclude
Version 0.0.5
- Moved the security question extension from performance plugin to password recovery plugin
Version 0.0.4
- Moved password recovery classes from the tolvenejb/tolvenweb plugin to the password recovery plugin. Moved performance classes from the tolvenejb/tolvenweb plugin to the performance plugin.
Version 0.0.3
- tolvenRemoteClient is now assembled during configPhase1, and placed in the public/download directory of the /Tolven context, where it can be automatically downloaded from the server via http to the installDir/remoteLib directory for use during the execution of configPhase3
Version 0.0.2
- Now contains managed-bean and navigation-rules to org.tolven.passwordrecovery
- Support for changing passwords, and keeping the change in sync with password backups
Version 0.0.1
- Command line and GUI functionality for password recovery

