aboutsummaryrefslogtreecommitdiff
path: root/id/server/stork2-commons
diff options
context:
space:
mode:
authorBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-03-04 20:26:59 +0100
committerBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-03-04 20:26:59 +0100
commitb6e7ce977ab350405a7d032ed5a852d5c47c3a9d (patch)
tree53fd4695c5b508418a1a404284ce996a01311393 /id/server/stork2-commons
parenteb32824288778c0fd427dbcbf826c8d9c16596b2 (diff)
parentd22d1372540058c1e20a49c5df23f9ba6f880089 (diff)
downloadmoa-id-spss-b6e7ce977ab350405a7d032ed5a852d5c47c3a9d.tar.gz
moa-id-spss-b6e7ce977ab350405a7d032ed5a852d5c47c3a9d.tar.bz2
moa-id-spss-b6e7ce977ab350405a7d032ed5a852d5c47c3a9d.zip
after merge bs_3_fr
Diffstat (limited to 'id/server/stork2-commons')
-rw-r--r--id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/PersonalAttributeList.java7
-rw-r--r--id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/STORKAuthnResponse.java2
2 files changed, 5 insertions, 4 deletions
diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/PersonalAttributeList.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/PersonalAttributeList.java
index 642b249d4..9a0f87488 100644
--- a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/PersonalAttributeList.java
+++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/PersonalAttributeList.java
@@ -13,6 +13,7 @@
*/
package eu.stork.peps.auth.commons;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
@@ -37,7 +38,7 @@ import org.apache.log4j.Logger;
*/
@SuppressWarnings("PMD")
public final class PersonalAttributeList extends
- ConcurrentHashMap<String, PersonalAttribute> implements IPersonalAttributeList{
+ ConcurrentHashMap<String, PersonalAttribute> implements IPersonalAttributeList, Serializable {
/**
* Logger object.
@@ -53,13 +54,13 @@ public final class PersonalAttributeList extends
/**
* Hash with the latest fetched attribute name alias.
*/
- private final transient Map<String, Integer> latestAttrAlias =
+ private final Map<String, Integer> latestAttrAlias =
new HashMap<String, Integer>();
/**
* Hash with mapping number of alias or the attribute name.
*/
- private final transient Map<String, Integer> attrAliasNumber =
+ private final Map<String, Integer> attrAliasNumber =
new HashMap<String, Integer>();
/**
diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/STORKAuthnResponse.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/STORKAuthnResponse.java
index dd99cb8f6..cab723837 100644
--- a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/STORKAuthnResponse.java
+++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/STORKAuthnResponse.java
@@ -68,7 +68,7 @@ public final class STORKAuthnResponse implements Serializable {
private String country;
/** Citizen's personal attribute list. */
- private transient IPersonalAttributeList attributeList = new PersonalAttributeList();
+ private IPersonalAttributeList attributeList = new PersonalAttributeList();
/** List of all assertions in response *. */
private List<Assertion> assertions;