diff options
author | Thomas <> | 2023-09-27 14:07:56 +0200 |
---|---|---|
committer | Thomas <> | 2024-01-26 18:49:57 +0100 |
commit | b3a0302041d08ba8360d96216b6da67580850717 (patch) | |
tree | 9dc2fc819ce886ce1365c94ac3ae9f2a9adbab35 /modules/eidas_proxy-sevice/src/main/java/at/asitplus | |
parent | 1a77d8ff850d014cd81fcc1fd867a2953b497833 (diff) | |
download | National_eIDAS_Gateway-b3a0302041d08ba8360d96216b6da67580850717.tar.gz National_eIDAS_Gateway-b3a0302041d08ba8360d96216b6da67580850717.tar.bz2 National_eIDAS_Gateway-b3a0302041d08ba8360d96216b6da67580850717.zip |
feat(eidas): refactoring to eIDAS node v2.7
Diffstat (limited to 'modules/eidas_proxy-sevice/src/main/java/at/asitplus')
3 files changed, 6 insertions, 10 deletions
diff --git a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/MsProxyServiceSpringResourceProvider.java b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/MsProxyServiceSpringResourceProvider.java index 571ad8ab..71f96a76 100644 --- a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/MsProxyServiceSpringResourceProvider.java +++ b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/MsProxyServiceSpringResourceProvider.java @@ -45,11 +45,11 @@ public class MsProxyServiceSpringResourceProvider implements SpringResourceProvi public Resource[] getResourcesToLoad() { final ClassPathResource eidasProxyServiceConfig = new ClassPathResource("/spring/eidas_proxy-service.beans.xml", MsProxyServiceSpringResourceProvider.class); - final ClassPathResource eidasRefImplConfig = new ClassPathResource("/eidas_v2_auth_ref_impl_config.beans.xml", - MsProxyServiceSpringResourceProvider.class); - - + final ClassPathResource eidasRefImplConfig = + new ClassPathResource("/eidas_v27_proxyservice.beans.xml", + MsProxyServiceSpringResourceProvider.class); return new Resource[] { eidasProxyServiceConfig, eidasRefImplConfig }; + } } diff --git a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java index 4de28956..5742b920 100644 --- a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java +++ b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java @@ -56,7 +56,6 @@ import eu.eidas.auth.commons.light.ILightRequest; import eu.eidas.auth.commons.light.impl.LightResponse; import eu.eidas.auth.commons.light.impl.LightResponse.Builder; import eu.eidas.auth.commons.light.impl.ResponseStatus; -import eu.eidas.specificcommunication.SpecificCommunicationDefinitionBeanNames; import eu.eidas.specificcommunication.exception.SpecificCommunicationException; import eu.eidas.specificcommunication.protocol.SpecificCommunicationService; import lombok.extern.slf4j.Slf4j; @@ -121,8 +120,7 @@ public class EidasProxyServiceController extends AbstractController implements I // read authentication request from shared cache final SpecificCommunicationService specificProxyCommunicationService = (SpecificCommunicationService) applicationContext.getBean( - SpecificCommunicationDefinitionBeanNames.SPECIFIC_PROXYSERVICE_COMMUNICATION_SERVICE - .toString()); + EidasConstants.SPECIFIC_PROXYSERVICE_COMMUNICATION_SERVICE); final ILightRequest eidasRequest = specificProxyCommunicationService.getAndRemoveRequest( tokenBase64, ImmutableSortedSet.copyOf(attrRegistry.getCoreRegistry().getCoreAttributeRegistry() diff --git a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java index bb85f18c..bb91e919 100644 --- a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java +++ b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java @@ -49,7 +49,6 @@ import eu.eidas.auth.commons.light.impl.LightResponse.Builder; import eu.eidas.auth.commons.light.impl.ResponseStatus; import eu.eidas.auth.commons.tx.BinaryLightToken; import eu.eidas.specificcommunication.BinaryLightTokenHelper; -import eu.eidas.specificcommunication.SpecificCommunicationDefinitionBeanNames; import eu.eidas.specificcommunication.exception.SpecificCommunicationException; import eu.eidas.specificcommunication.protocol.SpecificCommunicationService; import lombok.extern.slf4j.Slf4j; @@ -328,8 +327,7 @@ public class ProxyServiceAuthenticationAction implements IAction { try { final SpecificCommunicationService springManagedSpecificConnectorCommunicationService = (SpecificCommunicationService) context.getBean( - SpecificCommunicationDefinitionBeanNames.SPECIFIC_PROXYSERVICE_COMMUNICATION_SERVICE - .toString()); + EidasConstants.SPECIFIC_PROXYSERVICE_COMMUNICATION_SERVICE); binaryLightToken = springManagedSpecificConnectorCommunicationService.putResponse(lightResponse); |