if (!ureq.getUserSession().isAuthenticated()) throw new AssertException("not authenticated!");
BaseChiefControllerCreator bbc = new BaseChiefControllerCreator();
bbc.setContentControllerCreator(/*this is later injected by spring*/new ControllerCreator() {
public Controller createController(UserRequest lureq, WindowControl lwControl) {
BaseFullWebappControllerParts guestSitesAndNav = new GuestBFWCParts();
return new BaseFullWebappController(lureq, lwControl, guestSitesAndNav );
}
});
ChiefController cc = bbc.createChiefController(ureq);