public class ForumFactoryPRoxy extends ForumFactory { ...... public Forum createForum(String name, String description) throws UnauthorizedException, ForumAlreadyExistsException { if (permissions.get(ForumPermissions.SYSTEM_ADMIN)) { Forum newForum = factory.createForum(name, description); return new ForumProxy(newForum, authorization, permissions); }else { throw new UnauthorizedException(); } } ...... }