I am pretty new to JBoss and am trying to figure out how to digest

http://www.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig

I understand the content of the XML, but not how to deploy this thing. What I 
have is two custom realm modules (LoginModule) that I want to use. One is for 
my JSF deployment (MyCompClientJSF.ear that contains a war file) and a web 
service deployment (MyCompWebService.ear that contains a war file). 

For each project I have a login-config.xml declared that I am currently putting 
in my war's META-INF directory. Here is a dummy one I tried just to see if I 
could get it working with a JBoss LoginModule:
<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <application-policy name="TestRealm">
  |     <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
  |             flag="required">
  |             <module-option 
name="usersProperties">test-users.properties</module-option>
  |             <module-option 
name="rolesProperties">test-roles.properties</module-option>
  |     </login-module>
  | </application-policy>

The problem is that I really don't know much about mbean's at all. Neither that 
WIKI or others seem to mention where to put the xml file with the server/mbean 
declaration and if there is a naming convention or anything that is required. 
If someone could help me with the deployment I would greatly appreciate it.

My current deployment:
server/default/
  |     Test.war
  |             META-INF/
  |                     login-config.xml
  |                     jboss.xml
  |             WEB-INF/
  |                     lib/
  |                             customLoginModule.jar
  |             (...)
  |     MyCompanyClientJSF.ear/
  |             META-INF/
  |                     application.xml
  |             MyCompanyClient.war
  |                     META-INF/
  |                             login-config.xml
  |                             jboss.xml
  |                     WEB-INF/
  |                             lib/
  |                                     customLoginModule.jar
  |                     (...)
My company is a software shop and not a hosting shop, so we don't control our 
client's JBoss servers and we want to keep deployment down to a minimum (I want 
to get as close as possible to dropping a couple of files in the "deploy" 
directory and it just works, and not have to modify and of the JBoss xml files 
that are provided).

Thanks,
Andrew

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921054#3921054

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921054


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to