diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-12-15 18:21:07 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-12-15 18:21:07 +0100 |
commit | 47e2b6c838233aec6482ae81db91d8d48f0d3ea3 (patch) | |
tree | 495db98e50d49f8170896df6a4577a8e480866d0 /connector_lib/src/main/java/at/asitplus/eidas/specific/connector/config | |
parent | 230e6c3890c7e63b286e9a08001e5ffd63743d2c (diff) | |
parent | 76bba5972cfa6d6272a73cbdf56a8705419c55c8 (diff) | |
download | National_eIDAS_Gateway-47e2b6c838233aec6482ae81db91d8d48f0d3ea3.tar.gz National_eIDAS_Gateway-47e2b6c838233aec6482ae81db91d8d48f0d3ea3.tar.bz2 National_eIDAS_Gateway-47e2b6c838233aec6482ae81db91d8d48f0d3ea3.zip |
Merge branch 'feature/EID_connection' into 'nightlybuild'
Feature/eid connection
See merge request egiz/eidas_at_proxy!2
Diffstat (limited to 'connector_lib/src/main/java/at/asitplus/eidas/specific/connector/config')
-rw-r--r-- | connector_lib/src/main/java/at/asitplus/eidas/specific/connector/config/ServiceProviderConfiguration.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/config/ServiceProviderConfiguration.java b/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/config/ServiceProviderConfiguration.java index 6f7eace3..362d0244 100644 --- a/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/config/ServiceProviderConfiguration.java +++ b/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/config/ServiceProviderConfiguration.java @@ -57,12 +57,14 @@ public class ServiceProviderConfiguration extends SpConfigurationImpl { } + @Override public boolean hasBaseIdTransferRestriction() { final Boolean spConfigPolicy = isConfigurationValue( MsEidasNodeConstants.PROP_CONFIG_SP_POLICY_BASEIDTRANSFER_RESTRICTION); - if (spConfigPolicy != null) { + if (spConfigPolicy) { return spConfigPolicy; + } else { log.trace("SP configuration defines no baseID transfer restriction. Enforce default policy ..."); for (final String el : getTargetsWithNoBaseIdTransferRestriction()) { |