Use a unique prefix for the resource so that is only found in the ear, and update the
mbean AuthConfig attribute value:
| <mbean code="org.jboss.security.auth.login.DynamicLoginConfig"
| name="jboss.security.tests:service=SecuritySpecLoginConfig">
| <attribute
name="AuthConfig">secured-ejb/login-config.xml</attribute>
| <depends optional-attribute-name="LoginConfigService">
| jboss.security:service=XMLLoginConfig
| </depends>
| <depends optional-attribute-name="SecurityManagerService">
| jboss.security:service=JaasSecurityManager
| </depends>
| </mbean>
|
The jca-securedejb.jar would have to be updated to include the
secured-ejb/login-config.xml resource rather than having login-config.xml at the root of
the jar.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122698#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...