// Administrator
administrator = new SiteAdminImpl(administratorLogin);
administrator.setName(administratorName);
administrator.setEmail(administratorEmail);
administrator.addPrivateCredentials(new PasswordImpl(administratorPassword, DigestType.plain));
// Default template
defaultTemplate = new PageTemplateImpl(defaultTemplateId, new URL(defaultTemplateUrl));
defaultTemplate.setClientRevalidationTime(defaultTemplateRecheckTime);
defaultTemplate.setCacheExpirationTime(defaultTemplateValidTime);
defaultTemplate.setComposeable(true);