aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule-eIDAS-v2/src
diff options
context:
space:
mode:
authorThomas <>2022-11-30 12:52:56 +0100
committerThomas <>2022-11-30 12:52:56 +0100
commit0847c9ecc75ccd5d38d09e96c6d09c8326d6a7e5 (patch)
treea885d3f25b6307bea70ad8fdcc13d574bd3ea687 /modules/authmodule-eIDAS-v2/src
parentb006cd5075093769ff17eb4b46ec6235c3240808 (diff)
downloadNational_eIDAS_Gateway-0847c9ecc75ccd5d38d09e96c6d09c8326d6a7e5.tar.gz
National_eIDAS_Gateway-0847c9ecc75ccd5d38d09e96c6d09c8326d6a7e5.tar.bz2
National_eIDAS_Gateway-0847c9ecc75ccd5d38d09e96c6d09c8326d6a7e5.zip
feat(ida): remove NameIdPolicy PERSISTENT from IDA SAML2 request
Reason: The IDA Shibboleth IDP does not support PERSISTENT yet
Diffstat (limited to 'modules/authmodule-eIDAS-v2/src')
-rw-r--r--modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/idaustriaclient/IdAustriaClientAuthRequestBuilderConfiguration.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/idaustriaclient/IdAustriaClientAuthRequestBuilderConfiguration.java b/modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/idaustriaclient/IdAustriaClientAuthRequestBuilderConfiguration.java
index 65b6a198..d24f0637 100644
--- a/modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/idaustriaclient/IdAustriaClientAuthRequestBuilderConfiguration.java
+++ b/modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/idaustriaclient/IdAustriaClientAuthRequestBuilderConfiguration.java
@@ -2,15 +2,14 @@ package at.asitplus.eidas.specific.modules.auth.eidas.v2.idaustriaclient;
import java.util.List;
-import at.gv.egiz.eaaf.modules.pvp2.api.credential.EaafX509Credential;
-import at.gv.egiz.eaaf.modules.pvp2.api.reqattr.EaafRequestedAttribute;
-import at.gv.egiz.eaaf.modules.pvp2.sp.api.IPvpAuthnRequestBuilderConfiguruation;
-
import org.opensaml.saml.saml2.core.AuthnContextComparisonTypeEnumeration;
-import org.opensaml.saml.saml2.core.NameIDType;
import org.opensaml.saml.saml2.metadata.EntityDescriptor;
import org.w3c.dom.Element;
+import at.gv.egiz.eaaf.modules.pvp2.api.credential.EaafX509Credential;
+import at.gv.egiz.eaaf.modules.pvp2.api.reqattr.EaafRequestedAttribute;
+import at.gv.egiz.eaaf.modules.pvp2.sp.api.IPvpAuthnRequestBuilderConfiguruation;
+
public class IdAustriaClientAuthRequestBuilderConfiguration implements IPvpAuthnRequestBuilderConfiguruation {
private boolean isPassive;
@@ -64,7 +63,7 @@ public class IdAustriaClientAuthRequestBuilderConfiguration implements IPvpAuthn
*/
@Override
public String getNameIdPolicyFormat() {
- return NameIDType.PERSISTENT;
+ return null;
}
/*