[jboss-user] [Security & JAAS/JBoss] - Re: Custum LoginModule calling EJB in non-default security d
scott.stark@jboss.org
do-not-reply at jboss.com
Sat Dec 9 11:51:41 EST 2006
A login module in domain1 cannot call a secured ejb in domain1. You can specify the security domain at the bean level using the container-configuration setup of jboss.xml:
| <jboss>
| <enterprise-beans>
| <entity>
| <ejb-name>AuditMappedEJB</ejb-name>
| <local-jndi-name>cmp2/audit/AuditMapped</local-jndi-name>
| <configuration-name>Secured CMP 2.x EnitityBean</configuration-name>
| </entity>
| </enterprise-beans>
|
| <container-configurations>
| <container-configuration extends="Standard CMP 2.x EntityBean">
| <container-name>Secured CMP 2.x EnitityBean</container-name>
| <security-domain>java:/jaas/other</security-domain>
| </container-configuration>
| </container-configurations>
| </jboss>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992430#3992430
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992430
More information about the jboss-user
mailing list