<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 10:24 PM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 3/8/16, 11:06 PM, "users on behalf of joller lee" <<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:joller.lee@gmail.com">joller.lee@gmail.com</a>> wrote:<br>
<br></span><span class=""><br>
>but a ClassNotFoundException is thrown on the class '...SubjectContext'.<br>
<br>
</span>Don't see how that's possible unless there's a typo I'm not seeing, but I don't use Nashorn, so I guess my suggestion is to try it with Rhino.<br></blockquote><div><br></div><div>I've been using Java.type to obtain other types before, without any problem.</div><div>Anyway, I turned to use one of the getSubcontext() methods that takes the class name as the argument, and it worked.</div><div><br></div><div>But now I get a Subject, in which I get one PasswordPrincipal as the private credential, with the password being "<elided>".</div><div>That is not what I expected.</div><div>Is there anything missing?</div></div></div></div>