diff options
11 files changed, 7 insertions, 120 deletions
| diff --git a/MOA.iml b/MOA.iml deleted file mode 100644 index c418d6693..000000000 --- a/MOA.iml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> -  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false"> -    <output url="file://$MODULE_DIR$/target/classes" /> -    <output-test url="file://$MODULE_DIR$/target/test-classes" /> -    <content url="file://$MODULE_DIR$"> -      <excludeFolder url="file://$MODULE_DIR$/target" /> -    </content> -    <orderEntry type="inheritedJdk" /> -    <orderEntry type="sourceFolder" forTests="false" /> -  </component> -</module> - diff --git a/common/moa-common.iml b/common/moa-common.iml deleted file mode 100644 index 9d4261fc6..000000000 --- a/common/moa-common.iml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> -  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false"> -    <output url="file://$MODULE_DIR$/target/classes" /> -    <output-test url="file://$MODULE_DIR$/target/test-classes" /> -    <content url="file://$MODULE_DIR$"> -      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> -      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" /> -      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> -      <excludeFolder url="file://$MODULE_DIR$/target" /> -    </content> -    <orderEntry type="inheritedJdk" /> -    <orderEntry type="sourceFolder" forTests="false" /> -    <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.0.4" level="project" /> -    <orderEntry type="library" name="Maven: iaik.prod:iaik_jce_full:5.101" level="project" /> -    <orderEntry type="library" name="Maven: iaik.prod:iaik_moa:1.5" level="project" /> -    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:3.8.1" level="project" /> -    <orderEntry type="library" name="Maven: jaxen:jaxen:1.0-FCS" level="project" /> -    <orderEntry type="library" name="Maven: saxpath:saxpath:1.0-FCS" level="project" /> -    <orderEntry type="library" name="Maven: xalan-bin-dist:xalan:2.7.1" level="project" /> -    <orderEntry type="library" name="Maven: xalan:serializer:2.7.1" level="project" /> -    <orderEntry type="library" name="Maven: xml-apis:xml-apis:1.3.04" level="project" /> -    <orderEntry type="library" name="Maven: xerces:xercesImpl:2.9.0" level="project" /> -    <orderEntry type="library" name="Maven: xalan-bin-dist:xml-apis:2.7.1" level="project" /> -    <orderEntry type="library" scope="RUNTIME" name="Maven: xalan-bin-dist:serializer:2.7.1" level="project" /> -    <orderEntry type="library" name="Maven: joda-time:joda-time:1.6.2" level="project" /> -  </component> -</module> - diff --git a/id/id.iml b/id/id.iml deleted file mode 100644 index c418d6693..000000000 --- a/id/id.iml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> -  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false"> -    <output url="file://$MODULE_DIR$/target/classes" /> -    <output-test url="file://$MODULE_DIR$/target/test-classes" /> -    <content url="file://$MODULE_DIR$"> -      <excludeFolder url="file://$MODULE_DIR$/target" /> -    </content> -    <orderEntry type="inheritedJdk" /> -    <orderEntry type="sourceFolder" forTests="false" /> -  </component> -</module> - diff --git a/id/oa/moa-id-oa.iml b/id/oa/moa-id-oa.iml deleted file mode 100644 index a87a36773..000000000 --- a/id/oa/moa-id-oa.iml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> -  <component name="FacetManager"> -    <facet type="web" name="Web"> -      <configuration> -        <descriptors> -          <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml" /> -        </descriptors> -        <webroots> -          <root url="file://$MODULE_DIR$/src/main/webapp" relative="/" /> -        </webroots> -      </configuration> -    </facet> -  </component> -  <component name="NewModuleRootManager" inherit-compiler-output="false"> -    <output url="file://$MODULE_DIR$/target/classes" /> -    <output-test url="file://$MODULE_DIR$/target/test-classes" /> -    <content url="file://$MODULE_DIR$"> -      <excludeFolder url="file://$MODULE_DIR$/target" /> -    </content> -    <orderEntry type="inheritedJdk" /> -    <orderEntry type="sourceFolder" forTests="false" /> -  </component> -</module> - diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationInvoker.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationInvoker.java index 965213b0a..099ee19a2 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationInvoker.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationInvoker.java @@ -88,9 +88,11 @@ public class SignatureVerificationInvoker {        authConnParam = authConfigProvider.getMoaSpConnectionParameter();        //If the ConnectionParameter do NOT exist, we try to get the api to work....        if (authConnParam != null) { +        Logger.debug("Connecting using auth url: " + authConnParam.getUrl() + ", service " + serviceName.getNamespaceURI() + " : " + serviceName.getLocalPart() + " : "+ serviceName.getPrefix());          endPoint = authConnParam.getUrl();          call.setTargetEndpointAddress(endPoint);          responses = (Vector) call.invoke(serviceName, params); +        Logger.debug("Got responses: " + responses.size()); // TODO handle axis 302 response when incorrect service url is used          response = (SOAPBodyElement) responses.get(0);          return response.getAsDOM();        } diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/stork/STORKConfig.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/stork/STORKConfig.java index 6a3f4cc9e..8b6504659 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/stork/STORKConfig.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/stork/STORKConfig.java @@ -89,7 +89,7 @@ public class STORKConfig {  			}
  		}
 -		SAMLSigningParameter samlsign = stork.getSAMLSigningParameter();
 +		SAMLSigningParameter samlsign = stork.getSAMLSigningParameter();   // TODO Fix nullpointerexception when nothing is configured
  		if (samlsign == null) {
  			Logger.warn("Error in MOA-ID Configuration. No STORK->SAMLSigningParameter configuration found.");
 diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java index 777081da0..89da2b7af 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java @@ -481,6 +481,8 @@ public class DispatcherServlet extends AuthServlet{  	    	ConfigurationDBUtils.closeSession();  	    } +        Logger.info("Clossing Dispatcher processing loop"); +        Logger.info("Http response prepared sent: " + resp.toString());  	}  	@Override diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/ModulStorage.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/ModulStorage.java index 2a92f3ce5..8b8a4a63f 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/ModulStorage.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/ModulStorage.java @@ -10,7 +10,8 @@ public class ModulStorage {  	private static final String[] modulClasses = new String[]{  		"at.gv.egovernment.moa.id.protocols.saml1.SAML1Protocol", -		"at.gv.egovernment.moa.id.protocols.pvp2x.PVP2XProtocol" +		"at.gv.egovernment.moa.id.protocols.pvp2x.PVP2XProtocol", +        "at.gv.egovernment.moa.id.protocols.stork2.STORKProtocol"  	}; diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AuthenticationRequest.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AuthenticationRequest.java new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/AuthenticationRequest.java diff --git a/id/templates/moa-id-templates.iml b/id/templates/moa-id-templates.iml deleted file mode 100644 index 3b8b05541..000000000 --- a/id/templates/moa-id-templates.iml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> -  <component name="FacetManager"> -    <facet type="web" name="Web"> -      <configuration> -        <descriptors> -          <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml" /> -        </descriptors> -        <webroots> -          <root url="file://$MODULE_DIR$/src/main/webapp" relative="/" /> -        </webroots> -      </configuration> -    </facet> -  </component> -  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false"> -    <output url="file://$MODULE_DIR$/target/classes" /> -    <output-test url="file://$MODULE_DIR$/target/test-classes" /> -    <content url="file://$MODULE_DIR$"> -      <excludeFolder url="file://$MODULE_DIR$/target" /> -    </content> -    <orderEntry type="inheritedJdk" /> -    <orderEntry type="sourceFolder" forTests="false" /> -  </component> -</module> - diff --git a/spss/spss.iml b/spss/spss.iml deleted file mode 100644 index c418d6693..000000000 --- a/spss/spss.iml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> -  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false"> -    <output url="file://$MODULE_DIR$/target/classes" /> -    <output-test url="file://$MODULE_DIR$/target/test-classes" /> -    <content url="file://$MODULE_DIR$"> -      <excludeFolder url="file://$MODULE_DIR$/target" /> -    </content> -    <orderEntry type="inheritedJdk" /> -    <orderEntry type="sourceFolder" forTests="false" /> -  </component> -</module> - | 
