Raw attributes from a HttpServletRequest attribute?

Cantor, Scott cantor.2 at osu.edu
Tue Aug 6 19:31:12 EDT 2013


On 8/6/13 5:10 PM, "Brian Reindel" <brian at reindel.com> wrote:

>Is there a data connector or attribute definition that will pull me
>back a value from a request attribute?

Just the Scripted one, I suspect.

>I can get that later with the PrincipalName attribute definition.
>However, I want to set other attributes that came back as well (the
>oauth token and verifier). If I do that, how can I then later access
>them? They don't necessarily have to be request attributes. Is there
>is an underlying context or Shibboleth session where I can set them in
>order to access them later in the attribute resolver?

Not without a custom login handler, and even then you're limited to
front-channel attribute use during SSO and not queries. A custom login
handler can store extended data in Principals attached to a Subject
returned from the login handler (those being the Java Subject/Principal
APIs).

-- Scott




More information about the users mailing list