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/java | |
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/java')
-rw-r--r-- | connector/src/main/java/at/asitplus/eidas/specific/connector/config/MsConnectorMessageSource.java | 21 |
1 files changed, 21 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"); + } + +} |