Additional ldap attributes in response
Scott Battaglia
scott.battaglia at gmail.com
Wed Aug 23 22:39:22 EDT 2006
Hi,
What you will need to do is write a custom CredentialsToPrincipalResolver to
retrieve those values from wherever you store them and return them as part
of your principal. In the JSP page representing the CAS 2.0 response,
you'll need to add additional XML to send back the attributes and then on
your client side, have some code to retrieve the additional attributes.
Note that we are looking at supporting this natively but we haven't gotten
to it yet. I'm currently investigating it.
Thanks
-Scott
On 8/23/06, sudhir <sudhirj at cse.iitb.ac.in> wrote:
>
> Hi Scott,
>
> Netid is also required.
> Actually i need to get values of many such attributes (employee-id,
> name, employee-type etc.).
> Employeeid is just representative example i used.
> (I thought procedure would be same for other attributes so i didn't
> mention them earlier.)
>
>
>
> Scott Battaglia wrote:
> > Sudhir,
> >
> > Do you also need to return the NetId or just the employee id?
> >
> > -Scott
> >
> > On 8/23/06, *Sudhir Jorwekar* < sudhirj at cse.iitb.ac.in
> > <mailto:sudhirj at cse.iitb.ac.in>> wrote:
> >
> > Hi,
> >
> > We want to shift to CAS for our applications.
> > We have ldap authentication system.
> > The requirement is that employee-id attribute of user should be
> > returned
> > after successful authentication.
> > (final xml response should contain this attribute)
> > What methods/configs I need to change ?
> >
> > please help.
> >
> > thanks & regards,
> >
> > Sudhir
> > CSE Mtech III yr,
> > IITB.
> >
> >
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu <mailto:cas at tp.its.yale.edu>
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20060823/57530f78/attachment.html
More information about the cas
mailing list