Well I made some progress. Using the IPersonAttributeDao interface, I
was able to feed a jsp page a uid value, and return all a list of user
attribute values.
A few things I'm unsure of that I need to toy with next:
1. Where did the IPersonAttributeDao interface get the list of user
attributes? It did not seem to match anything in our
PersonDirectory.xml file. Is it customizable?
2. How to feed that IPersonAttributeDao a session specific uid
automatically. What classes/methods are involved in making the jsp
aware of the user session it is running under?
I'll post the code I used when I can (server's eva undergoing some
updates).
thanks,
Jason
Portland CC.
Jwhitene wrote:
We had originally tried the webproxy channel, but favored a custom jsp, as we
could link to a jsp file from any channel type.
Jason Shao wrote:
On Sep 4, 2007, at 12:15 PM, Jwhitene wrote:
Specifically, I'm looking to query our ldap using a jsp page,
guided by the
persondirectory.xml file, and return a few simple values, like
uid. If
anyone has a small example of that, I'd appreciate it.
You may want to look at Webproxy -- it has built-in support for
passing along person attributes to remote services, and may do
exactly what you want without requiring custom code.
Jason
--
Jason Shao
Application Developer
Rutgers University, Office of Instructional & Research Technology
v. 732-445-8726 | f. 732-445-5539 | [EMAIL PROTECTED] | http://
jay.shao.org
--
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/uportal-dev
--
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/uportal-dev