Raw attributes from a HttpServletRequest attribute?
Brian Reindel
brian at reindel.com
Tue Aug 6 17:10:35 EDT 2013
Is there a data connector or attribute definition that will pull me
back a value from a request attribute? I'm using the remote user
authentication, which in turn uses oauth, and after authentication I
make this call as specified in the documentation:
httpServletRequest.setAttribute(LoginHandler.PRINCIPAL_KEY, new
UsernamePrincipal(httpServletRequest.getHeader("REMOTE_USER")));
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?
Thanks.
More information about the users
mailing list