}
//Wrap the factory with a proxy to provide security. We also pass
//in the username and password to the proxy for its special
//implementation of the getForum() method. See below for more details.
ForumFactoryProxy proxy = new ForumFactoryProxy(factory, authorization, factory.getPermissions(authorization));
return proxy;
}