// As proposed on February 08, 2003 by Lisa Dusseault in w3c-dist-auth-request@w3.org
// >>>>>>>>>> start principal-URL >>>>>>>>>>>>
if( lockdiscoveryIncludesPrincipalURL ) {
Element principalUrl = new Element( E_PRINCIPAL_URL, DNSP);
activelock.addContent(principalUrl);
SubjectNode snode =
SubjectNode.getSubjectNode(objectLockToken.getSubjectUri());
String subjectUri = objectLockToken.getSubjectUri();
if (snode.equals(SubjectNode.UNAUTHENTICATED)) {
String userspath = nsaToken.getNamespaceConfig().getUsersPath();
subjectUri = userspath+"/"+snode.toString();
}
Element puhref = new Element(E_HREF, DNSP);
principalUrl.addContent(puhref);
puhref.setText(