Il 03/08/2015 11:50, Ajith Perur ha scritto:
This is my security.xml file authentication provider:

<security:ldap-authentication-provider
user-search-filter="(cn={0})"
user-search-base="ou=users"
group-search-filter="(uniqueMember={0})"
group-search-base="ou=groups"
group-role-attribute="cn"
role-prefix="">
</security:ldap-authentication-provider>

I can see that authentication is happening but the roles are not being fetched in my program and also I am able to display the username defined in active directory which I specified.

Kinly provide help regaring this aspect.




Regards,
Ajith.P

Hi Ajith, are you trying to connect to AD with your security provider?
In this case the group-search-filter should be set to "member={0}".

In any case, be sure of the existence of attributes referred into your configuration.

Best regards,
F.

--
Fabio Martelli

Tirasa - Open Source Excellence
http://www.tirasa.net/

Apache Syncope PMC
http://people.apache.org/~fmartelli/

Reply via email to