I don't believe that you can get attributes using 
FastBindLdapAuthenticationHandler. All it returns is an authentication success.

You'll need to configure a BindLdapAuthenticationHandler, contextSource and an 
AttributeRepository

Mearl Danner
Senior Systems Programmer
Samford University Technology Services
http://www.samford.edu

-----Original Message-----
From: Rakesh [mailto:[email protected]] 
Sent: Thursday, October 31, 2013 4:11 PM
To: [email protected]
Subject: [cas-user] LDAP attribute map not populated

Hi,

  I have CAS 3.5.2 set up to work with LDAP and the authentication is working 
fine. I am having trouble populating the attributemap with the LDAP attributes. 

This is what I see in the logs,

2013-10-31 14:17:29,230 INFO 
[org.jasig.cas.authentication.AuthenticationManagerImpl] - 
<org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler succes
sfully authenticated [username: testuser]>
2013-10-31 14:17:29,231 DEBUG 
[org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver]
 - <Attempting to resolve a principal...
>
2013-10-31 14:17:29,232 DEBUG 
[org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver]
 - <Creating SimplePrincipal for [rvenka
7]>
2013-10-31 14:17:29,232 INFO 
[org.jasig.cas.authentication.AuthenticationManagerImpl] - <Resolved principal 
testuser>
2013-10-31 14:17:29,233 INFO 
[org.jasig.cas.authentication.AuthenticationManagerImpl] - 
<org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler@1c0423
0 authenticated testuser with credential [username: testuser].>
2013-10-31 14:17:29,233 DEBUG 
[org.jasig.cas.authentication.AuthenticationManagerImpl] - <Attribute map for 
testuser: {}>

I have ldap configuration for deployerConfigContext.xml and the client web.xml 
configuration attached. 

Also in the service management application, I have the attributes selected. 

I followed the configurations for LDAP from : 
https://wiki.jasig.org/display/CASUM/Attributes

Any idea as to what i am doing wrong here?

thanks,
Rakesh
-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to