Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ldap/jboss/struts

843811Jan 21 2004 — edited Mar 11 2004
Hello,
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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2004
Added on Jan 21 2004
1 comment
165 views