I did what you said and it worked. But i want to.get attributes via different 
key -'username' is it possible?

נשלח מה-HTC שלי

----- Reply message -----
מאת: "Danner, Mearl" <[email protected]>
אל: "[email protected]" <[email protected]>
נושא: [cas-user] LDAP attribute map not populated
תאריך: יום ה׳, אוק 31, 2013 23:34

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
This e-mail and the information it contains may be privileged and/or 
confidential. It is intended solely for the use of the named recipient(s). If 
you are not the intended recipient you may not disclose, copy, distribute or 
retain any part of this message or attachments. If you have received this 
e-mail in error please notify the sender immediately [by clicking 'Reply'] and 
delete this e-mail.

-- 
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