|
From: <pe...@us...> - 2004-03-02 19:10:43
|
Update of /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/signers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1439/src/java/org/neuclear/commons/crypto/signers Modified Files: ServletSignerFactory.java Log Message: Further cleanups in neuclear-id. Moved everything under id. Index: ServletSignerFactory.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/signers/ServletSignerFactory.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ServletSignerFactory.java 19 Jan 2004 17:53:14 -0000 1.6 --- ServletSignerFactory.java 2 Mar 2004 18:58:44 -0000 1.7 *************** *** 15,19 **** /** ! * Used to create Signers from servlet configuration parameters. It keeps a cache of Signers with similar parameters. Thus * if you have several Servlets with the same keystore parameters they will use the same instance of Signer<p> * The Configuration parameters are as follows: --- 15,19 ---- /** ! * Used to create Signers from signers configuration parameters. It keeps a cache of Signers with similar parameters. Thus * if you have several Servlets with the same keystore parameters they will use the same instance of Signer<p> * The Configuration parameters are as follows: *************** *** 23,29 **** * <tr><td>serviceid</td><td>The main service ID of the service. Ie. neu://superbux.com/ecurrency. This is only required (and used) * if you set <tt>keeppassphrase</tt> (see below)</td></tr> ! * <tr><td>passphraseagent</td><td>The type of passphraseagent to use. Valid options are <tt>servlet</tt>, * <tt>gui</tt>(default) and <tt>console</tt></td></tr> ! * <tr><td>keeppassphrase</td><td>This asks for the service passphrase once at startup and remembers it through the lifetime of the servlet</td></tr> * </table> * <p> --- 23,29 ---- * <tr><td>serviceid</td><td>The main service ID of the service. Ie. neu://superbux.com/ecurrency. This is only required (and used) * if you set <tt>keeppassphrase</tt> (see below)</td></tr> ! * <tr><td>passphraseagent</td><td>The type of passphraseagent to use. Valid options are <tt>signers</tt>, * <tt>gui</tt>(default) and <tt>console</tt></td></tr> ! * <tr><td>keeppassphrase</td><td>This asks for the service passphrase once at startup and remembers it through the lifetime of the signers</td></tr> * </table> * <p> *************** *** 77,81 **** if (agenttype.toLowerCase().equals("console")) return new ConsoleAgent(); ! if (agenttype.toLowerCase().equals("servlet")) return new ServletPassPhraseAgent(); if (agenttype.toLowerCase().equals("test")) --- 77,81 ---- if (agenttype.toLowerCase().equals("console")) return new ConsoleAgent(); ! if (agenttype.toLowerCase().equals("signers")) return new ServletPassPhraseAgent(); if (agenttype.toLowerCase().equals("test")) |