> But now I get a Subject, in which I get one PasswordPrincipal as the private > credential, with the password being "<elided>". > That is not what I expected. > Is there anything missing? You're converting the object as a string, and that isn't how you would access the data inside it. -- Scott