aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2013-06-27 15:17:32 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2013-06-27 15:17:32 +0200
commit59790d25a2a3869fd3d7b86b874c4dafe21fb9d7 (patch)
treeb1d7e7ca3b1de625cf13c4e13f29d8982278a21b
parentd8f886a98dd2c3eaec17623c4032395b54b15d62 (diff)
downloadmoa-id-spss-59790d25a2a3869fd3d7b86b874c4dafe21fb9d7.tar.gz
moa-id-spss-59790d25a2a3869fd3d7b86b874c4dafe21fb9d7.tar.bz2
moa-id-spss-59790d25a2a3869fd3d7b86b874c4dafe21fb9d7.zip
Change entitiesDescriptor trust lookup, changed version to 1.9.90-SNAPSHOT
-rw-r--r--id/server/auth/pom.xml4
-rw-r--r--id/server/idserverlib/pom.xml8
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/signer/CredentialProvider.java4
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/EntityVerifier.java2
4 files changed, 12 insertions, 6 deletions
diff --git a/id/server/auth/pom.xml b/id/server/auth/pom.xml
index e403c5ba7..f4e72fea4 100644
--- a/id/server/auth/pom.xml
+++ b/id/server/auth/pom.xml
@@ -9,7 +9,7 @@
<groupId>MOA.id.server</groupId>
<artifactId>moa-id-auth</artifactId>
<packaging>war</packaging>
- <version>1.5.2</version>
+ <version>1.9.90-SNAPSHOT</version>
<name>MOA ID-Auth WebService</name>
<properties>
@@ -72,7 +72,7 @@
<dependency>
<groupId>MOA.id.server</groupId>
<artifactId>moa-id-lib</artifactId>
- <!--version>${project.version}</version -->
+ <version>${project.version}</version>
</dependency>
<!-- transitive dependencies we don't want to include into the war -->
<dependency>
diff --git a/id/server/idserverlib/pom.xml b/id/server/idserverlib/pom.xml
index 1244d4bd6..9fcdedb7d 100644
--- a/id/server/idserverlib/pom.xml
+++ b/id/server/idserverlib/pom.xml
@@ -9,7 +9,7 @@
<groupId>MOA.id.server</groupId>
<artifactId>moa-id-lib</artifactId>
<packaging>jar</packaging>
- <version>1.5.2</version>
+ <version>1.9.90-SNAPSHOT</version>
<name>MOA ID API</name>
<properties>
@@ -117,6 +117,12 @@
<groupId>edu.internet2.middleware</groupId>
<artifactId>shibboleth-common</artifactId>
<version>1.4.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>logback-classic</artifactId>
+ <groupId>ch.qos.logback</groupId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>regexp</groupId>
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/signer/CredentialProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/signer/CredentialProvider.java
index 5f9f4d63b..9385c945f 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/signer/CredentialProvider.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/signer/CredentialProvider.java
@@ -83,7 +83,7 @@ public class CredentialProvider {
return credential;
}
-
+ /*
public static Credential getTrustedCredential() throws CredentialsNotAvailableException {
String filename = PVPConfiguration.getInstance().getTrustEntityCertificate("sp.crt");
@@ -107,5 +107,5 @@ public class CredentialProvider {
credential.setPublicKey(cert.getPublicKey());
return credential;
- }
+ }*/
}
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/EntityVerifier.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/EntityVerifier.java
index 5bd0878a4..d3acf9351 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/EntityVerifier.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/EntityVerifier.java
@@ -54,7 +54,7 @@ public class EntityVerifier {
throw new SAMLRequestNotSignedException(e);
}
- Credential credential = CredentialProvider.getTrustedCredential();
+ Credential credential = CredentialProvider.getSPTrustedCredential(entityDescriptor.getName());
if(credential == null) {
throw new NoCredentialsException("moaID IDP");
}