[Building Sakai] Accessing HTTP Attributes in Sakai

Mark J. Norton markjnorton at earthlink.net
Thu Dec 26 06:08:02 PST 2013


Following up on this, can someone confirm that the Sakai ContextSession 
object provides access to the current HTTP attributes?  The 
documentation 
<https://source.sakaiproject.org/svn/kernel/trunk/api/src/main/java/org/sakaiproject/tool/api/ContextSession.java>is 
a bit sparse.  ContextSession.getAttribute() has the comment:

     Returns the object bound with the specified name in this session, or <code>null</code> if no object is bound under the name.

I just need to be sure that the "session" here is the HTTP session, 
rather than the Sakai session.

- Mark


On 12/26/2013 8:50 AM, Mark J. Norton wrote:
> I am making some modifications to a User Director Provider that needs
> access to the current HTTP attributes passed in the request.
> Specifically, these are Shibboleth attributes.  Does the portal put
> these in a place there a UDP can access them?  Barring that, is there a
> service that gives me access to the current HttpRequest?
>
> - Mark Norton
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20131226/652bfbfa/attachment.html 


More information about the sakai-dev mailing list