test_class.file: oak-auth-external/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/principal/ExternalPrincipalConfigurationTest.java
test_class.identifier: ExternalPrincipalConfigurationTest
test_class.superclass: extends AbstractExternalAuthTest
test_case.body: @Test
      public void testGetValidators() {
          ContentSession cs = root.getContentSession();
          List<? extends ValidatorProvider> validatorProviders = externalPrincipalConfiguration.getValidators(cs.getWorkspaceName(), cs.getAuthInfo().getPrincipals(), new MoveTracker());
  
          assertFalse(validatorProviders.isEmpty());
          assertEquals(1, validatorProviders.size());
          assertTrue(validatorProviders.get(0) instanceof ExternalIdentityValidatorProvider);
  
          validatorProviders = externalPrincipalConfiguration.getValidators(cs.getWorkspaceName(), cs.getAuthInfo().getPrincipals(), new MoveTracker());
          assertFalse(validatorProviders.isEmpty());
          assertEquals(1, validatorProviders.size());
          assertTrue(validatorProviders.get(0) instanceof ExternalIdentityValidatorProvider);
  
          enable();
  
          validatorProviders = externalPrincipalConfiguration.getValidators(cs.getWorkspaceName(), cs.getAuthInfo().getPrincipals(), new MoveTracker());
          assertFalse(validatorProviders.isEmpty());
          assertEquals(1, validatorProviders.size());
          assertTrue(validatorProviders.get(0) instanceof ExternalIdentityValidatorProvider);
      }
