I am also using jBoss-4.2.1-GA and JBoss_Portal_2_6_1
Pretty sure I didn't miss anything...I went through it a couple of times. Here's what I did notice:
* If I attempt to login with an id that is not in AD, I get the expected "Invalid user ID/Password" message.
* If I attempt to login with an id that is in AD, I get the error message I posted.
It appears that it is able to search LDAP and find users. It just seems like it does not like the shape of my LDAP entry that it finds, resulting in the error:
Caused by: javax.security.auth.login.LoginException: org.jboss.portal.identity.IdentityException: Co uldn't create LDAPUserImpl object from ldap entry (SearchResult)
Resolved!
I am ashamed to say that I indeed was not following every step in the wiki article...I left out his crucial configuration piece:
<option> <name>uidAttributeID</name> <value>sAMAccountName</value> </option>
No problem, I'm glad it worked for you.
Thanks,
Tobias