}
}
private JSPrincipalAssociation createJSPrincipalAssociation(JetspeedPrincipalAssociationType assocType, JetspeedPrincipal from, JetspeedPrincipal to)
{
JSPrincipalAssociation jsAssoc = new JSPrincipalAssociation();
jsAssoc.setName(assocType.getAssociationName());
jsAssoc.setFromType(from.getType().getName());
jsAssoc.setFromName(from.getName());
jsAssoc.setToType(to.getType().getName());
jsAssoc.setToName(to.getName());
return jsAssoc;
}