|
From: <pe...@us...> - 2003-12-15 23:33:07
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/auth
In directory sc8-pr-cvs1:/tmp/cvs-serv26213/src/java/org/neuclear/auth
Modified Files:
AuthenticationServlet.java
Log Message:
added ServletTools.getInitParam() which first tries the ServletConfig, then the context config.
All the web.xml's have been updated to support this. Also various further generalizations have been done throughout
for getServiceid(), getTitle(), getSigner()
Index: AuthenticationServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/auth/AuthenticationServlet.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** AuthenticationServlet.java 14 Dec 2003 20:53:04 -0000 1.9
--- AuthenticationServlet.java 15 Dec 2003 23:33:04 -0000 1.10
***************
*** 45,48 ****
--- 45,53 ----
$Id$
$Log$
+ Revision 1.10 2003/12/15 23:33:04 pelle
+ added ServletTools.getInitParam() which first tries the ServletConfig, then the context config.
+ All the web.xml's have been updated to support this. Also various further generalizations have been done throughout
+ for getServiceid(), getTitle(), getSigner()
+
Revision 1.9 2003/12/14 20:53:04 pelle
Added ServletPassPhraseAgent which uses ThreadLocal to transfer the passphrase to the signer.
***************
*** 97,102 ****
public final void init(final ServletConfig servletConfig) throws ServletException {
super.init(servletConfig);
! serviceid = servletConfig.getInitParameter("serviceid");
! title = servletConfig.getInitParameter("title");
try {
--- 102,107 ----
public final void init(final ServletConfig servletConfig) throws ServletException {
super.init(servletConfig);
! serviceid = ServletTools.getInitParam("serviceid",servletConfig);
! title = ServletTools.getInitParam("title",servletConfig);
try {
|