Update of /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/passphraseagents In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4424/src/java/org/neuclear/commons/crypto/passphraseagents Modified Files: ConsoleAgent.java GuiDialogAgent.java InteractiveAgent.java ServletPassPhraseAgent.java Log Message: Added a MessageLabel for handling errors, validation and info Save works well now. It's pretty much there I think. Index: GuiDialogAgent.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/passphraseagents/GuiDialogAgent.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** GuiDialogAgent.java 13 Apr 2004 18:14:02 -0000 1.11 --- GuiDialogAgent.java 14 Apr 2004 00:10:52 -0000 1.12 *************** *** 33,36 **** --- 33,41 ---- $Id$ $Log$ + Revision 1.12 2004/04/14 00:10:52 pelle + Added a MessageLabel for handling errors, validation and info + Save works well now. + It's pretty much there I think. + Revision 1.11 2004/04/13 18:14:02 pelle added open dialog to swing agent and interactive agent *************** *** 298,301 **** --- 303,310 ---- } + public char[] getNewPassPhrase(String name) throws UserCancellationException { + return new char[0]; + } + private final TextField passphrase; private final Button ok; Index: ConsoleAgent.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/passphraseagents/ConsoleAgent.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ConsoleAgent.java 13 Apr 2004 18:14:02 -0000 1.7 --- ConsoleAgent.java 14 Apr 2004 00:10:52 -0000 1.8 *************** *** 32,35 **** --- 32,40 ---- $Id$ $Log$ + Revision 1.8 2004/04/14 00:10:52 pelle + Added a MessageLabel for handling errors, validation and info + Save works well now. + It's pretty much there I think. + Revision 1.7 2004/04/13 18:14:02 pelle added open dialog to swing agent and interactive agent *************** *** 182,184 **** --- 187,193 ---- } + public char[] getNewPassPhrase(String name) throws UserCancellationException { + return new char[0]; + } + } Index: InteractiveAgent.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/passphraseagents/InteractiveAgent.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** InteractiveAgent.java 13 Apr 2004 18:14:02 -0000 1.7 --- InteractiveAgent.java 14 Apr 2004 00:10:52 -0000 1.8 *************** *** 26,29 **** --- 26,34 ---- $Id$ $Log$ + Revision 1.8 2004/04/14 00:10:52 pelle + Added a MessageLabel for handling errors, validation and info + Save works well now. + It's pretty much there I think. + Revision 1.7 2004/04/13 18:14:02 pelle added open dialog to swing agent and interactive agent *************** *** 85,87 **** --- 90,94 ---- File getOpenFileName(String title, String def) throws UserCancellationException; + char[] getNewPassPhrase(String name) throws UserCancellationException; + } Index: ServletPassPhraseAgent.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/passphraseagents/ServletPassPhraseAgent.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ServletPassPhraseAgent.java 13 Apr 2004 18:14:02 -0000 1.8 --- ServletPassPhraseAgent.java 14 Apr 2004 00:10:52 -0000 1.9 *************** *** 84,86 **** --- 84,90 ---- return null; } + + public char[] getNewPassPhrase(String name) throws UserCancellationException { + return new char[0]; + } } |