Files
wisemapping-open-source/wise-webapp/src/main/resources/spring/wisemapping-service.xml

34 lines
1.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2012-11-04 01:06:02 -03:00
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
2023-11-22 20:46:38 -08:00
http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="${mail.smtp.host}"/>
<property name="port" value="${mail.smtp.port}"/>
<property name="protocol" value="smtp"/>
<property name="username" value="${mail.username}"/>
<property name="password" value="${mail.password}"/>
<property name="javaMailProperties">
<props>
2022-03-27 14:29:29 -03:00
<prop key="mail.smtp.auth">${mail.smtp.auth:false}</prop>
<prop key="mail.smtp.starttls.enable">${mail.smtp.starttls.enable:false}</prop>
<prop key="mail.smtp.quitwait">${mail.smtp.quitwait:true}</prop>
</props>
</property>
</bean>
2012-07-13 21:07:51 -03:00
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
2022-04-11 14:36:28 -03:00
<property name="defaultEncoding" value="UTF-8"/>
2012-07-13 21:07:51 -03:00
<property name="basenames">
<list>
<value>messages</value>
</list>
</property>
</bean>
2023-11-19 15:23:45 -08:00
<import resource="wisemapping-security-${security.type:db}.xml"/>
</beans>