Develop and Download Open Source Software

Browse CVS Repository

Contents of /pal/pal-portal/installer/etc/tomcat/temp/administration.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Sun Mar 11 14:16:23 2007 UTC (17 years ago) by shinsuke
Branch: MAIN
CVS Tags: RELEASE-1_0_BETA4
File MIME type: application/xml
added mail configuration

1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
3 <!--
4 Copyright 2004 The Apache Software Foundation
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <beans>
19 <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
20 <property name="host"><value>@MAIL_SERVER@</value></property>
21 <property name="username"><value>@MAIL_USERNAME@</value></property>
22 <property name="password"><value>@MAIL_PASSWORD@</value></property>
23 <property name="javaMailProperties">
24 <props>
25 <prop key="mail.smtp.auth">@MAIL_AUTH@</prop>
26 </props>
27 </property>
28 </bean>
29
30 <bean id="adminVelocityEngine" class="org.springframework.ui.velocity.VelocityEngineFactoryBean">
31 <property name="resourceLoaderPath"><value>/WEB-INF/templates/</value></property>
32 <property name="velocityProperties">
33 <props>
34 <!-- use webapp-logging CommonsLoggingLog4JLogSystem for logging through IsolatedLog4JLogger -->
35 <prop key="runtime.log.logsystem.class">org.apache.jetspeed.webapp.logging.velocity.CommonsLoggingLog4JLogSystem</prop>
36 <prop key="runtime.log.logsystem.log4j.category">velocity</prop>
37 <!-- clear out default global VM_global_library.vm leading to ERROR logging because its not available -->
38 <prop key="velocimacro.library"></prop>
39 </props>
40 </property>
41 <!-- use our own CommonsLoggingLog4JLogSystem specified above, not the default one provided by Spring -->
42 <property name="overrideLogging"><value>false</value></property>
43 </bean>
44
45 <bean id='PortalAdministrationImpl' init-method="start"
46 class='org.apache.jetspeed.administration.PortalAdministrationImpl'>
47 <constructor-arg index='0'>
48 <ref bean="org.apache.jetspeed.security.UserManager"/>
49 </constructor-arg>
50 <constructor-arg index='1'>
51 <ref bean="org.apache.jetspeed.security.RoleManager"/>
52 </constructor-arg>
53 <constructor-arg index='2'>
54 <ref bean="org.apache.jetspeed.security.GroupManager"/>
55 </constructor-arg>
56 <constructor-arg index='3'>
57 <ref bean="org.apache.jetspeed.page.PageManager"/>
58 </constructor-arg>
59 <constructor-arg index='4'>
60 <ref bean="org.apache.jetspeed.prefs.PreferencesProvider"/>
61 </constructor-arg>
62 <constructor-arg index='5'>
63 <ref bean="org.apache.jetspeed.profiler.Profiler"/>
64 </constructor-arg>
65 <constructor-arg index='6'>
66 <ref bean="mailSender"/>
67 </constructor-arg>
68 <constructor-arg index='7'>
69 <ref bean="adminVelocityEngine"/>
70 </constructor-arg>
71 </bean>
72
73 <bean id="PortalAdministration" parent="baseTransactionProxy">
74 <property name="proxyInterfaces">
75 <value>org.apache.jetspeed.administration.PortalAdministration</value>
76 </property>
77
78 <property name="target">
79 <ref bean="PortalAdministrationImpl" />
80 </property>
81 <property name="transactionAttributes">
82 <props>
83 <prop key="register*">PROPAGATION_REQUIRED,-org.apache.jetspeed.administration.RegistrationException</prop>
84 </props>
85 </property>
86 </bean>
87
88 <bean id="org.apache.jetspeed.security.SecurityAccessController"
89 class='org.apache.jetspeed.security.impl.SecurityAccessControllerImpl'>
90 <constructor-arg index='0'>
91 <ref bean="org.apache.jetspeed.page.PageManager"/>
92 </constructor-arg>
93 <!--
94 Security Mode:
95 1 = Permissions = use Jetspeed Java Security Policy
96 2 = Constraints = use Jetspeed (PageManager) Constraint-based Security
97 -->
98 <constructor-arg index="1">
99 <value>2</value>
100 </constructor-arg>
101 </bean>
102
103 </beans>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26