|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo2.Controller<PasswordPane>
com.sptci.system.PasswordController
class PasswordController
The controller for the PasswordPane. Handles all actions/events
triggered by the view.
Copyright 2007 Sans Pareil Technologies, Inc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sptci.echo2.Controller |
|---|
Controller.LinkedCellRenderer, Controller.Updater<S>, Controller.Worker<S> |
| Field Summary |
|---|
| Fields inherited from class com.sptci.echo2.Controller |
|---|
application, logger, view |
| Constructor Summary | |
|---|---|
PasswordController(PasswordPane view)
Create a new instance of the controller for PasswordPane |
|
| Method Summary | |
|---|---|
(package private) void |
checkConfirmPassword()
Check the PasswordPane.confirmPassword value specified. |
(package private) void |
checkContains(String string,
String substring,
String message)
Chech to see if the username exists in the password specified. |
(package private) void |
checkNewPassword()
Check the PasswordPane.newPassword value specified. |
(package private) void |
checkPassword()
Check the PasswordPane.password value specified. |
(package private) void |
checkPasswordQuality()
Chech the quality of the new password. |
(package private) void |
checkView()
Check the information in Controller.view and ensure that the appropriate
password change request can be submitted to the server. |
(package private) void |
setSuggest(String value)
Set the PasswordPane.suggest value. |
| Methods inherited from class com.sptci.echo2.Controller |
|---|
checkText, getApplication, getLogger, getView, processFatalException, setApplication |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
PasswordController(PasswordPane view)
PasswordPane
view - The Controller.view controlled by this controller.| Method Detail |
|---|
void checkView()
throws PasswordException
Controller.view and ensure that the appropriate
password change request can be submitted to the server.
PasswordException - If the checks failed.checkPassword(),
checkNewPassword(),
checkConfirmPassword(),
checkPasswordQuality()
void checkPassword()
throws PasswordException
PasswordPane.password value specified.
PasswordException - If the check failed.
void checkNewPassword()
throws PasswordException
PasswordPane.newPassword value specified.
PasswordException - If the check failed.
void checkConfirmPassword()
throws PasswordException
PasswordPane.confirmPassword value specified.
PasswordException - If the check failed.
void checkPasswordQuality()
throws PasswordException
checkSimple check the following:
PasswordException - If the check fails.PasswordGenerator.checkSimple(char[]),
checkContains(java.lang.String, java.lang.String, java.lang.String)
void checkContains(String string,
String substring,
String message)
throws PasswordException
string - The string that is to be checked for existence of
substring.substring - The string that is to be checked for existence in
stringmessage - The key to the localised message that is to be used
as the message in PasswordException.
PasswordException - If the check fails.void setSuggest(String value)
PasswordPane.suggest value.
value - The value that is to be displayed in the component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||