Hello i am new to spring.
I am trying to connect to ActiveDirectory from my server using Spring-security1.3.0 spring2.0.1.
I am using the documentation example (18.4.5)
I can see the the LdapAuthenticationProvider object is constructed at page load in the
application-context.xml.
few Questions:
I wonder where and when will the answer from the Active directory returns?
I think i should see the result in UserDetails object. but how to see this? what code does this?
My goal is to get the user role from the Active directory and search my DB(in my server) what this role is permitted to do. So i would like to know what object contains the role of the user.
thanks,