2012-06-16 15:59:59 -03:00
|
|
|
<?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"
|
2012-11-04 18:17:32 -03:00
|
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
2012-11-04 01:06:02 -03:00
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
2020-11-07 11:56:38 -08:00
|
|
|
http://www.springframework.org/schema/beans/spring-beans.xsd
|
2020-11-06 21:35:54 -08:00
|
|
|
http://www.springframework.org/schema/context
|
2020-11-07 11:56:38 -08:00
|
|
|
http://www.springframework.org/schema/context/spring-context.xsd">
|
2012-11-04 18:17:32 -03:00
|
|
|
|
|
|
|
<context:property-placeholder location="/WEB-INF/app.properties" ignore-unresolvable="true"/>
|
2012-06-16 15:59:59 -03:00
|
|
|
|
|
|
|
<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>
|
2012-06-16 15:59:59 -03:00
|
|
|
</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-07-28 22:46:38 -07:00
|
|
|
<import resource="wisemapping-security-${security.type}.xml"/>
|
2012-06-16 15:59:59 -03:00
|
|
|
</beans>
|