<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 6/3/15 4:16 PM, cneberg wrote:<br>
    </div>
    <blockquote
cite="mid:CAE9EiM-9R-DN8UnqpJ_LEwEoDk3OU5kV0vFmfQRYjpmfN26wKg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <br>
        <div>I've tried these methods instead to get to the subject but
          they all return null.<br>
        </div>
        <div><br>
resolutionContext.getSubcontext("net.shibboleth.idp.authn.context.AuthenticationContext");<br>
resolutionContext.getSubcontext("net.shibboleth.idp.authn.context.SubjectCanonicalizationContext")<br>
resolutionContext.getSubcontext("net.shibboleth.idp.authn.context.ExternalAuthenticationContext");<br>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    Offhand, I don't know the exact answer, but I suspect you want to be
    looking for subcontexts under profileContext rather than
    resolutionContext.  The ProfileRequestContext (PRC) is the root of
    the context tree, and I believe authN related contexts will be
    located as children (or grandchildren, etc) of that.
    <meta http-equiv="content-type" content="text/html;
      charset=windows-1252">
    <blockquote type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
    </blockquote>
    <br>
  </body>
</html>