Accessing attributes using JASIG client
dale77
Dale.Ogilvie at trimble.co.nz
Thu May 29 00:33:53 EDT 2008
Hello,
how do I access the attributes for an authenticated user in my CAS protected
jsp?
I am using the Saml11TicketValidationFilter, because I believe that this
Filter provides the attributes to the client.
Looking at the source I found some code:
request.setAttribute(CONST_CAS_ASSERTION, assertion);
if (this.useSession) {
request.getSession().setAttribute(CONST_CAS_ASSERTION,
assertion);
}
Possibly I could get at the attributes through the Assertion, but I'm
assuming there is an easier way than
request.getAttribute("_const_cas_assertion").
Any pointers would be appreciated.
Thanks
Dale
--
View this message in context: http://www.nabble.com/Accessing-attributes-using-JASIG-client-tp17527439p17527439.html
Sent from the CAS Users mailing list archive at Nabble.com.
More information about the cas
mailing list