aspose file tools*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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

login-config.xml - How to change in runtime

Srinivas Ivaturi
Ranch Hand

Joined: Jan 28, 2003
Posts: 50

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?

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"?

I agree. Here's the link:
subject: login-config.xml - How to change in runtime
Similar Threads
FORM and BASIC authentication in the same web app
please help me error comes on my struts application see the source code for details
[JBoss 6.0 M1] Password Incorrect/Password Required
How to make a data source connection without writing a User name & Password and the -ds.xml file
Configuring the application policy in login-config.xml for LDAP Apache DS