Re: [appfuse-user] Authenticating with ldap almost there

2007-04-19 Thread Matt Raible
On 4/19/07, ChenRanHow <[EMAIL PROTECTED]> wrote: Dear Matt I tried the ldap.zip file. It seems the role and user model had some modifications Would you mind to paste them ? ex: role.getMembers missed . These are modified based on the project I was working on - but there's really no

Re: [appfuse-user] Authenticating with ldap almost there

2007-04-18 Thread ChenRanHow
Dear Matt I tried the ldap.zip file. It seems the role and user model had some modifications Would you mind to paste them ? ex: role.getMembers missed . Regards Chenztw On 4/18/07, Matt Raible <[EMAIL PROTECTED]> wrote: What tutorial are you talking about? The one on the wiki doesn'

Re: [appfuse-user] Authenticating with ldap almost there

2007-04-17 Thread Nathan Anderson
The account that you use to fetch the LDAP data needs to have sufficient privilege to get user account passwords... so it would be an "admin" account of some sort. Here is the relevant portion of a security.xml file of an AppFuse 1.9.4 app we got working with AD. value="ldap://co

Re: [appfuse-user] Authenticating with ldap almost there

2007-04-17 Thread Matt Raible
On 4/17/07, reddeagle9 <[EMAIL PROTECTED]> wrote: Cheers Matt, Your correct i am following the one from the website (http://appfuse.org/display/APF/LDAP+Authentication) but the code in my example below is from debugging the acegic classes. I think i have over analyzed the problem. went thru the

Re: [appfuse-user] Authenticating with ldap almost there

2007-04-17 Thread reddeagle9
Cheers Matt, Your correct i am following the one from the website (http://appfuse.org/display/APF/LDAP+Authentication) but the code in my example below is from debugging the acegic classes. I think i have over analyzed the problem. went thru the log files and found LDAP: error code 49 - 80090308

[appfuse-user] Authenticating with ldap almost there

2007-04-17 Thread reddeagle9
Hi Guys, Appufse 1.9.4 spring mvc, with acegi Today i have swapped out dao authentication for ldap (active directory) and i am almost there. I followed the tutorial posted and can connect to ldap and find the user. In the LdapTemplate class public Object searchForSingleEntry(final String base,