root / gss / jboss / deploy / messaging / messaging-jboss-beans.xml @ 09051786
History | View | Annotate | Download (3.2 kB)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
|
3 |
<!--
|
4 |
Messaging beans
|
5 |
$Id: messaging-beans.xml 68282 2007-12-14 13:43:52Z alex.loubyansky@jboss.com $
|
6 |
-->
|
7 |
<deployment xmlns="urn:jboss:bean-deployer:2.0"> |
8 |
|
9 |
<!-- messaging application-policy definition -->
|
10 |
<application-policy xmlns="urn:jboss:security-beans:1.0" name="messaging"> |
11 |
<authentication>
|
12 |
<login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required"> |
13 |
<module-option name="unauthenticatedIdentity">guest</module-option> |
14 |
<module-option name="dsJndiName">java:/DefaultDS</module-option> |
15 |
<module-option name="principalsQuery">SELECT PASSWD FROM JBM_USER WHERE USER_ID=?</module-option> |
16 |
<module-option name="rolesQuery">SELECT ROLE_ID, 'Roles' FROM JBM_ROLE WHERE USER_ID=?</module-option> |
17 |
</login-module>
|
18 |
</authentication>
|
19 |
</application-policy>
|
20 |
|
21 |
<bean name="SecurityStore" class="org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore"> |
22 |
<!-- default security configuration -->
|
23 |
<property name="defaultSecurityConfig"> |
24 |
<![CDATA[
|
25 |
<security>
|
26 |
<role name="guest" read="true" write="true" create="true"/> |
27 |
</security>
|
28 |
]]>
|
29 |
</property>
|
30 |
<property name="suckerPassword">$uck3r</property> |
31 |
<property name="securityDomain">messaging</property> |
32 |
<property name="securityManagement"><inject bean="JNDIBasedSecurityManagement"/></property> |
33 |
<!-- @JMX annotation to export the management view of this bean -->
|
34 |
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.messaging:service=SecurityStore",exposedInterface=org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStoreMBean.class)</annotation> |
35 |
</bean>
|
36 |
|
37 |
<bean name="QueueTemplate" class="org.jboss.profileservice.management.templates.JmsDestinationTemplate"> |
38 |
<property name="info"><inject bean="QueueTemplateInfo"/></property> |
39 |
</bean>
|
40 |
<bean name="QueueTemplateInfo" |
41 |
class="org.jboss.profileservice.management.templates.JmsDestinationTemplateInfo"> |
42 |
<constructor>
|
43 |
<parameter>QueueTemplate</parameter> |
44 |
<parameter>A template for JMS queue *-service.xml deployments</parameter> |
45 |
<parameter>queue</parameter> |
46 |
</constructor>
|
47 |
</bean>
|
48 |
|
49 |
<bean name="TopicTemplate" class="org.jboss.profileservice.management.templates.JmsDestinationTemplate"> |
50 |
<property name="info"><inject bean="TopicTemplateInfo"/></property> |
51 |
</bean>
|
52 |
<bean name="TopicTemplateInfo" |
53 |
class="org.jboss.profileservice.management.templates.JmsDestinationTemplateInfo"> |
54 |
<constructor>
|
55 |
<parameter>TopicTemplate</parameter> |
56 |
<parameter>A template for JMS topic *-service.xml deployments</parameter> |
57 |
<parameter>topic</parameter> |
58 |
</constructor>
|
59 |
</bean>
|
60 |
|
61 |
<bean name="QueueMODefinition" class="org.jboss.jms.server.destination.QueueMODefinition"> |
62 |
<constructor>
|
63 |
<parameter><inject bean="ManagedObjectFactory" /></parameter> |
64 |
</constructor>
|
65 |
</bean>
|
66 |
|
67 |
<bean name="TopicMODefinition" class="org.jboss.jms.server.destination.TopicMODefinition"> |
68 |
<constructor>
|
69 |
<parameter><inject bean="ManagedObjectFactory" /></parameter> |
70 |
</constructor>
|
71 |
</bean>
|
72 |
|
73 |
</deployment>
|