From 9f2beccee247fb30235aeae28ecb91789e39cbe3 Mon Sep 17 00:00:00 2001 From: Florian Reimair Date: Tue, 11 Aug 2015 13:26:30 +0200 Subject: approved some more changes --- id/server/stork2-commons/pom.xml | 27 ++++++---------------- .../java/eu/stork/peps/auth/commons/Linker.java | 5 ++-- .../tc/stork/_1_0/assertion/ObjectFactory.java | 18 +++++++-------- id/server/stork2-saml-engine/pom.xml | 9 ++------ 4 files changed, 20 insertions(+), 39 deletions(-) diff --git a/id/server/stork2-commons/pom.xml b/id/server/stork2-commons/pom.xml index 1a8dfd786..c4eea5152 100644 --- a/id/server/stork2-commons/pom.xml +++ b/id/server/stork2-commons/pom.xml @@ -20,21 +20,13 @@ The STORKCommons library provides beans, Java Interfaces and utility classes to integrate PEPS and SAML Engine. - - - shibboleth.internet2.edu - Internet2 - https://build.shibboleth.net/nexus/content/groups/public/ - - - joda-time joda-time - ${jodatime.version} + 2.3 @@ -62,8 +54,9 @@ - org.opensaml - opensaml + org.opensaml + opensaml + ${opensaml.version} org.slf4j @@ -88,12 +81,6 @@ - - - org.bouncycastle - bcprov-jdk16 - - @@ -128,7 +115,6 @@ 1.7 1.7 - UTF-8 @@ -136,7 +122,7 @@ maven-surefire-plugin reversealphabetical - false + true reversealphabetical **/PEPSUtilTest.java @@ -178,8 +164,9 @@ http://commons.apache.org/lang/api/ + http://java.sun.com/j2se/1.6.0/docs/api/ http://www.bouncycastle.org/docs/docs1.6/ - http://docs.oracle.com/javase/7/docs/api/ + http://docs.oracle.com/javase/6/docs/api/ diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/Linker.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/Linker.java index 87ab4275f..f326ccfe9 100644 --- a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/Linker.java +++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/Linker.java @@ -251,10 +251,9 @@ public final class Linker implements Serializable { originalAssertions = new ArrayList(); // Gather all assertions - for (STORKAttrQueryResponse element : this.assertions.values()) { - originalAssertions.add(element); + for (List element : this.assertions.values()) { + originalAssertions.addAll(element); } - return originalAssertions; } diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java index 82ec6d3b4..c656f81ee 100644 --- a/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java +++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/complex/attributes/eu/stork/names/tc/stork/_1_0/assertion/ObjectFactory.java @@ -375,15 +375,6 @@ public class ObjectFactory { return new JAXBElement(_CurrentStudiesSupplement_QNAME, CurrentStudiesType.class, null, value); } - /** - * Create an instance of {@link JAXBElement }{@code <}{@link MandateType }{@code >} - * - */ - @XmlElementDecl(namespace = "urn:eu:stork:names:tc:STORK:1.0:assertion", name = "mandate") - public JAXBElement createMandate(MandateType value) { - return new JAXBElement(_Mandate_QNAME, MandateType.class, null, value); - } - /** * Create an instance of {@link JAXBElement }{@code <}{@link RequestedAttributeType }{@code >} * @@ -393,6 +384,15 @@ public class ObjectFactory { return new JAXBElement(_RequestedAttribute_QNAME, RequestedAttributeType.class, null, value); } + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MandateType }{@code >} + * + */ + @XmlElementDecl(namespace = "urn:eu:stork:names:tc:STORK:1.0:assertion", name = "mandate") + public JAXBElement createMandate(MandateType value) { + return new JAXBElement(_Mandate_QNAME, MandateType.class, null, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * diff --git a/id/server/stork2-saml-engine/pom.xml b/id/server/stork2-saml-engine/pom.xml index 36df747e4..590e8f4c3 100644 --- a/id/server/stork2-saml-engine/pom.xml +++ b/id/server/stork2-saml-engine/pom.xml @@ -13,7 +13,7 @@ STORKSAMLEngine UTF-8 - 1.4.0 + 1.5.1 0.5.2 0.5.1 1.4.0 @@ -49,17 +49,12 @@ eu.stork Commons ${commons.version} - org.opensaml opensaml + ${opensaml.version} org.slf4j -- cgit v1.2.3