diff options
Diffstat (limited to 'id')
26 files changed, 503 insertions, 113 deletions
| diff --git a/id/history.txt b/id/history.txt index 1aede7deb..6d166268b 100644 --- a/id/history.txt +++ b/id/history.txt @@ -3,6 +3,15 @@ von MOA-ID auf.  History MOA-ID:
  =====
 +Version MOA-ID 1.4.5: Änderungen seit Version MOA-ID 1.4.4:
 +
 +Fixes:
 +- Fixed Bug #335 (https://egovlabs.gv.at/tracker/index.php?func=detail&aid=335&group_id=6&atid=105)
 +
 +- IAIK Libraries aktualisiert:
 +	iaik-moa:           Version 1.26
 +  
 +=====
  Version MOA-ID 1.4.4: Änderungen seit Version MOA-ID 1.4.3:
  Verbesserungen/Erweiterungen:
 diff --git a/id/oa/.classpath b/id/oa/.classpath index 5d93de69c..ed2412886 100644 --- a/id/oa/.classpath +++ b/id/oa/.classpath @@ -1,4 +1,12 @@ -<classpath> -  <classpathentry kind="output" path="target/classes"/> -  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> -</classpath>
\ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?>
 +<classpath>
 +	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 +	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
 +		<attributes>
 +			<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
 +		</attributes>
 +	</classpathentry>
 +	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
 +	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
 +	<classpathentry kind="output" path="target/classes"/>
 +</classpath>
 diff --git a/id/oa/.project b/id/oa/.project index cf4d83eff..8513e00a3 100644 --- a/id/oa/.project +++ b/id/oa/.project @@ -1,14 +1,42 @@ -<projectDescription> -  <name>moa-id-oa</name> -  <comment/> -  <projects/> -  <buildSpec> -    <buildCommand> -      <name>org.eclipse.jdt.core.javabuilder</name> -      <arguments/> -    </buildCommand> -  </buildSpec> -  <natures> -    <nature>org.eclipse.jdt.core.javanature</nature> -  </natures> -</projectDescription> +<?xml version="1.0" encoding="UTF-8"?>
 +<projectDescription>
 +	<name>moa-id-oa</name>
 +	<comment></comment>
 +	<projects>
 +	</projects>
 +	<buildSpec>
 +		<buildCommand>
 +			<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.eclipse.wst.common.project.facet.core.builder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.eclipse.jdt.core.javabuilder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.eclipse.wst.validation.validationbuilder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.maven.ide.eclipse.maven2Builder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +	</buildSpec>
 +	<natures>
 +		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
 +		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
 +		<nature>org.maven.ide.eclipse.maven2Nature</nature>
 +		<nature>org.eclipse.jdt.core.javanature</nature>
 +		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
 +		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
 +	</natures>
 +</projectDescription>
 diff --git a/id/pom.xml b/id/pom.xml index d7763f96f..e8d695167 100644 --- a/id/pom.xml +++ b/id/pom.xml @@ -3,14 +3,14 @@      <parent>          <groupId>MOA</groupId>          <artifactId>MOA</artifactId> -        <version>1.4.4</version> +        <version>1.4.5</version>      </parent>      <modelVersion>4.0.0</modelVersion>      <groupId>MOA</groupId>      <artifactId>id</artifactId>      <packaging>pom</packaging> -    <version>1.4.4</version> +    <version>1.4.5</version>      <name>MOA ID</name>      <modules> diff --git a/id/readme_1.4.5.txt b/id/readme_1.4.5.txt new file mode 100644 index 000000000..45d874c74 --- /dev/null +++ b/id/readme_1.4.5.txt @@ -0,0 +1,246 @@ +=============================================================================== +MOA ID Version 1.4.5 - Wichtige Informationen zur Installation +=============================================================================== + +------------------------------------------------------------------------------- +A. Neuerungen/Änderungen +------------------------------------------------------------------------------- + +Mit MOA ID Version 1.4.5 wurden folgende Neuerungen eingeführt, die jetzt  +erstmals in der Veröffentlichung enthalten sind (siehe auch history.txt im  +gleichen Verzeichnis): + +- JSSE Abhängigkeit wurde entfernt (Fixed Bug #335) +------------------------------------------------------------------------------- +B. Durchführung eines Updates +------------------------------------------------------------------------------- + +Es wird generell eine Neuinstallation lt. Handbuch empfohlen! Dennoch ist auch +eine Aktualisierung bestehender Installationen möglich. + +............................................................................... +B.1 Durchführung eines Updates von Version 1.4.3 oder 1.4.4  +............................................................................... + +1. Stoppen Sie den Tomcat, in dem Ihre bisherige Installation betrieben wird. +   Fertigen Sie eine Sicherungskopie Ihrer kompletten Tomcat-Installation an. + +2. Entpacken Sie die Distribution von MOA ID Auth (moa-id-auth-1.4.5.zip) in +   ein temporäres Verzeichnis, in weiterer Folge als MOA_ID_AUTH_INST  +   bezeichnet.    + +3. Wechseln Sie in jenes Verzeichnis, das die Webapplikation von MOA ID Auth +   beinhaltet (für gewöhnlich ist dieses Verzeichnis CATALINA_HOME_ID/webapps, +   wobei CATALINA_HOME_ID für das Basisverzeichnis der Tomcat-Installation  +   für MOA ID steht). Löschen Sie darin sowohl die Datei moa-id-auth.war als  +   auch das komplette Verzeichnis moa-id-auth. + +4. Kopieren Sie die Datei MOA_ID_AUTH_INST/moa-id-auth.war nach +   CATALINA_HOME_ID/webapps. + +5. Starten Sie den Tomcat neu, achten Sie auf eventuelle Fehlermeldungen im +   Logging von MOA ID beim Einlesen der erneuerten Konfiguration. +     +............................................................................... +B.2 Durchführung eines Updates von Version 1.4.1 oder 1.4.2 (incl. beta 1) +............................................................................... + +1. Stoppen Sie den Tomcat, in dem Ihre bisherige Installation betrieben wird. +   Fertigen Sie eine Sicherungskopie Ihrer kompletten Tomcat-Installation an. + +2. Entpacken Sie die Distribution von MOA ID Auth (moa-id-auth-1.4.5.zip) in +   ein temporäres Verzeichnis, in weiterer Folge als MOA_ID_AUTH_INST  +   bezeichnet.    + +3. Wechseln Sie in jenes Verzeichnis, das die Webapplikation von MOA ID Auth +   beinhaltet (für gewöhnlich ist dieses Verzeichnis CATALINA_HOME_ID/webapps, +   wobei CATALINA_HOME_ID für das Basisverzeichnis der Tomcat-Installation  +   für MOA ID steht). Löschen Sie darin sowohl die Datei moa-id-auth.war als  +   auch das komplette Verzeichnis moa-id-auth. + +4. Kopieren Sie die Datei MOA_ID_AUTH_INST/moa-id-auth.war nach +   CATALINA_HOME_ID/webapps. + +5. Kopieren Sie die vier Dateien aus dem Verzeichnis   +   MOA_ID_AUTH_INST/conf/moa-id/transforms in das Verzeichnis transforms Ihres +   Stammverzeichnisses für die MOA ID Konfiguration (für gewöhnlich lautet +   dieses Stammverzeichnis CATALINA_HOME_ID/conf/moa-id; in weiterer Folge wird +   davon ausgegangen). + +6. Kopieren Sie die vier Dateien aus dem Verzeichnis  +   MOA_ID_AUTH_INST/conf/moa-spss/profiles in das Verzeichnis profiles Ihres +   Stammverzeichnisses für die MOA SPSS Konfiguration (für gewöhnlich lautet +   dieses Stammverzeichnis CATALINA_HOME_SPSS/conf/moa-spss, wobei  +   CATALINA_HOME_SPSS für das Basisverzeichnis der Tomcat-Installation  +   für MOA SPSS steht; wenn Sie MOA SPSS nicht als eigenes Webservice  +   betreiben, sondern es von MOA ID über die API-Schnittstelle angesprochen +   wird, lautet dieses Stammverzeichnis für gewöhnlich +   CATALINA_HOME_ID/conf/moa-spss. + +7. Sichern Sie ihre MOA-ID Konfigurationsdatei. Kopieren Sie die  +   Beispielkonfigurationsdateien aus dem Verzeichnis +   MOA_ID_AUTH_INST/conf/moa-id/SampleMOA*.xml nach  +   CATALINA_HOME_ID/conf/moa-id.  +   Verwenden Sie in Ihrer Installation bereits die Vollmachtenprüfung, so  +   verschieben Sie bitte in der MOA-ID Installationsdatei das Element  +   <CompatibilityMode> innerhalb des Konfigurationsteiles für die berufliche  +   Parteienvertreung (ParepSpecificParameters) unter das Element  +   ApplicationSpecificParameters. + +8. Starten Sie den Tomcat neu, achten Sie auf eventuelle Fehlermeldungen im +   Logging von MOA ID beim Einlesen der erneuerten Konfiguration. + +............................................................................... +B.3 Durchführung eines Updates von Version 1.3.1, 1.3.2 oder 1.3.3 +............................................................................... + +1. Stoppen Sie den Tomcat, in dem Ihre bisherige Installation betrieben wird. +   Fertigen Sie eine Sicherungskopie Ihrer kompletten Tomcat-Installation an. +    +2. Entpacken Sie die Distribution von MOA ID Auth (moa-id-auth-1.4.5.zip) in +   ein temporäres Verzeichnis, in weiterer Folge als MOA_ID_AUTH_INST  +   bezeichnet. + +3. Erstellen Sie eine Sicherungskopie aller "iaik*.jar"-Dateien im Verzeichnis +   JAVA_HOME\jre\lib\ext und löschen Sie diese Dateien danach. + +4. Kopieren Sie alle Dateien aus dem Verzeichnis MOA_ID_INST_AUTH\ext in das  +   Verzeichnis JAVA_HOME\jre\lib\ext. + +5. Erstellen Sie eine Sicherungskopie aller Dateien im Verzeichnis  +   CATALINA_HOME\common\endorsed und löschen Sie die dort eventuell vorhandene  +   Dateien xmlParserAPIs.jar + +6. Kopieren Sie die Dateien aus dem Verzeichnis MOA_ID_INST_AUTH\endorsed +   in das Verzeichnis CATALINA_HOME\common\endorsed. Überschreiben Sie dabei +   etwaige gleichnamige Dateien. + +7. Wechseln Sie in jenes Verzeichnis, das die Webapplikation von MOA ID Auth +   beinhaltet (für gewöhnlich ist dieses Verzeichnis CATALINA_HOME_ID/webapps, +   wobei CATALINA_HOME_ID für das Basisverzeichnis der Tomcat-Installation  +   für MOA ID steht). Löschen Sie darin sowohl die Datei moa-id-auth.war als  +   auch das komplette Verzeichnis moa-id-auth. + +8. Kopieren Sie die Datei MOA_ID_AUTH_INST/moa-id-auth.war nach +   CATALINA_HOME_ID/webapps. + +9. Kopieren Sie die vier Dateien aus dem Verzeichnis   +   MOA_ID_AUTH_INST/conf/moa-id/transforms in das Verzeichnis transforms Ihres +   Stammverzeichnisses für die MOA ID Konfiguration (für gewöhnlich lautet +   dieses Stammverzeichnis CATALINA_HOME_ID/conf/moa-id; in weiterer Folge wird +   davon ausgegangen). + +10.Kopieren Sie die vier Dateien aus dem Verzeichnis  +   MOA_ID_AUTH_INST/conf/moa-spss/profiles in das Verzeichnis profiles Ihres +   Stammverzeichnisses für die MOA SPSS Konfiguration (für gewöhnlich lautet +   dieses Stammverzeichnis CATALINA_HOME_SPSS/conf/moa-spss, wobei  +   CATALINA_HOME_SPSS für das Basisverzeichnis der Tomcat-Installation  +   für MOA SPSS steht; wenn Sie MOA SPSS nicht als eigenes Webservice  +   betreiben, sondern es von MOA ID über dmie API-Schnittstelle angesprochen +   wird, lautet dieses Stammverzeichnis für gewöhnlich +   CATALINA_HOME_ID/conf/moa-spss; in weiterer Folge wird von letzterer  +   Variante ausgegangen).    + +11.Update des Cert-Stores. +   Kopieren Sie den Inhalt des Verzeichnisses +   MOA_ID_INST_AUTH\conf\moa-spss\certstore in das Verzeichnis +   CATALINA_HOME\conf\moa-spss\certstore. Wenn Sie gefragt werden, ob Sie  +   vorhandene Dateien oder Unterverzeichnisse überschreiben sollen, dann  +   bejahen sie das. + +12.Sollen zusätzliche Templates für ältere Bürgerkartenumgebungen aktiviert +   werden, öffnen Sie die XML-Konfiguration von MOA ID (für gewöhnlich finden  +   Sie diese XML-Datei direkt im Stammverzeichnis für die MOA ID Konfiguration,  +   z.B. CATALINA_HOME_ID/conf/moa-id/SampleMOAIDConfiguration.xml); führen Sie  +   folgende Modifikationen an der XML-Konfiguration durch: +    +   a. Ändern Sie die applikationsübergreifende Konfiguration der AuthBlock +      Transformationen. Sie finden diese Konfiguration im XML-Element +      /MOA-IDConfiguration/AuthComponent/SecurityLayer. Fügen Sie zusätzlich zum +      bisherigen Inhalt dieses Elements (für gewöhnlich ein Element +      TransformsInfo, dessen Attribut filname den Wert +      transforms/TransformsInfoAuthBlockText.xml aufweist) ein Element  +      TransformsInfo an, dessen Attribut filename auf die Datei für ältere BKU  +      zeigt. Sie können auch auf die vordefinierten Elemente aus den  +      Musterkonfigurationen dieser Distribution ( +      MOA_ID_AUTH_INST/conf/moa-id/SampleMOAIDConfiguration.xml) zurückgreifen. + +   b. Fügen Sie Profilbezeichner für die Transformationsprofile in der +      Konfiguration für MOA SP an. Sie finden diesen Bezeichner im XML- +      Element /MOA-IDConfiguration/AuthComponent/MOA-SP/VerifyAuthBlock. +      Hängen Sie ein Element VerifyTransformsInfoProfileID an, das für die Über- +      prüfung der Transformation älterer BKU vorgesehen ist. +      Siehe auch Inhalt des Elements VerifyAuthBlock aus der Musterkonfiguration  +      dieser Distribution ( +      MOA_ID_AUTH_INST/conf/moa-id/SampleMOAIDConfiguration.xml). + +   c. Ändern Sie gegebenenfalls die applikationsspezifische Konfiguration +      der Authblock-Tranformationen. Führen Sie dazu die folgende Tätigkeit +      für jedes XML-Element /MOA-IDConfiguration/OnlineApplicaton/AuthComponent +      durch: Fügen Sie zusätzlich zu einem bestehenden Element TransformsInfo  +      ein Elemnet TransformsInfo an, das die Transformation für ältere BKU  +      enthält - gleich wie dies bereits in Schritt a. durchgeführt wurde (wenn  +      Sie dieses Element nicht vorfinden, oder es auskommentiert ist, muss  +      Schritt c. nicht durchgeführt werden). + +   Öffnen Sie die XML-Konfiguration von MOA SPSS (für gewöhnlich finden Sie  +   XML-Datei direkt im Stammverzeichnisses für die MOA SPSS Konfiguration, z.B. +   CATALINA_HOME_ID/conf/moa-spss/SampleMOASPSSConfiguration.xml); führen Sie  +   folgende Modifikationen an der XML-Konfiguration durch: + +   a. Ändern Sie die konfigurierten Profile für die zulässigen Transformationen +      über die signierten Daten. Sie finden diese Profile am Ende der XML-Konfi- +      guration von MOA SPSS (Elemente des Namens  +      cfg:VerifyTransformsInfoProfile). Fügen Sie zusätzlich zu den vorkommenden  +      Elementen dieses Namens (für gewöhnlich zwei Elemente) zwei weitere  +      Elemente dieses Namens hinzu, die die Profile für die älteren Bürger- +      kartenumgebungen aufnehmen - diese sind durch den Namensteil "_deprecated"  +      gekennzeichnet (siehe auch Musterkonfigurationen dieser Distribution  +      MOA_ID_AUTH_INST/conf/moa-spss/SampleMOASPSSConfiguration.xml). + +13.Update der Trust-Profile. Achten sie bei Case-sensitiven Betriebssystemen auf  +   die Profilbezeichnungen. Aus trustprofiles wurde trustProfiles.   +   Wenn Sie Ihre alten Trust-Profile durch die neuen ersetzen wollen, dann gehen   +   Sie vor, wie in Punkt a). Wenn Sie Ihre eigenen Trust-Profile beibehalten  +   wollen, dann gehen Sie vor, wie in Punkt b). + +   a. Gehen Sie wie folgt vor, um die Trust-Profile auszutauschen: + +    1)  Löschen Sie das Verzeichnis CATALINA_HOME\conf\moa-spss\trustprofiles. +    2)  Kopieren Sie das Verzeichnis  +        MOA_ID_INST_AUTH\conf\moa-spss\trustProfiles in das Verzeichnis  +        CATALINA_HOME\conf\moa-spss. + +   b. Falls Sie Ihre alten Trust-Profile beibehalten wollen, gehen Sie wie folgt +      vor, um die Profile auf den aktuellen Stand zu bringen: + +    1)  Benennen Sie ein eventuell vorhandenes Verzeichnis trustprofiles in +        trustProfiles um (vergessen Sie nicht, diese Änderung in Ihrer MOA-SP/SS +        Konfigurationsdatei ebenfalls zu berücksichtigen und benennen Sie dort  +        alle gleichartigen Vorkommen von trustprofiles in trustProfiles um) + +    2)  Ergänzen Sie ihre Trustprofile durch alle Zertifikate aus den  +        entsprechenden Profilen im Verzeichnis  +        MOA_ID_INST_AUTH\conf\moa-spss\trustProfiles, die nicht in Ihren  +        Profilen enthalten sind. Am einfachsten ist es, wenn Sie den Inhalt der  +        einzelnen Profile aus der Distribution ( +        MOA_ID_INST_AUTH\conf\moa-spss\trustProfiles) in die entsprechenden  +        Profile Ihrer Installation (CATALINA_HOME\conf\moa-spss\trustProfiles)  +        kopieren und dabei die vorhandenen gleichnamigen Zertifikate  +        überschreiben), also z.B: Kopieren des Inhalts von  +        MOA_ID_INST_AUTH\conf\moa-spss\trustProfiles\ +        MOAIDBuergerkarteAuthentisierungsDatenMitTestkarten nach  +        CATALINA_HOME\conf\moa-spss\trustProfiles\ +        MOAIDBuergerkarteAuthentisierungsDatenMitTestkarten usw. + +14.Starten Sie den Tomcat neu, achten Sie auf eventuelle Fehlermeldungen im +   Logging von MOA ID beim Einlesen der erneuerten Konfiguration. + +............................................................................... +B.4 Durchführung eines Updates von einer älteren Version +............................................................................... + +Bitte führen Sie eine Neuinstallation von MOA ID laut Handbuch durch und passen +Sie die mitgelieferte Musterkonfiguration entsprechend Ihren Bedürfnissen unter  +Zuhilfenahme Ihrer bisherigen Konfiguration an. + diff --git a/id/server/auth/.classpath b/id/server/auth/.classpath index d6e7fdeb6..6acd7de03 100644 --- a/id/server/auth/.classpath +++ b/id/server/auth/.classpath @@ -1,7 +1,14 @@  <?xml version="1.0" encoding="UTF-8"?>
  <classpath>
 +	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
 +	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
  	<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v5.0"/>
 -	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER/modules"/>
 +	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
 +		<attributes>
 +			<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
 +		</attributes>
 +	</classpathentry>
  	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
 +	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
  	<classpathentry kind="output" path="target/classes"/>
  </classpath>
 diff --git a/id/server/auth/.project b/id/server/auth/.project index c397a88ee..90cbf1ff3 100644 --- a/id/server/auth/.project +++ b/id/server/auth/.project @@ -9,6 +9,11 @@  	</projects>
  	<buildSpec>
  		<buildCommand>
 +			<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
  			<name>org.eclipse.jdt.core.javabuilder</name>
  			<arguments>
  			</arguments>
 @@ -41,5 +46,6 @@  		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
  		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
  		<nature>kr.javanese.devtools.m2wtp.m2wtpNature</nature>
 +		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
  	</natures>
  </projectDescription>
 diff --git a/id/server/auth/.settings/org.eclipse.wst.common.component b/id/server/auth/.settings/org.eclipse.wst.common.component index 5f3e4a378..b116cf610 100644 --- a/id/server/auth/.settings/org.eclipse.wst.common.component +++ b/id/server/auth/.settings/org.eclipse.wst.common.component @@ -1,18 +1,17 @@  <?xml version="1.0" encoding="UTF-8"?>
  <project-modules id="moduleCoreId" project-version="1.5.0">
  <wb-module deploy-name="moa-id-auth">
 -<wb-resource deploy-path="/" source-path="/src/main/webapp"/>
  <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
 -<dependent-module deploy-path="/WEB-INF/lib" handle="module:/resource/moa-id-lib/moa-id-lib">
 -<dependency-type>uses</dependency-type>
 -</dependent-module>
 -<dependent-module deploy-path="/WEB-INF/lib" handle="module:/resource/moa-spss-lib/moa-spss-lib">
 -<dependency-type>uses</dependency-type>
 -<wb-resource deploy-path="/WEB-INF/LIB" source-path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
 -</dependent-module>
 +        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
 +        <dependent-module deploy-path="/WEB-INF/lib" handle="module:/resource/moa-spss-lib/moa-spss-lib">
 +            <dependency-type>uses</dependency-type>
 +        </dependent-module>
          <dependent-module deploy-path="/WEB-INF/lib" handle="module:/resource/moa-common/moa-common">
              <dependency-type>uses</dependency-type>
          </dependent-module>
 +        <dependent-module deploy-path="/WEB-INF/lib" handle="module:/resource/moa-id-lib/moa-id-lib">
 +            <dependency-type>uses</dependency-type>
 +        </dependent-module>
  <property name="java-output-path" value="target/classes"/>
          <property name="context-root" value="moa-id-auth"/>
  </wb-module>
 diff --git a/id/server/auth/.settings/org.eclipse.wst.common.project.facet.core.xml b/id/server/auth/.settings/org.eclipse.wst.common.project.facet.core.xml index d0145894a..f30a1de6e 100644 --- a/id/server/auth/.settings/org.eclipse.wst.common.project.facet.core.xml +++ b/id/server/auth/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -1,5 +1,5 @@  <?xml version="1.0" encoding="UTF-8"?>
  <faceted-project>
 -  <installed facet="jst.web" version="2.4"/>
    <installed facet="jst.java" version="1.4"/>
 +  <installed facet="jst.web" version="2.3"/>
  </faceted-project>
 diff --git a/id/server/auth/pom.xml b/id/server/auth/pom.xml index d2aa59f2e..6d5a5538e 100644 --- a/id/server/auth/pom.xml +++ b/id/server/auth/pom.xml @@ -2,14 +2,14 @@  	<parent>  		<groupId>MOA.id</groupId>  		<artifactId>moa-id</artifactId> -		<version>1.4.4</version> +		<version>1.4.5</version>  	</parent>  	<modelVersion>4.0.0</modelVersion>  	<groupId>MOA.id.server</groupId>  	<artifactId>moa-id-auth</artifactId>  	<packaging>war</packaging> -	<version>1.4.4</version> +	<version>1.4.5</version>  	<name>MOA ID-Auth WebService</name>  	<properties> diff --git a/id/server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml b/id/server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml index 62337d0fb..c0e23ecb1 100644 --- a/id/server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml +++ b/id/server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml @@ -1,6 +1,6 @@  <?xml version="1.0" encoding="UTF-8"?>  <!--MOA SPSS 1.3 Configuration File created by MOA SPSS Configuration Mapper--> -<cfg:MOAConfiguration xmlns:cfg="http://reference.e-government.gv.at/namespace/moaconfig/20021122#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> +<cfg:MOAConfiguration xmlns:cfg="http://reference.e-government.gv.at/namespace/moaconfig/20090603#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">  	<cfg:SignatureVerification>  		<cfg:CertificateValidation>  			<cfg:PathConstruction> diff --git a/id/server/doc/moa_id/id-admin_2.htm b/id/server/doc/moa_id/id-admin_2.htm index 80078c464..e3ceacba8 100644 --- a/id/server/doc/moa_id/id-admin_2.htm +++ b/id/server/doc/moa_id/id-admin_2.htm @@ -117,8 +117,8 @@ Projekt <span style="font-size:48pt; ">moa</span>             <p id="subtitel">Konfiguration von MOA ID v.1.4</p>            <p id="block"> Die Konfiguration von MOA ID wird mittels einer XML-basierten              Konfigurationsdatei, die dem Schema -            <a href="../MOA-ID-Configuration-1.4.3.xsd" target="_new">MOA-ID-Configuration-1.4.4.xsd</a> -            <a href="../MOA-ID-Configuration-1.4.3.xsd" target="_new">MOA-ID-Configuration-1.4.4.xsd</a> +            <a href="../MOA-ID-Configuration-1.4.3.xsd" target="_new">MOA-ID-Configuration-1.4.5.xsd</a> +            <a href="../MOA-ID-Configuration-1.4.3.xsd" target="_new">MOA-ID-Configuration-1.4.5.xsd</a>              entspricht, durchgeführt.            <p /> Der Ort der Konfigurationsdatei wird im Abschnitt <a href="id-admin_1.htm#deployment">Deployment              der Web-Applikation in Tomcat</a> beschrieben. diff --git a/id/server/idserverlib/.classpath b/id/server/idserverlib/.classpath index 01edb156d..1c79cc393 100644 --- a/id/server/idserverlib/.classpath +++ b/id/server/idserverlib/.classpath @@ -1,9 +1,9 @@  <?xml version="1.0" encoding="UTF-8"?>
  <classpath>
 -	<classpathentry kind="src" path="src/main/java"/>
 -	<classpathentry kind="src" path="src/test/java"/>
 -	<classpathentry excluding="**" kind="src" output="src/main/resources" path="src/main/resources"/>
 -	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 +	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
 +	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
 +	<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
 +	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
  	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
  	<classpathentry kind="output" path="target/classes"/>
  </classpath>
 diff --git a/id/server/idserverlib/pom.xml b/id/server/idserverlib/pom.xml index ee3c5fc7f..c046b1f19 100644 --- a/id/server/idserverlib/pom.xml +++ b/id/server/idserverlib/pom.xml @@ -2,14 +2,14 @@  	<parent>
  		<groupId>MOA.id</groupId>
  		<artifactId>moa-id</artifactId>
 -		<version>1.4.4</version>
 +		<version>1.4.5</version>
  	</parent>
  	<modelVersion>4.0.0</modelVersion>
  	<groupId>MOA.id.server</groupId>
  	<artifactId>moa-id-lib</artifactId>
  	<packaging>jar</packaging>
 -	<version>1.4.4</version>
 +	<version>1.4.5</version>
  	<name>MOA ID API</name>
  	<properties>
 diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/iaik/config/RevocationConfigurationImpl.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/iaik/config/RevocationConfigurationImpl.java index 6f4de4ce1..cedaf2ccc 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/iaik/config/RevocationConfigurationImpl.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/iaik/config/RevocationConfigurationImpl.java @@ -48,4 +48,8 @@ public class RevocationConfigurationImpl extends ObservableImpl implements Revoc      return false;    } +  public Integer getCrlRetentionInterval(String arg0) { +     return null; +  } +  } diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java index 34a1f389b..a742a0aae 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java @@ -32,8 +32,8 @@ import at.gv.egovernment.moa.id.util.MOAIDMessageProvider;  import at.gv.egovernment.moa.logging.Logger;  import at.gv.egovernment.moa.util.BoolUtils; -import com.sun.net.ssl.HostnameVerifier; -import com.sun.net.ssl.HttpsURLConnection; +//import com.sun.net.ssl.HostnameVerifier; +//import com.sun.net.ssl.HttpsURLConnection;  /**   * Defaultimplementierung von <code>ConnectionBuilder</code>. @@ -96,12 +96,14 @@ public class DefaultConnectionBuilder implements ConnectionBuilder {      //conn.setUseCaches(false);      //conn.setAllowUserInteraction(true);      conn.setInstanceFollowRedirects(false); -    if (conn instanceof HttpsURLConnection && sslSocketFactory != null) { +     +    // JSSE-Abhängigkeit +    /*if (conn instanceof HttpsURLConnection && sslSocketFactory != null) {        HttpsURLConnection httpsConn = (HttpsURLConnection) conn;        httpsConn.setSSLSocketFactory(sslSocketFactory);        if (cbDisableHostnameVerification)          httpsConn.setHostnameVerifier(new HostnameNonVerifier()); -    } +    }*/      return conn;    } @@ -151,14 +153,17 @@ public class DefaultConnectionBuilder implements ConnectionBuilder {       * A private class to change the standard HostName verifier to disable the       * Hostname Verification Check       */ -  private class HostnameNonVerifier implements HostnameVerifier { +   +  // JSSE Abhängigkeit +  //private class HostnameNonVerifier implements HostnameVerifier {      /**       * @see com.sun.net.ssl.HostnameVerifier#verify(String, String)       */ -    public boolean verify(String arg0, String arg1) { -      return true; -    } -  } +//JSSE Abhängigkeit +//    public boolean verify(String arg0, String arg1) { +//      return true; +//    } +//  }  } diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/ElakConnectionBuilder.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/ElakConnectionBuilder.java index bc39044ac..c8c1e85d9 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/ElakConnectionBuilder.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/ElakConnectionBuilder.java @@ -38,8 +38,8 @@ import at.gv.egovernment.moa.id.util.MOAIDMessageProvider;  import at.gv.egovernment.moa.logging.Logger;  import at.gv.egovernment.moa.util.BoolUtils; -import com.sun.net.ssl.HostnameVerifier; -import com.sun.net.ssl.HttpsURLConnection; +//import com.sun.net.ssl.HostnameVerifier; +//import com.sun.net.ssl.HttpsURLConnection;  /**   * Defaultimplementierung von <code>ConnectionBuilder</code>. @@ -198,12 +198,13 @@ public class ElakConnectionBuilder implements ConnectionBuilder {      //conn.setUseCaches(false);      webDavConn.setAllowUserInteraction(true);      webDavConn.setInstanceFollowRedirects(false); -    if (conn instanceof HttpsURLConnection && sslSocketFactory != null) { -      HttpsURLConnection httpsConn = (HttpsURLConnection) conn; -      httpsConn.setSSLSocketFactory(sslSocketFactory); -      if (cbDisableHostnameVerification) -        httpsConn.setHostnameVerifier(new HostnameNonVerifier()); -    } +    // JSSE Abhängigkeit +//    if (conn instanceof HttpsURLConnection && sslSocketFactory != null) { +//      HttpsURLConnection httpsConn = (HttpsURLConnection) conn; +//      httpsConn.setSSLSocketFactory(sslSocketFactory); +//      if (cbDisableHostnameVerification) +//        httpsConn.setHostnameVerifier(new HostnameNonVerifier()); +//    }      return conn;    } @@ -251,14 +252,16 @@ public class ElakConnectionBuilder implements ConnectionBuilder {       * A private class to change the standard HostName verifier to disable the       * Hostname Verification Check       */ -  private class HostnameNonVerifier implements HostnameVerifier { +//JSSE Abhängigkeit +//  private class HostnameNonVerifier implements HostnameVerifier {      /**       * @see com.sun.net.ssl.HostnameVerifier#verify(String, String)       */ -    public boolean verify(String arg0, String arg1) { -      return true; -    } -  } +//JSSE Abhängigkeit +//    public boolean verify(String arg0, String arg1) { +//      return true; +//    } +//  }  } diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/EnhancedConnectionBuilder.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/EnhancedConnectionBuilder.java index 49affe745..9ce1e3c8e 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/EnhancedConnectionBuilder.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/proxy/EnhancedConnectionBuilder.java @@ -31,7 +31,7 @@ import at.gv.egovernment.moa.id.util.MOAIDMessageProvider;  import at.gv.egovernment.moa.logging.Logger;  import at.gv.egovernment.moa.util.BoolUtils; -import com.sun.net.ssl.HostnameVerifier; +//import com.sun.net.ssl.HostnameVerifier;  import HTTPClient.HttpURLConnection;  import HTTPClient.HTTPConnection; @@ -160,16 +160,18 @@ public class EnhancedConnectionBuilder implements ConnectionBuilder {  	     * A private class to change the standard HostName verifier to disable the  	     * Hostname Verification Check  	     */ -	  private class HostnameNonVerifier implements HostnameVerifier { +	// JSSE Abhängigkeit +	  //private class HostnameNonVerifier implements HostnameVerifier {  	    /**  	     * @see com.sun.net.ssl.HostnameVerifier#verify(String, String)  	     */ -	    public boolean verify(String arg0, String arg1) { -	      return true; -	    } -	  } -	   +	// JSSE Abhängigkeit   +//	  public boolean verify(String arg0, String arg1) { +//	      return true; +//	    } +//	  } +//	    	  /**  	   * Removes parameters from the query-URL recursively  	   * diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/SSLUtils.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/SSLUtils.java index 5f8e95925..bf38c40d9 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/SSLUtils.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/SSLUtils.java @@ -68,8 +68,9 @@ public class SSLUtils {     */    public static void initialize() {      sslSocketFactories = new HashMap(); -    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); -    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); + // JSSE Abhängigkeit +//    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); +//    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");    }    /** diff --git a/id/server/pom.xml b/id/server/pom.xml index 809aff640..497243114 100644 --- a/id/server/pom.xml +++ b/id/server/pom.xml @@ -4,14 +4,14 @@      <parent>
          <groupId>MOA</groupId>
          <artifactId>id</artifactId>
 -        <version>1.4.4</version>
 +        <version>1.4.5</version>
      </parent>
      <modelVersion>4.0.0</modelVersion>
      <groupId>MOA.id</groupId>
      <artifactId>moa-id</artifactId>
      <packaging>pom</packaging>
 -    <version>1.4.4</version>
 +    <version>1.4.5</version>
      <name>MOA ID Server</name>
      <modules>
 diff --git a/id/server/proxy/.classpath b/id/server/proxy/.classpath index 5d93de69c..af4743f8a 100644 --- a/id/server/proxy/.classpath +++ b/id/server/proxy/.classpath @@ -1,4 +1,12 @@ -<classpath> -  <classpathentry kind="output" path="target/classes"/> -  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> -</classpath>
\ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?>
 +<classpath>
 +	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
 +	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
 +		<attributes>
 +			<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
 +		</attributes>
 +	</classpathentry>
 +	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
 +	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
 +	<classpathentry kind="output" path="target/classes"/>
 +</classpath>
 diff --git a/id/server/proxy/.project b/id/server/proxy/.project index 4e175804c..d58c7c25c 100644 --- a/id/server/proxy/.project +++ b/id/server/proxy/.project @@ -1,14 +1,42 @@ -<projectDescription> -  <name>moa-id-proxy</name> -  <comment/> -  <projects/> -  <buildSpec> -    <buildCommand> -      <name>org.eclipse.jdt.core.javabuilder</name> -      <arguments/> -    </buildCommand> -  </buildSpec> -  <natures> -    <nature>org.eclipse.jdt.core.javanature</nature> -  </natures> -</projectDescription>
\ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?>
 +<projectDescription>
 +	<name>moa-id-proxy</name>
 +	<comment></comment>
 +	<projects>
 +	</projects>
 +	<buildSpec>
 +		<buildCommand>
 +			<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.eclipse.wst.common.project.facet.core.builder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.eclipse.jdt.core.javabuilder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.eclipse.wst.validation.validationbuilder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.maven.ide.eclipse.maven2Builder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +	</buildSpec>
 +	<natures>
 +		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
 +		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
 +		<nature>org.maven.ide.eclipse.maven2Nature</nature>
 +		<nature>org.eclipse.jdt.core.javanature</nature>
 +		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
 +		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
 +	</natures>
 +</projectDescription>
 diff --git a/id/server/proxy/pom.xml b/id/server/proxy/pom.xml index 2255d6c01..da63b2d55 100644 --- a/id/server/proxy/pom.xml +++ b/id/server/proxy/pom.xml @@ -2,7 +2,7 @@  	<parent>
  		<groupId>MOA.id</groupId>
  		<artifactId>moa-id</artifactId>
 -		<version>1.4.4</version>
 +		<version>1.4.5</version>
  	</parent>
  	<properties>
 @@ -13,7 +13,7 @@  	<groupId>MOA.id.server</groupId>
  	<artifactId>moa-id-proxy</artifactId>
  	<packaging>war</packaging>
 -	<version>1.4.4</version>
 +	<version>1.4.5</version>
  	<name>MOA ID-Proxy WebService</name>
  	<build>
 diff --git a/id/templates/.classpath b/id/templates/.classpath index 5d93de69c..af4743f8a 100644 --- a/id/templates/.classpath +++ b/id/templates/.classpath @@ -1,4 +1,12 @@ -<classpath> -  <classpathentry kind="output" path="target/classes"/> -  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> -</classpath>
\ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?>
 +<classpath>
 +	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
 +	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
 +		<attributes>
 +			<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
 +		</attributes>
 +	</classpathentry>
 +	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
 +	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
 +	<classpathentry kind="output" path="target/classes"/>
 +</classpath>
 diff --git a/id/templates/.project b/id/templates/.project index f0a8631ce..ecd7cdf14 100644 --- a/id/templates/.project +++ b/id/templates/.project @@ -1,14 +1,42 @@ -<projectDescription> -  <name>moa-id-templates</name> -  <comment/> -  <projects/> -  <buildSpec> -    <buildCommand> -      <name>org.eclipse.jdt.core.javabuilder</name> -      <arguments/> -    </buildCommand> -  </buildSpec> -  <natures> -    <nature>org.eclipse.jdt.core.javanature</nature> -  </natures> -</projectDescription>
\ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?>
 +<projectDescription>
 +	<name>moa-id-templates</name>
 +	<comment></comment>
 +	<projects>
 +	</projects>
 +	<buildSpec>
 +		<buildCommand>
 +			<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.eclipse.wst.common.project.facet.core.builder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.eclipse.jdt.core.javabuilder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.eclipse.wst.validation.validationbuilder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +		<buildCommand>
 +			<name>org.maven.ide.eclipse.maven2Builder</name>
 +			<arguments>
 +			</arguments>
 +		</buildCommand>
 +	</buildSpec>
 +	<natures>
 +		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
 +		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
 +		<nature>org.maven.ide.eclipse.maven2Nature</nature>
 +		<nature>org.eclipse.jdt.core.javanature</nature>
 +		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
 +		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
 +	</natures>
 +</projectDescription>
 diff --git a/id/templates/pom.xml b/id/templates/pom.xml index cb8c6c09c..0f1276fff 100644 --- a/id/templates/pom.xml +++ b/id/templates/pom.xml @@ -4,7 +4,7 @@      <parent>          <groupId>MOA</groupId>          <artifactId>id</artifactId> -        <version>1.4.4</version> +        <version>1.4.5</version>      </parent>      <modelVersion>4.0.0</modelVersion> | 
