Hi Scott,
thanx for your answer.

If I put the file myloginconfig.xml in the WEB-INF/classes directory,
it cannot be found when I start JBoss the first time.
Then I redeployed the service.xml and the file myloginconfig.xml is found. 
So I does not work properly. Is this a bug?

It would be also cool, to get the login config from somewhere on the
filesystem (not as part of the web application).

I tried to do it with the following configuration.

  | <server>
  |     
  |    <classpath codebase="file:///C:/somedir/etc"/>  
  |     
  |    <mbean code="org.jboss.security.auth.login.DynamicLoginConfig"
  |       name="jboss.security:applicational=SecurityConfig">
  |       <attribute name="AuthConfig">myloginconfig.xml</attribute>
  |       <depends optional-attribute-name="LoginConfigService">
  |          jboss.security:service=XMLLoginConfig
  |       </depends>
  |       <depends optional-attribute-name="SecurityManagerService">
  |          jboss.security:service=JaasSecurityManager
  |       </depends>
  |    </mbean>
  |  
  |    <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
  | name="jboss.deployment.tcsample:type=DeploymentScanner,flavor=URL">
  | 
  |       <depends 
optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
  | 
  |  
  |       <attribute 
name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
  | 
  | 
  | 
  |       <attribute 
name="Filter">org.jboss.deployment.scanner.DeploymentFilter</attribute>
  | 
  |       <attribute name="ScanPeriod">5</attribute>
  | 
  | 
  |       <attribute name="URLs">
  |         file:///C:/jboss-4.0/TomcatSampleServlets_jboss/deploy/
  |       </attribute>
  | 
  |       <attribute name="RecursiveSearch">True</attribute>
  | 
  |    </mbean>
  | </server>
  | 

The file myloginconfig.xml is located inside the directory specified in the 
codebase (C:/somedir/etc).  Jboss was not able to locate the file (not even 
during redeployment). Does anybody know how the configuration must look.

By the way I use JBoss [Zion] 4.0.0 on Win (jdk 1.4.2).
Regards Karin

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to