wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Jboss Conf files 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 "Jboss Conf files" Watch "Jboss Conf files" New topic
Author

Jboss Conf files

RoshaniG Gopal
Ranch Hand

Joined: May 15, 2006
Posts: 180
Hi all,
In Jboss, I need to generate the tags in conf files (like jboss-web.xml). Is there any API that can create the above tags?
For eg: <security-domain>java:/jaas/jmx-console</security-domain>

I need to programatically generate the <security-domain> tag.
I have an API with which i can set/get the above tags, but i want to generate the above tags using an API.

Please help.


Regards,<br />Roshani
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9962
    
163

By API, do you mean you want to use it programatically? Would XDoclet do the job for you? Have a look at the securitydomain attribute in jbosswebxml task. This task will autogenerate the jboss-web.xml with the security-domain tag in it.


[My Blog] [JavaRanch Journal]
 
 
subject: Jboss Conf files
 
Similar Threads
How to make a data source connection without writing a User name & Password and the -ds.xml file
Example Code for JAAS with JBoss? Got it to work by "fudging." How do Right?
Jboss, connection problem
SSL problem with JBOSS AS
connection pool with jboss