ldap/jboss/struts
843811Jan 21 2004 — edited Mar 11 2004Hello,
I am using Struts Menus, which print out menu and menu items based on user's roles, retrieved by request.UserInRole(). I am using Jboss as my app server and I am using LDAPModule for Security but I can't seem to get it to work. I get a j_security_check not found at log in.
What I have done so far is
1. Modified the login-config.xml (in server/default/conf) to add
<application-policy name="security">
<login-module code="org.jboss.security.auth.spi.LdapLoginModule" flag="required">
... all optional LDAP attributes...
</login-module>
2. Added the following line in jboss-web
<jboss-web>
<security-domain>java:/jaas/security</security-domain>
</jboss-web.xml>
Am I missing something else?
Thanks again!