aboutsummaryrefslogtreecommitdiff
path: root/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/AttributeProvidersMap.java
diff options
context:
space:
mode:
authorFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-01-21 14:38:35 +0100
committerFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-01-27 16:38:56 +0100
commit9cb68043945f53246928443cea723b58ee2b1c24 (patch)
treec612cb928452d27d6fc5e3014d5f044fac643b22 /id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/AttributeProvidersMap.java
parent6c7a6f8e222e4fb39a11c220b63e785f2037d428 (diff)
downloadmoa-id-spss-9cb68043945f53246928443cea723b58ee2b1c24.tar.gz
moa-id-spss-9cb68043945f53246928443cea723b58ee2b1c24.tar.bz2
moa-id-spss-9cb68043945f53246928443cea723b58ee2b1c24.zip
updated samlengine
Diffstat (limited to 'id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/AttributeProvidersMap.java')
-rw-r--r--id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/AttributeProvidersMap.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/AttributeProvidersMap.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/AttributeProvidersMap.java
index 8806ba866..85aec2625 100644
--- a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/AttributeProvidersMap.java
+++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/AttributeProvidersMap.java
@@ -30,7 +30,7 @@ public class AttributeProvidersMap extends LinkedHashMap<AttributeSource, IPerso
* {@inheritDoc}
*/
@Override
- public IPersonalAttributeList get(AttributeSource key) {
+ public IPersonalAttributeList get(final AttributeSource key) {
return this.get((Object) key);
}
@@ -38,7 +38,7 @@ public class AttributeProvidersMap extends LinkedHashMap<AttributeSource, IPerso
* {@inheritDoc}
*/
@Override
- public IPersonalAttributeList remove(AttributeSource key) {
+ public IPersonalAttributeList remove(final AttributeSource key) {
return this.remove((Object) key);
}
@@ -46,7 +46,7 @@ public class AttributeProvidersMap extends LinkedHashMap<AttributeSource, IPerso
* {@inheritDoc}
*/
@Override
- public boolean containsKey(AttributeSource key) {
+ public boolean containsKey(final AttributeSource key) {
return this.containsKey((Object) key);
}
@@ -72,10 +72,12 @@ public class AttributeProvidersMap extends LinkedHashMap<AttributeSource, IPerso
LOG.trace("Source details: type [" + source.getSourceType() + "], URL [" + source.getProviderURL() + "]");
- if(source.getSourceType() == AttributeSource.SOURCE_LOCAL_APROVIDER)
+ if(source.getSourceType() == AttributeSource.SOURCE_LOCAL_APROVIDER) {
LOG.trace("-> Attribute Provider: ID [" + source.getProvider().getProviderId() + "], name [" + source.getProvider().getProviderName() + "]");
- else
+ }
+ else {
LOG.trace("-> Country: ID [" + source.getCountry().getCountryId() + "], name [" + source.getCountry().getCountryName() + "]");
+ }
pal = this.get(source);
LOG.trace("++++++++=>");
@@ -83,7 +85,7 @@ public class AttributeProvidersMap extends LinkedHashMap<AttributeSource, IPerso
while (iterator2.hasNext()) {
pa = iterator2.next();
- LOG.trace("-> Citizen Attribute: name [" + pa.getName() + "], name [" + pa.isRequired() + "]");
+ LOG.trace("-> Citizen Attribute: name [" + pa.getName() + "], required [" + pa.isRequired() + "]");
}
LOG.trace("<=++++++++");