test_case.class_method_signature: ExternalPrincipalConfigurationTest.testGetValidators()
test_case.full_signature: @Test public void testGetValidators()
test_case.identifier: testGetValidators
test_case.invocations: getContentSession getValidators getWorkspaceName getPrincipals getAuthInfo assertFalse isEmpty assertEquals size assertTrue get getValidators getWorkspaceName getPrincipals getAuthInfo assertFalse isEmpty assertEquals size assertTrue get enable getValidators getWorkspaceName getPrincipals getAuthInfo assertFalse isEmpty assertEquals size assertTrue get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetValidators()
focal_class.declarator: log = LoggerFactory.getLogger(ExternalPrincipalConfiguration.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(ExternalPrincipalConfiguration.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: syncConfigTracker
focal_class.modifier: private
focal_class.original_string: private SyncConfigTracker syncConfigTracker;
focal_class.type: SyncConfigTracker
focal_class.var_name: syncConfigTracker
focal_class.declarator: syncHandlerMappingTracker
focal_class.modifier: private
focal_class.original_string: private SyncHandlerMappingTracker syncHandlerMappingTracker;
focal_class.type: SyncHandlerMappingTracker
focal_class.var_name: syncHandlerMappingTracker
focal_class.file: oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/principal/ExternalPrincipalConfiguration.java
focal_class.identifier: ExternalPrincipalConfiguration
focal_class.interfaces: implements PrincipalConfiguration
focal_class.class_method_signature: ExternalPrincipalConfiguration.ExternalPrincipalConfiguration()
focal_class.full_signature: @SuppressWarnings("UnusedDeclaration") public  ExternalPrincipalConfiguration()
focal_class.identifier: ExternalPrincipalConfiguration
focal_class.modifiers: @SuppressWarnings("UnusedDeclaration") public
focal_class.parameters: ()
focal_class.signature:  ExternalPrincipalConfiguration()
focal_class.class_method_signature: ExternalPrincipalConfiguration.ExternalPrincipalConfiguration(SecurityProvider securityProvider)
focal_class.full_signature: public  ExternalPrincipalConfiguration(SecurityProvider securityProvider)
focal_class.identifier: ExternalPrincipalConfiguration
focal_class.modifiers: public
focal_class.parameters: (SecurityProvider securityProvider)
focal_class.signature:  ExternalPrincipalConfiguration(SecurityProvider securityProvider)
focal_class.class_method_signature: ExternalPrincipalConfiguration.getPrincipalManager(Root root, NamePathMapper namePathMapper)
focal_class.full_signature: @NotNull @Override public PrincipalManager getPrincipalManager(Root root, NamePathMapper namePathMapper)
focal_class.identifier: getPrincipalManager
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (Root root, NamePathMapper namePathMapper)
focal_class.return: PrincipalManager
focal_class.signature: PrincipalManager getPrincipalManager(Root root, NamePathMapper namePathMapper)
focal_class.class_method_signature: ExternalPrincipalConfiguration.getPrincipalProvider(Root root, NamePathMapper namePathMapper)
focal_class.full_signature: @NotNull @Override public PrincipalProvider getPrincipalProvider(Root root, NamePathMapper namePathMapper)
focal_class.identifier: getPrincipalProvider
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (Root root, NamePathMapper namePathMapper)
focal_class.return: PrincipalProvider
focal_class.signature: PrincipalProvider getPrincipalProvider(Root root, NamePathMapper namePathMapper)
focal_class.class_method_signature: ExternalPrincipalConfiguration.getName()
focal_class.full_signature: @NotNull @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: ExternalPrincipalConfiguration.getRepositoryInitializer()
focal_class.full_signature: @NotNull @Override public RepositoryInitializer getRepositoryInitializer()
focal_class.identifier: getRepositoryInitializer
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: RepositoryInitializer
focal_class.signature: RepositoryInitializer getRepositoryInitializer()
focal_class.class_method_signature: ExternalPrincipalConfiguration.getValidators(@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker)
focal_class.full_signature: @NotNull @Override public List<? extends ValidatorProvider> getValidators(@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker)
focal_class.identifier: getValidators
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker)
focal_class.return: List<? extends ValidatorProvider>
focal_class.signature: List<? extends ValidatorProvider> getValidators(@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker)
focal_class.class_method_signature: ExternalPrincipalConfiguration.getProtectedItemImporters()
focal_class.full_signature: @NotNull @Override public List<ProtectedItemImporter> getProtectedItemImporters()
focal_class.identifier: getProtectedItemImporters
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: List<ProtectedItemImporter>
focal_class.signature: List<ProtectedItemImporter> getProtectedItemImporters()
focal_class.class_method_signature: ExternalPrincipalConfiguration.getConflictHandlers()
focal_class.full_signature: @NotNull @Override public List<ThreeWayConflictHandler> getConflictHandlers()
focal_class.identifier: getConflictHandlers
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: List<ThreeWayConflictHandler>
focal_class.signature: List<ThreeWayConflictHandler> getConflictHandlers()
focal_class.class_method_signature: ExternalPrincipalConfiguration.activate(BundleContext bundleContext, Map<String, Object> properties)
focal_class.full_signature: @SuppressWarnings("UnusedDeclaration") @Activate private void activate(BundleContext bundleContext, Map<String, Object> properties)
focal_class.identifier: activate
focal_class.modifiers: @SuppressWarnings("UnusedDeclaration") @Activate private
focal_class.parameters: (BundleContext bundleContext, Map<String, Object> properties)
focal_class.return: void
focal_class.signature: void activate(BundleContext bundleContext, Map<String, Object> properties)
focal_class.class_method_signature: ExternalPrincipalConfiguration.deactivate()
focal_class.full_signature: @SuppressWarnings("UnusedDeclaration") @Deactivate private void deactivate()
focal_class.identifier: deactivate
focal_class.modifiers: @SuppressWarnings("UnusedDeclaration") @Deactivate private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void deactivate()
focal_class.class_method_signature: ExternalPrincipalConfiguration.dynamicMembershipEnabled()
focal_class.full_signature: private boolean dynamicMembershipEnabled()
focal_class.identifier: dynamicMembershipEnabled
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean dynamicMembershipEnabled()
focal_class.class_method_signature: ExternalPrincipalConfiguration.protectedExternalIds()
focal_class.full_signature: private boolean protectedExternalIds()
focal_class.identifier: protectedExternalIds
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean protectedExternalIds()
focal_class.superclass: extends ConfigurationBase
focal_method.body: @NotNull
      @Override
      public List<? extends ValidatorProvider> getValidators(@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker) {
          return Collections.singletonList(new ExternalIdentityValidatorProvider(principals, protectedExternalIds()));
      }
focal_method.class_method_signature: ExternalPrincipalConfiguration.getValidators(@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker)
focal_method.full_signature: @NotNull @Override public List<? extends ValidatorProvider> getValidators(@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker)
focal_method.identifier: getValidators
focal_method.invocations: singletonList protectedExternalIds
focal_method.modifiers: @NotNull @Override public
focal_method.parameters: (@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker)
focal_method.return: List<? extends ValidatorProvider>
focal_method.signature: List<? extends ValidatorProvider> getValidators(@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker)