The parameters i was passing into ctx.search() were wrong.I am getting response now with the asked details.
String[] attrIDs = { "distinguishedName",
"sn",
...
Type: Posts; User: harishpatarla; Keyword(s):
The parameters i was passing into ctx.search() were wrong.I am getting response now with the asked details.
String[] attrIDs = { "distinguishedName",
"sn",
...
Hi,
I am able to connect to my ldap server but after connecting i get an exception when i try n search for a user.
SearchControls constraints = new SearchControls();
...
Hi...i am using spring security in my application and i provide authentication and authorization based on the role defined in my ldap server.So the users now login using there username and password....
Hi, I see this error on my Linux box.
2012-03-16 04:53:11,801 INFO [Thread-2] org.springframework.beans.factory.support.DefaultSingletonBeanRegistry (DefaultSingletonBeanRegistry.java:421) -...
# Secure object: [ROLE_RLE-BLR-DEV-JUNIOR AUTOMATION DEVELOPER-STAFF, ROLE_RLE-BLR-DEV-AUTOMATION QA TEAM LEADER, ROLE_RLE-BLR-DEV-QA ENGINEER 4-STAFF]; ConfigAttributes: [ROLE_RLE-BLR-DEV-JUNIOR...
the reference document you suggested contains a bean like below.
<bean id="contextSource"
class="org.springframework.security.ldap.DefaultSpringSecurityContextSource">
...
thanks buddy. i did go through the reference page you have given.
here is a log trace of the exception i am getting. i am using bind authentication.
The LdapAuthenticationProvider is fine...
i have integrated ldap with acegisecurity. i have to give the username and password in my xml to login to my service.
how do we avoid this.I am giving the roles in a java file.
how do i know if the...