diff options
author | Thomas <> | 2022-08-23 10:16:18 +0200 |
---|---|---|
committer | Thomas <> | 2022-08-23 10:16:18 +0200 |
commit | fba292223fef41d6d538bb8a8025cce85ebadc6c (patch) | |
tree | 486b1e30e2b155fa3edae257a2b120b20d5d6117 /ms_specific_proxyservice/src/main | |
parent | 25c58b0a065db4a38610d54539d707ca4aaae326 (diff) | |
download | National_eIDAS_Gateway-fba292223fef41d6d538bb8a8025cce85ebadc6c.tar.gz National_eIDAS_Gateway-fba292223fef41d6d538bb8a8025cce85ebadc6c.tar.bz2 National_eIDAS_Gateway-fba292223fef41d6d538bb8a8025cce85ebadc6c.zip |
fix(proxyservice): add MS-Proxy-Service specific message-sources
Diffstat (limited to 'ms_specific_proxyservice/src/main')
2 files changed, 24 insertions, 0 deletions
diff --git a/ms_specific_proxyservice/src/main/java/at/asitplus/eidas/specific/proxy/config/MsProxyServiceMessageSource.java b/ms_specific_proxyservice/src/main/java/at/asitplus/eidas/specific/proxy/config/MsProxyServiceMessageSource.java new file mode 100644 index 00000000..7274a354 --- /dev/null +++ b/ms_specific_proxyservice/src/main/java/at/asitplus/eidas/specific/proxy/config/MsProxyServiceMessageSource.java @@ -0,0 +1,21 @@ +package at.asitplus.eidas.specific.proxy.config; + +import java.util.Arrays; +import java.util.List; + +import at.gv.egiz.eaaf.core.api.logging.IMessageSourceLocation; + +/** + * Inject eIDAS Proxy-Service specific messages into Spring based message-source. + * + * @author tlenz + * + */ +public class MsProxyServiceMessageSource implements IMessageSourceLocation { + + @Override + public List<String> getMessageSourceLocation() { + return Arrays.asList("classpath:/properties/messages"); + } + +} diff --git a/ms_specific_proxyservice/src/main/resources/specific_eIDAS_proxy.beans.xml b/ms_specific_proxyservice/src/main/resources/specific_eIDAS_proxy.beans.xml index cc4c904e..452285e3 100644 --- a/ms_specific_proxyservice/src/main/resources/specific_eIDAS_proxy.beans.xml +++ b/ms_specific_proxyservice/src/main/resources/specific_eIDAS_proxy.beans.xml @@ -19,4 +19,7 @@ <bean id="pvpEndpointConfig" class="at.asitplus.eidas.specific.proxy.pvp.PvpEndPointConfiguration" /> + <bean id="msProxyServiceMessageSources" + class="at.asitplus.eidas.specific.proxy.config.MsProxyServiceMessageSource" /> + </beans>
\ No newline at end of file |