aspose file tools
The moose likes JBoss and the fly likes login-config.xml - How to change in runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "login-config.xml - How to change in runtime" Watch "login-config.xml - How to change in runtime" New topic
Author

login-config.xml - How to change in runtime

Srinivas Ivaturi
Ranch Hand

Joined: Jan 28, 2003
Posts: 50
Hi

After deploying my application, I want to change the login-config.xml file using a program rather manually. Which API can I use to do that?

Thanks
Srinivas Ivaturi
Dale Seng
Ranch Hand

Joined: Mar 22, 2004
Posts: 275
I suppose if it's an XML format, you'd use javax.xml.parsers, org.w3c.dom, or whatever package handles the XML DOM. But that's not a JBoss question. A JBoss question would be "will JBoss even care if I change thing thing on the fly or will it ignore the changes until I restart"?

--Dale--
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: login-config.xml - How to change in runtime
 
Similar Threads
How to make a data source connection without writing a User name & Password and the -ds.xml file
[JBoss 6.0 M1] javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
Configuring the application policy in login-config.xml for LDAP Apache DS
please help me error comes on my struts application see the source code for details
FORM and BASIC authentication in the same web app