Meaningless Drivel is fun!*
The moose likes JBoss/WildFly and the fly likes login-config.xml - How to change in runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
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--
 
GeeCON Prague 2014
 
subject: login-config.xml - How to change in runtime