diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-01-28 16:23:39 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-01-28 16:23:39 +0100 |
commit | 4fa0cebed0438e0c00ce692424868c532490b95c (patch) | |
tree | a56bf048dc3b3a8adaf17639631be65be652802c /eaaf_core/src | |
parent | a2ee5133c2593b8f0e4e1a8e929d83bbd26c60ca (diff) | |
download | EAAF-Components-4fa0cebed0438e0c00ce692424868c532490b95c.tar.gz EAAF-Components-4fa0cebed0438e0c00ce692424868c532490b95c.tar.bz2 EAAF-Components-4fa0cebed0438e0c00ce692424868c532490b95c.zip |
fix typo and remove @deprecated flags
Diffstat (limited to 'eaaf_core/src')
-rw-r--r-- | eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/AuthenticationData.java | 36 |
1 files changed, 5 insertions, 31 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/AuthenticationData.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/AuthenticationData.java index 05ea08b2..a6fe5ff0 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/AuthenticationData.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/AuthenticationData.java @@ -23,22 +23,19 @@ import java.io.Serializable; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; -import java.util.ArrayList; import java.util.Date; -import java.util.List; import java.util.Map; import java.util.TimeZone; +import at.gv.egiz.eaaf.core.api.idp.IAuthData; +import at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink; +import at.gv.egiz.eaaf.core.exceptions.EaafStorageException; + import org.apache.commons.collections4.map.HashedMap; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import at.gv.egiz.eaaf.core.api.idp.IAuthData; -import at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink; -import at.gv.egiz.eaaf.core.exceptions.EaafStorageException; -import at.gv.egiz.eaaf.core.impl.data.Pair; - /** * Service-Provider specific authentication data. * @@ -72,12 +69,8 @@ public class AuthenticationData implements IAuthData, Serializable { private String encSourceId; private String encSourceIdType; - @Deprecated private String bpk; - @Deprecated private String bpkType; - @Deprecated - private List<Pair<String, String>> additionalBpks; private String ccc = null; @@ -501,11 +494,7 @@ public class AuthenticationData implements IAuthData, Serializable { this.eidasLoa = eidasLoa; } - @Override - @Deprecated - public List<Pair<String, String>> getAdditionalbPKs() { - return this.additionalBpks; - } + /** * Set the encrypted SourceId for current authenticated user. @@ -525,21 +514,6 @@ public class AuthenticationData implements IAuthData, Serializable { this.encSourceIdType = encSourceIdType; } - /** - * Add an additional bPK Pair bPK/bPKType into authdata. - * - * @param bpk Pair bPK/bPKType - */ - @Deprecated - public void addAdditionalBpkPair(final Pair<String, String> bpk) { - if (this.additionalBpks == null) { - this.additionalBpks = new ArrayList<>(); - - } - - this.additionalBpks.add(bpk); - } - private Date getDateCopyOrNull(Date in) { if (in != null) { return new Date(in.getTime()); |