Additional ldap attributes in response
Luca Scotto
lucascotto at gmail.com
Mon Oct 30 04:49:39 EST 2006
I'm working with the same things!
Today i get uid, then i use it in a custom-tomcat-filter to read more
attributes from ldap using the novell-ldap libs.
.... but sometime i have got some problems getting uid.
I think that an CredentialToPrincipal who gets all requested
attributes (by an xml) is the best but hard (for me) way.
Bye
On 17/10/06, MMS21 <manishasatija at gmail.com> wrote:
>
> Hi Sudhir,
> I too want to retreive the variables in response, But I am not
> getting it. Did you got the solution.
>
> Manisha
>
> Scott Battaglia-2 wrote:
> >
> > 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
> >>
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Additional-ldap-attributes-in-response-tf2150918.html#a6856518
> Sent from the CAS Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
More information about the cas
mailing list