test_class.declarator: SYNC_NAME = "testSyncName"
test_class.modifier: private static final
test_class.original_string: private static final String SYNC_NAME = "testSyncName";
test_class.type: String
test_class.var_name: SYNC_NAME
test_class.declarator: syncMBean
test_class.modifier: private
test_class.original_string: private SyncMBeanImpl syncMBean;
test_class.type: SyncMBeanImpl
test_class.var_name: syncMBean
test_class.declarator: syncMgr
test_class.modifier: private
test_class.original_string: private SyncManager syncMgr;
test_class.type: SyncManager
test_class.var_name: syncMgr
test_class.declarator: idpMgr
test_class.modifier: private
test_class.original_string: private ExternalIdentityProviderManager idpMgr;
test_class.type: ExternalIdentityProviderManager
test_class.var_name: idpMgr
test_class.file: oak-auth-external/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/jmx/SyncMBeanImplTest.java
test_class.identifier: SyncMBeanImplTest
test_class.superclass: extends AbstractJmxTest
test_case.body: @Test
      public void testSyncAllUsersException() throws Exception {
          User u = getUserManager().createUser(TestIdentityProvider.ID_EXCEPTION, null);
          u.setProperty(DefaultSyncContext.REP_EXTERNAL_ID, getValueFactory().createValue(new ExternalIdentityRef(TestIdentityProvider.ID_EXCEPTION, idp.getName()).getString()));
          root.commit();
  
          String[] result = syncMBean.syncAllUsers(false);
          assertResultMessages(result, TestIdentityProvider.ID_EXCEPTION, "ERR");
  
          result = syncMBean.syncAllUsers(true);
          assertResultMessages(result, TestIdentityProvider.ID_EXCEPTION, "ERR");
      }
