[jboss-dev-forums] [Design of Security on JBoss] - Re: DynamicLoginConfig MBean Service in JBoss5

scott.stark@jboss.org do-not-reply at jboss.com
Wed Jan 23 11:38:47 EST 2008


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#4122698

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122698



More information about the jboss-dev-forums mailing list