Hi, > that is not true. a workspace has the same authorization scope as the > session and is retrieved via the session.
Yes, technically it may have the same authorization scope. However this is not obvious to an end user. Anyway, having to call a method on Workspace to close the repository seems strange. > the correct location for the shutdown method would be on the > repository, so passing the session could be another option: > > Repository.shutdown(Session s); Looks good, +1 > or on some management object, > RepositoryManagement Session.getRepositoryManagement() > RepositoryManagement.shutdown() > this object could also be used for other 'admin' stuff, like nodetype > registration. If there are more such methods then that's good as well. Regards, Thomas