diff options
author | Thomas <> | 2022-03-10 13:23:58 +0100 |
---|---|---|
committer | Thomas <> | 2022-03-10 13:23:58 +0100 |
commit | 32988b1df31a0ed1a31275371b18201a10db88d7 (patch) | |
tree | f9616e96473b6cf3b7b4a4d5f0a33f99282b5a6f /connector/src/main | |
parent | 9a9c5e8696b4bcff1c4511b5edbc44ca0e48799a (diff) | |
download | National_eIDAS_Gateway-32988b1df31a0ed1a31275371b18201a10db88d7.tar.gz National_eIDAS_Gateway-32988b1df31a0ed1a31275371b18201a10db88d7.tar.bz2 National_eIDAS_Gateway-32988b1df31a0ed1a31275371b18201a10db88d7.zip |
chore(core): add Spring based message source to MS-Connector
Diffstat (limited to 'connector/src/main')
-rw-r--r-- | connector/src/main/java/at/asitplus/eidas/specific/connector/config/MsConnectorMessageSource.java | 21 | ||||
-rw-r--r-- | connector/src/main/resources/specific_eIDAS_connector.beans.xml | 3 |
2 files changed, 24 insertions, 0 deletions
diff --git a/connector/src/main/java/at/asitplus/eidas/specific/connector/config/MsConnectorMessageSource.java b/connector/src/main/java/at/asitplus/eidas/specific/connector/config/MsConnectorMessageSource.java new file mode 100644 index 00000000..59df6375 --- /dev/null +++ b/connector/src/main/java/at/asitplus/eidas/specific/connector/config/MsConnectorMessageSource.java @@ -0,0 +1,21 @@ +package at.asitplus.eidas.specific.connector.config; + +import java.util.Arrays; +import java.util.List; + +import at.gv.egiz.eaaf.core.api.logging.IMessageSourceLocation; + +/** + * Inject eIDAS Connector specific messages into Spring based message-source. + * + * @author tlenz + * + */ +public class MsConnectorMessageSource implements IMessageSourceLocation { + + @Override + public List<String> getMessageSourceLocation() { + return Arrays.asList("classpath:/properties/messages"); + } + +} diff --git a/connector/src/main/resources/specific_eIDAS_connector.beans.xml b/connector/src/main/resources/specific_eIDAS_connector.beans.xml index e3db72f8..9861a7c6 100644 --- a/connector/src/main/resources/specific_eIDAS_connector.beans.xml +++ b/connector/src/main/resources/specific_eIDAS_connector.beans.xml @@ -14,6 +14,9 @@ <import resource="specific_eIDAS_core.beans.xml"/> + <bean id="msConnectorMessageSource" + class="at.asitplus.eidas.specific.connector.config.MsConnectorMessageSource" /> + <bean id="processEngineSignalController" class="at.asitplus.eidas.specific.connector.controller.ProcessEngineSignalController" /> |