protected void dumpProfile(Profile profile)
{
JetspeedUser user = profile.getUser();
Group group = profile.getGroup();
Role role = profile.getRole();
if (profile.getAnonymous() == true)
System.out.println("ANON USER");
System.out.println("RESOURCE = " + profile.getName());
if (null != user)
System.out.println("USER = " + user.getUserName() );
if (null != group)
System.out.println("GROUP = " + group.getName() );
if (null != role)
System.out.println("ROLE = " + role.getName() );
System.out.println("MEDIA TYPE = " + profile.getMediaType());
System.out.println("LANGUAGE = " + profile.getLanguage());
System.out.println("COUNTRY = " + profile.getCountry());
PSMLDocument doc = profile.getDocument();
if (null == doc)