Few more Spring libs
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sun, 12 Nov 2006 23:10:20 +0000 (23:10 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sun, 12 Nov 2006 23:10:20 +0000 (23:10 +0000)
Hook servlets into Spring

git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2074 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

.classpath
.settings/org.eclipse.jdt.ui.prefs
lib/spring-2.0-support.jar [new file with mode: 0644]
lib/spring-2.0-web.jar [new file with mode: 0644]
lib/spring-2.0-webmvc.jar [new file with mode: 0644]
src/edu/internet2/middleware/shibboleth/idp/authn/AuthenticationManager.java
src/edu/internet2/middleware/shibboleth/idp/profile/ProfileRequestDispatcher.java

index dae30e7..0c13710 100644 (file)
        <classpathentry kind="lib" path="lib/bc-asn1.jar"/>
        <classpathentry kind="lib" path="lib/bsh-2.0b1.jar"/>
        <classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
-       <classpathentry kind="lib" path="lib/commons-collections.jar"/>
        <classpathentry kind="lib" path="lib/commons-dbcp-1.2.1.jar"/>
        <classpathentry kind="lib" path="lib/commons-io-1.1.jar"/>
-       <classpathentry kind="lib" path="lib/commons-logging-1.03.jar"/>
        <classpathentry kind="lib" path="lib/commons-pool-1.2.jar"/>
        <classpathentry kind="lib" path="lib/jargs-0.4.jar"/>
        <classpathentry kind="lib" path="build-lib/ant-1.6.3.jar"/>
        <classpathentry kind="lib" path="build-lib/ant-nodeps-1.6.3.jar"/>
        <classpathentry combineaccessrules="false" kind="src" path="/XMLTooling-J"/>
        <classpathentry kind="lib" path="build-lib/mockrunner-servlet.jar"/>
+       <classpathentry kind="lib" path="lib/spring-2.0-core.jar"/>
+       <classpathentry kind="lib" path="lib/spring-2.0-context.jar"/>
+       <classpathentry kind="lib" path="lib/spring-2.0-commons-logging.jar"/>
+       <classpathentry kind="lib" path="lib/spring-2.0-commons-collections.jar"/>
+       <classpathentry kind="lib" path="lib/spring-2.0-beans.jar"/>
+       <classpathentry kind="lib" path="lib/spring-2.0-web.jar"/>
+       <classpathentry kind="lib" path="lib/spring-2.0-webmvc.jar"/>
+       <classpathentry kind="lib" path="lib/spring-2.0-support.jar"/>
        <classpathentry kind="output" path="bin"/>
 </classpath>
index b42a142..1df6e1f 100644 (file)
@@ -1,10 +1,10 @@
-#Sun Nov 12 16:36:56 EST 2006
+#Sun Nov 12 17:42:50 EST 2006
 eclipse.preferences.version=1
 formatter_profile=_Internet2 Format
 formatter_settings_version=10
 org.eclipse.jdt.ui.exception.name=e
 org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.javadoc=false
+org.eclipse.jdt.ui.javadoc=true
 org.eclipse.jdt.ui.keywordthis=false
 org.eclipse.jdt.ui.overrideannotation=false
 org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return Returns the ${bare_field_name}.\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} The ${bare_field_name} to set.\n */</template><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * Constructor\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*\n * Copyright [2006] [University Corporation for Advanced Internet Development, Inc.]\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http\://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/*\n * ${see_to_overridden}\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
diff --git a/lib/spring-2.0-support.jar b/lib/spring-2.0-support.jar
new file mode 100644 (file)
index 0000000..30b3a42
Binary files /dev/null and b/lib/spring-2.0-support.jar differ
diff --git a/lib/spring-2.0-web.jar b/lib/spring-2.0-web.jar
new file mode 100644 (file)
index 0000000..9f7ac31
Binary files /dev/null and b/lib/spring-2.0-web.jar differ
diff --git a/lib/spring-2.0-webmvc.jar b/lib/spring-2.0-webmvc.jar
new file mode 100644 (file)
index 0000000..5fac12a
Binary files /dev/null and b/lib/spring-2.0-webmvc.jar differ
index 3852951..1136b36 100644 (file)
 
 package edu.internet2.middleware.shibboleth.idp.authn;
 
-import javax.servlet.http.HttpServlet;
+import org.springframework.web.servlet.HttpServletBean;
 
 import edu.internet2.middleware.shibboleth.idp.session.SessionManager;
 
 /**
  * Manager responsible for handling an authentication requests.
  */
-public class AuthenticationManager extends HttpServlet {
+public class AuthenticationManager extends HttpServletBean {
 
     /** Session manager to be used by this servlet */
        private SessionManager sessionMgr;
index 913d768..78468f0 100644 (file)
  */
 package edu.internet2.middleware.shibboleth.idp.profile;
 
-import javax.servlet.http.HttpServlet;
+import org.springframework.web.servlet.HttpServletBean;
 
 /**
  * Servlet responsible for dispatching incoming requests to the appropriate {@link ProfileHandler}.
  */
-public class ProfileRequestDispatcher extends HttpServlet {
+public class ProfileRequestDispatcher extends HttpServletBean {
 
 }
\ No newline at end of file