IDP access to "RequesterID" ?

Brent Putman putmanb at
Tue May 23 12:09:10 EDT 2017

On 5/23/17 11:32 AM, Michael A Grady wrote:
> Someone at Unicon had need to get at that, and I'm told (haven't
> tried it yet myself) that they got to it (omitting any error checking
> before referencing) via this:
> ((ProfileRequestContext)context).getInboundMessageContext().getScoping().getRequesterIDs();

I believe that is omitting the call to actually get at the message
(AuthnRequest) from the inbound message context, so:


I'm also not sure about the casting... I don't know if this is assuming
Java or a script...  But in most usage either way you aren't going to
need to cast 'context' there to ProfileRequestContext.   However, if it
is Java, you probably need to cast the result of getMessage() to
AuthnRequest - unless somehow the PRC is generically paramed to have as
inbound message type AuthnRequest, rather than SAMLObject, but I don't
off-hand recall us doing that anywhere.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list