This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
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://aspose.com/file-tools
 
subject: login-config.xml - How to change in runtime
 
Similar Threads
please help me error comes on my struts application see the source code for details
[JBoss 6.0 M1] javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
FORM and BASIC authentication in the same web app
Configuring the application policy in login-config.xml for LDAP Apache DS
How to make a data source connection without writing a User name & Password and the -ds.xml file