[jboss-user] [Security & JAAS/JBoss] - Re: 403 error with custom JAAS login Module.

Mayilvahanan do-not-reply at jboss.com
Fri Aug 10 08:18:23 EDT 2007


Hi,

The problem might be in your jboss-web.xml
Check you <<JBOSS_HOME>>\server\default\conf\login-cofig.xml for the application-policy and <>\WEB-INF\jboss-web.xml security-domain value as below


login-cofig.xml :

<application-policy name="web_client_security">
  
  <login-module code="org.jboss.security.ClientLoginModule" flag="required"/>
   <login-module code="com.gen.loginmodule.GenericLoginModule" flag="required"/>
  
</application-policy>

jboss-web.xml:

<jboss-web>
     <context-root>app</context-root>
     <security-domain>java:/jaas/web_client_security</security-domain>
</jboss-web>


Regards
Mayilvahanan V

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

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



More information about the jboss-user mailing list