>From the description on the Wiki, it sounds like you can put login-config.xml 
>into the WEB-INF directory in your .war file, but JBoss4 doesn't see it when 
>you do that.

I tried changing the mbean to look like this:
   
      WEB-INF/login-config.xml
      <!-- The service which supports dynamic processing of login-config.xml
         configurations.
      -->
      <depends optional-attribute-name="LoginConfigService">
         jboss.security:service=XMLLoginConfig
      
      <!-- Optionally specify the security mgr service to use when
         this service is stopped to flush the auth caches of the domains
         registered by this service.
      -->
      <depends optional-attribute-name="SecurityManagerService">
         jboss.security:service=JaasSecurityManager
      
   

hoping that would let me put the login-config info into my WEB-INF directory, 
but JBoss4 won't start if I do this.

So, it looks like it just enables the 
jboss/server/default/conf/login-config.xml to be parsed dynamically so you 
don't have to bounce the JBoss4 server.

Not quite what I was after, unfortunately.  I'm trying to find an easy way to 
update login-config.xml via an Ant build script so I don't have to do it 
manually.  In other words, something like how data sources are handled by 
adding a *-ds.xml file to the server/default/conf directory would have been 
ideal (though that dynamic deployer did it).


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864749#3864749

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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to