1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <!-- |
---|
3 | $Id: mail-service.xml 62350 2007-04-15 16:50:12Z dimitris@jboss.org $ |
---|
4 | --> |
---|
5 | <server> |
---|
6 | |
---|
7 | |
---|
8 | <!-- Configures the Discovery Mail Service --> |
---|
9 | <mbean code="org.jboss.mail.MailService" name="jboss:service=Mail"> |
---|
10 | <attribute name="JNDIName">/mail/DiscoveryMail</attribute> |
---|
11 | <attribute name="Configuration"> |
---|
12 | <!-- A test configuration --> |
---|
13 | <configuration> |
---|
14 | <!-- Change to your mail server prototocol --> |
---|
15 | <!-- <property name="mail.store.protocol" value="pop3"/> --> |
---|
16 | <property name="mail.transport.protocol" value="smtp" /> |
---|
17 | |
---|
18 | <!-- Change to the mail server --> |
---|
19 | <!-- <property name="mail.pop3.host" value="localhost"/> --> |
---|
20 | |
---|
21 | <!-- Change to the SMTP gateway server --> |
---|
22 | <property name="mail.smtp.host" value="localhost" /> |
---|
23 | |
---|
24 | <!-- The mail server port --> |
---|
25 | <property name="mail.smtp.port" value="25" /> |
---|
26 | |
---|
27 | <!-- Change to the address mail will be from --> |
---|
28 | <property name="mail.from" value="dpws@dpws.urg" /> |
---|
29 | |
---|
30 | <!-- Enable debugging output from the javamail classes --> |
---|
31 | <property name="mail.debug" value="false" /> |
---|
32 | </configuration> |
---|
33 | </attribute> |
---|
34 | <depends>jboss:service=Naming</depends> |
---|
35 | </mbean> |
---|
36 | |
---|
37 | <!-- Configures the Discovery JMS --> |
---|
38 | <mbean xmbean-dd="xmdesc/Queue-xmbean.xml" |
---|
39 | name="jboss.messaging.destination:service=Queue,name=DiscoveryHarvestQueue" |
---|
40 | code="org.jboss.jms.server.destination.QueueService"> |
---|
41 | <attribute name="JNDIName">/DiscoveryHarvestQueue</attribute> |
---|
42 | <depends optional-attribute-name="ServerPeer"> |
---|
43 | jboss.messaging:service=ServerPeer |
---|
44 | </depends> |
---|
45 | <depends>jboss.messaging:service=PostOffice</depends> |
---|
46 | </mbean> |
---|
47 | |
---|
48 | <!-- Configures the Discovery SecurityDomain --> |
---|
49 | <!-- |
---|
50 | <mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="jboss.security:service=SecurityDomain"> |
---|
51 | <constructor> |
---|
52 | <arg type="java.lang.String" value="discoveryDomain" /> |
---|
53 | </constructor> |
---|
54 | <attribute name="KeyStoreURL">file:${jboss.server.home.dir}/conf/server.keystore</attribute> |
---|
55 | <attribute name="KeyStorePass">keypassword</attribute> |
---|
56 | <attribute name="TrustStoreURL">file:${jboss.server.home.dir}/conf/server.truststore</attribute> |
---|
57 | <attribute name="TrustStorePass">trustpassword</attribute> |
---|
58 | <depends>jboss.security:service=JaasSecurityManager</depends> |
---|
59 | </mbean> |
---|
60 | |
---|
61 | <mbean code="org.jboss.security.auth.login.DynamicLoginConfig" name="jboss:service=DynamicLoginConfig"> |
---|
62 | <attribute name="AuthConfig">file:${jboss.server.home.dir}/deploy/discovery-security-config.xml</attribute> |
---|
63 | <depends optional-attribute-name="LoginConfigService"> |
---|
64 | jboss.security:service=XMLLoginConfig |
---|
65 | </depends> |
---|
66 | <depends optional-attribute-name="SecurityManagerService"> |
---|
67 | jboss.security:service=JaasSecurityManager |
---|
68 | </depends> |
---|
69 | </mbean> |
---|
70 | --> |
---|
71 | </server> |
---|