/** * Provides descriptors for current repository implementations. Can be overridden * by the subclasses to add more values to the descriptor * @return repository descriptor */ protected GenericDescriptors determineDescriptors() { return new JcrDescriptorsImpl(contentRepository.getDescriptors(), new SimpleValueFactory()); }
/** * Provides descriptors for current repository implementations. Can be overridden * by the subclasses to add more values to the descriptor * @return repository descriptor */ protected GenericDescriptors determineDescriptors() { return new JcrDescriptorsImpl(contentRepository.getDescriptors(), new SimpleValueFactory()); }
/** * Provides descriptors for current repository implementations. Can be overridden * by the subclasses to add more values to the descriptor * @return repository descriptor */ protected GenericDescriptors determineDescriptors() { return new JcrDescriptorsImpl(contentRepository.getDescriptors(), new SimpleValueFactory()); }
@Test public void testUserManagementDescriptor() throws RepositoryException { Oak oak = new Oak() .with(new InitialContent()) .with(getSecurityProvider()); ContentRepository contentRepository = oak.createContentRepository(); assertFalse(contentRepository.getDescriptors().getValue(JackrabbitRepository.OPTION_USER_MANAGEMENT_SUPPORTED).getBoolean()); }