|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo2.Listener<PasswordController>
com.sptci.system.ChangePasswordListener
class ChangePasswordListener
The action listener that is used to trigger the password change request
using the telnet session with the server.
Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary |
|---|
| Fields inherited from class com.sptci.echo2.Listener |
|---|
controller, logger |
| Constructor Summary | |
|---|---|
ChangePasswordListener(PasswordController controller)
Create a new instance of the listner associated with the specified controller. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
Implementation of the ActionListener interface. |
private void |
change()
Change the password of the currently logged in user. |
private void |
handleException(AuthenticationFailedException afex)
Handle an AuthenticationFailedException that can be triggered
when user attempts to change his password. |
private void |
handleException(IOException ioex)
Handle an IOException that can be triggered
when user attempts to change his password. |
private void |
handleException(PasswordException pex)
Handle an PasswordException that can be triggered
when user attempts to change his password. |
| Methods inherited from class com.sptci.echo2.Listener |
|---|
getController |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ChangePasswordListener(PasswordController controller)
controller - The controller to use to access the controller.getView().| Method Detail |
|---|
public void actionPerformed(ActionEvent event)
ActionListener interface. Handles
login events triggered by PasswordPane.
change()private void change()
PasswordController.checkView()private void handleException(AuthenticationFailedException afex)
AuthenticationFailedException that can be triggered
when user attempts to change his password.
afex - The exception that was thrown.private void handleException(PasswordException pex)
PasswordException that can be triggered
when user attempts to change his password.
pex - The exception that was thrown.private void handleException(IOException ioex)
IOException that can be triggered
when user attempts to change his password.
ioex - The exception that was thrown.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||