Skip to content

Commit 1596b6b

Browse files
committed
Updated UMA server to use new multi-part messages structure
1 parent ea77bf2 commit 1596b6b

File tree

4 files changed

+58
-494
lines changed

4 files changed

+58
-494
lines changed

uma-server-webapp/src/main/webapp/WEB-INF/application-context.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@
218218
<!-- Configure locale information -->
219219
<bean id="messageSource" class="org.mitre.openid.connect.config.JsonMessageSource">
220220
<property name="baseDirectory" value="/resources/js/locale/" />
221+
<property name="useCodeAsDefaultMessage" value="true" />
221222
</bean>
222223

223224
<!-- user services -->

uma-server-webapp/src/main/webapp/WEB-INF/server-config.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@
4949
<!-- This property sets the locale for server text -->
5050
<!-- <property name="locale" value="sv" /> -->
5151

52+
<!-- This property sets the set of namespaces for language translation files. The default is "messages". These are checked in the order presented here. -->
53+
<property name="languageNamespaces">
54+
<list>
55+
<value>uma</value>
56+
<value>messages</value>
57+
</list>
58+
</property>
5259
</bean>
5360

5461
</beans>

0 commit comments

Comments
 (0)