Ok, guys and gals, sorry for all the questions.

I have managed to finally get by one of my errors and now I am having another 
error.  I am using DynamicLoginConfig successfully however, if I put my 
security domain as the following I get a failed to create security manager 
stacktrace.

<security-domain>java:jaas/overdrive</security-domain>

Now, if I make it just the following, it seems to create the security manager 
successfully but then I get a Tomcat dump.

javax.naming.NameNotFoundException: overdrive not bound

Does anybody have any ideas what the problem might be?

JBoss Service.xml
<server>
  | 
  |    <!-- 
==================================================================== -->
  |    <!-- Security                                                            
 -->
  |    <!-- 
==================================================================== -->
  | 
  |    <mbean code="org.jboss.security.auth.login.DynamicLoginConfig"
  |             name="jboss:service=DynamicLoginConfig">
  |     <attribute name="AuthConfig">META-INF/login-config.xml</attribute>
  | 
  |     <depends optional-attribute-name="LoginConfigService">
  |             jboss.security:service=XMLLoginConfig
  |     </depends>
  |     
  |     <depends optional-attribute-name="SecurityManagerService">
  |             jboss.security:service=JaasSecurityManager
  |     </depends>
  |    </mbean>
  |    
  | </server>

LoginConfig.xml
<?xml version='1.0'?>
  | <!DOCTYPE policy PUBLIC
  |       "-//JBoss//DTD JBOSS Security Config 3.0//EN"
  |       "http://www.jboss.org/j2ee/dtd/security_config.dtd";>
  | 
  | <policy>
  |     <application-policy name="overdrive">
  |             <authentication>
  |                     <login-module code="com.kadt.security.LoginModule" 
flag="required">
  |                             <module-option 
name="url">jdbc:sapdb://localhost/dms?sqlmode=ORACLE</module-option>
  |                             <module-option 
name="driverClass">com.sap.dbtech.jdbc.DriverSapDB</module-option>
  |                             <module-option name="debug">true</module-option>
  |                     <module-option 
name="ignorePasswordCase">false</module-option>
  |                     </login-module>
  |                     <login-module 
code="org.jboss.security.ClientLoginModule" flag="required"></login-module>
  |             </authentication>    
  |     </application-policy>
  | 
  | </policy>

JBossWeb.xml
<jboss-web>
  |   <security-domain>overdrive</security-domain>
  |   
  |   <class-loading java2ClassLoadingCompliance="false">
  |      <loader-repository>
  |               sf:loader=sf.war
  |           
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
  |      </loader-repository>
  |   </class-loading>  
  | 
  |   <module>
  |     <service>authService.sar</service>
  |   </module>
  | 
  | </jboss-web>



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

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to