if ( !(repository instanceof SlideRepository)) {
getLogger().error("Can't get Slide repository");
return null;
}
SlideRepository sliderepository = (SlideRepository) repository;
NamespaceAccessToken nat = sliderepository.getNamespaceToken(namespace);
if (nat==null) {
throw new SourceException("Repository with the namespace '"+
namespace+"' couldn't be found");
}