code: public String[] getAccessibleWorkspaceNames() throws RepositoryException
     {
        RepositoryImpl rep = (RepositoryImpl)session.getRepository();
        return rep.getWorkspaceNames();
     }
docs: {@inheritDoc}