File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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--
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: login-config.xml - How to change in runtime
 
Similar Threads
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
[JBoss 6.0 M1] javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
please help me error comes on my struts application see the source code for details
FORM and BASIC authentication in the same web app