<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 5/23/17 11:32 AM, Michael A Grady
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:7E3FC768-5CA9-4CF4-9E36-4699AE8ED682@unicon.net">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div>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:</div>
      <div><br class="">
      </div>
      <div> 
((ProfileRequestContext)context).getInboundMessageContext().getScoping().getRequesterIDs();</div>
      <br>
    </blockquote>
    <br>
    <br>
    I believe that is omitting the call to actually get at the message
    (AuthnRequest) from the inbound message context, so:<br>
    <br>
    ((ProfileRequestContext)context).getInboundMessageContext()<b>.getMessage()</b>.getScoping().getRequesterIDs();<br>
    <br>
    <br>
    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.<br>
    <br>
    <br>
    <br>
  </body>
</html>