mirror of https://github.com/apache/archiva.git
Fixes the registration problem since moving redback to spring
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@707526 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
338acb23ec
commit
13ccfecb4a
|
@ -58,14 +58,6 @@
|
|||
</configuration>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<role>org.codehaus.plexus.mailsender.MailSender</role>
|
||||
<implementation>org.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender</implementation>
|
||||
<configuration>
|
||||
<jndiSessionName>java:comp/env/mail/Session</jndiSessionName>
|
||||
</configuration>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<role>org.codehaus.plexus.jdo.JdoFactory</role>
|
||||
<role-hint>archiva</role-hint>
|
||||
|
|
|
@ -53,4 +53,13 @@
|
|||
<ref bean="securitySystem"/>
|
||||
</constructor-arg>
|
||||
</bean>
|
||||
|
||||
<bean id="mailSession" class="org.springframework.jndi.JndiObjectFactoryBean">
|
||||
<property name="jndiName" value="java:comp/env/mail/Session">
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean name="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
|
||||
<property name="session" ref="mailSession"/>
|
||||
</bean>
|
||||
</beans>
|
||||
|
|
Loading…
Reference in New Issue