I have an app that works great with jboss-2.4.3_tomcat-3.2.3, but I 
can't get it to work with jboss-3.0.3 (w/ integrated Jetty).  It has a 
secure area that when I access it via a web browser, I get:

HTTP ERROR: 500 Realm Not Configured
RequestURI=/docs/sweb/david_cust/david_site/PrintItSimple

Again, this worked in jboss-2.4.3_tomcat-3.2.3, though of course the 
config files are slightly different now.

login-config.xml:

<application-policy name =" docs">
   <authentication>
     <login-module code =" org.jboss.security.auth.spi.ProxyLoginModule" 
flag =" required" />
     <module-option 
name="moduleName">corp.docs.security.DOCSLoginModule</module-option>
     <module-option name = "dsJndiName">java:/DocsDS</module-option>
   </authentication>
</application-policy>

DOCSLoginModule.class is in a jar file in server/default/lib/.

jboss-web.xml:

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

web.xml:

<security-constraint>
   <web-resource-collection>
     <web-resource-name>Secure WebDOCS</web-resource-name>
     <url-pattern>/sweb/*</url-pattern>
   </web-resource-collection>
   <auth-constraint>
     <role-name>DEFAULT</role-name>
   </auth-constraint>
</security-constraint>

Non secure areas of the app work fine.

Thanks for the help,
David




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to