test_case.class_method_signature: SyncMBeanImplTest.testSyncAllUsersException()
test_case.full_signature: @Test public void testSyncAllUsersException()
test_case.identifier: testSyncAllUsersException
test_case.invocations: createUser getUserManager setProperty createValue getValueFactory getString getName commit syncAllUsers assertResultMessages syncAllUsers assertResultMessages
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSyncAllUsersException()
focal_class.declarator: log = LoggerFactory.getLogger(SyncMBeanImpl.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(SyncMBeanImpl.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: repository
focal_class.modifier: private final
focal_class.original_string: private final ContentRepository repository;
focal_class.type: ContentRepository
focal_class.var_name: repository
focal_class.declarator: securityProvider
focal_class.modifier: private final
focal_class.original_string: private final SecurityProvider securityProvider;
focal_class.type: SecurityProvider
focal_class.var_name: securityProvider
focal_class.declarator: syncManager
focal_class.modifier: private final
focal_class.original_string: private final SyncManager syncManager;
focal_class.type: SyncManager
focal_class.var_name: syncManager
focal_class.declarator: syncName
focal_class.modifier: private final
focal_class.original_string: private final String syncName;
focal_class.type: String
focal_class.var_name: syncName
focal_class.declarator: idpManager
focal_class.modifier: private final
focal_class.original_string: private final ExternalIdentityProviderManager idpManager;
focal_class.type: ExternalIdentityProviderManager
focal_class.var_name: idpManager
focal_class.declarator: idpName
focal_class.modifier: private final
focal_class.original_string: private final String idpName;
focal_class.type: String
focal_class.var_name: idpName
focal_class.file: oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/jmx/SyncMBeanImpl.java
focal_class.identifier: SyncMBeanImpl
focal_class.interfaces: implements SynchronizationMBean
focal_class.class_method_signature: SyncMBeanImpl.SyncMBeanImpl(@NotNull ContentRepository repository, @NotNull SecurityProvider securityProvider,
                           @NotNull SyncManager syncManager, @NotNull String syncName,
                           @NotNull ExternalIdentityProviderManager idpManager, @NotNull String idpName)
focal_class.full_signature: public  SyncMBeanImpl(@NotNull ContentRepository repository, @NotNull SecurityProvider securityProvider,
                           @NotNull SyncManager syncManager, @NotNull String syncName,
                           @NotNull ExternalIdentityProviderManager idpManager, @NotNull String idpName)
focal_class.identifier: SyncMBeanImpl
focal_class.modifiers: public
focal_class.parameters: (@NotNull ContentRepository repository, @NotNull SecurityProvider securityProvider,
                           @NotNull SyncManager syncManager, @NotNull String syncName,
                           @NotNull ExternalIdentityProviderManager idpManager, @NotNull String idpName)
focal_class.signature:  SyncMBeanImpl(@NotNull ContentRepository repository, @NotNull SecurityProvider securityProvider,
                           @NotNull SyncManager syncManager, @NotNull String syncName,
                           @NotNull ExternalIdentityProviderManager idpManager, @NotNull String idpName)
focal_class.class_method_signature: SyncMBeanImpl.getDelegatee()
focal_class.full_signature: @NotNull private Delegatee getDelegatee()
focal_class.identifier: getDelegatee
focal_class.modifiers: @NotNull private
focal_class.parameters: ()
focal_class.return: Delegatee
focal_class.signature: Delegatee getDelegatee()
focal_class.class_method_signature: SyncMBeanImpl.getSyncHandlerName()
focal_class.full_signature: @NotNull @Override public String getSyncHandlerName()
focal_class.identifier: getSyncHandlerName
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSyncHandlerName()
focal_class.class_method_signature: SyncMBeanImpl.getIDPName()
focal_class.full_signature: @NotNull @Override public String getIDPName()
focal_class.identifier: getIDPName
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getIDPName()
focal_class.class_method_signature: SyncMBeanImpl.syncUsers(@NotNull String[] userIds, boolean purge)
focal_class.full_signature: @NotNull @Override public String[] syncUsers(@NotNull String[] userIds, boolean purge)
focal_class.identifier: syncUsers
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull String[] userIds, boolean purge)
focal_class.return: String[]
focal_class.signature: String[] syncUsers(@NotNull String[] userIds, boolean purge)
focal_class.class_method_signature: SyncMBeanImpl.syncAllUsers(boolean purge)
focal_class.full_signature: @NotNull @Override public String[] syncAllUsers(boolean purge)
focal_class.identifier: syncAllUsers
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (boolean purge)
focal_class.return: String[]
focal_class.signature: String[] syncAllUsers(boolean purge)
focal_class.class_method_signature: SyncMBeanImpl.syncExternalUsers(@NotNull String[] externalIds)
focal_class.full_signature: @NotNull @Override public String[] syncExternalUsers(@NotNull String[] externalIds)
focal_class.identifier: syncExternalUsers
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull String[] externalIds)
focal_class.return: String[]
focal_class.signature: String[] syncExternalUsers(@NotNull String[] externalIds)
focal_class.class_method_signature: SyncMBeanImpl.syncAllExternalUsers()
focal_class.full_signature: @NotNull @Override public String[] syncAllExternalUsers()
focal_class.identifier: syncAllExternalUsers
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] syncAllExternalUsers()
focal_class.class_method_signature: SyncMBeanImpl.listOrphanedUsers()
focal_class.full_signature: @NotNull @Override public String[] listOrphanedUsers()
focal_class.identifier: listOrphanedUsers
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] listOrphanedUsers()
focal_class.class_method_signature: SyncMBeanImpl.purgeOrphanedUsers()
focal_class.full_signature: @NotNull @Override public String[] purgeOrphanedUsers()
focal_class.identifier: purgeOrphanedUsers
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] purgeOrphanedUsers()
focal_method.body: @NotNull
      @Override
      public String[] syncAllUsers(boolean purge) {
          Delegatee delegatee = getDelegatee();
          try {
              return delegatee.syncAllUsers(purge);
          } finally {
              delegatee.close();
          }
      }
focal_method.class_method_signature: SyncMBeanImpl.syncAllUsers(boolean purge)
focal_method.full_signature: @NotNull @Override public String[] syncAllUsers(boolean purge)
focal_method.identifier: syncAllUsers
focal_method.invocations: getDelegatee syncAllUsers close
focal_method.modifiers: @NotNull @Override public
focal_method.parameters: (boolean purge)
focal_method.return: String[]
focal_method.signature: String[] syncAllUsers(boolean purge)