test_class.declarator: mountInfoProvider
test_class.modifier: private
test_class.original_string: private MountInfoProvider mountInfoProvider;
test_class.type: MountInfoProvider
test_class.var_name: mountInfoProvider
test_class.declarator: testNode = "MultiplexingProviderTest"
test_class.modifier: private
test_class.original_string: private String testNode = "MultiplexingProviderTest";
test_class.type: String
test_class.var_name: testNode
test_class.declarator: testPath = "/" + testNode
test_class.modifier: private
test_class.original_string: private String testPath = "/" + testNode;
test_class.type: String
test_class.var_name: testPath
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/permission/MountPermissionProviderTest.java
test_class.identifier: MountPermissionProviderTest
test_class.interfaces: implements AccessControlConstants, PrivilegeConstants, PermissionConstants
test_class.superclass: extends AbstractSecurityTest
test_case.body: @Test
      public void testPermissionProviderName() {
          assertEquals("oak.default",
                  MountPermissionProvider.getPermissionRootName(mountInfoProvider.getDefaultMount(), "oak.default"));
          assertEquals("oak:mount-testMount-oak.default", MountPermissionProvider
                  .getPermissionRootName(mountInfoProvider.getMountByName("testMount"), "oak.default"));
      }
test_case.class_method_signature: MountPermissionProviderTest.testPermissionProviderName()
test_case.full_signature: @Test public void testPermissionProviderName()
test_case.identifier: testPermissionProviderName
test_case.invocations: assertEquals getPermissionRootName getDefaultMount assertEquals getPermissionRootName getMountByName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPermissionProviderName()
focal_class.declarator: mountInfoProvider
focal_class.modifier: private final
focal_class.original_string: private final MountInfoProvider mountInfoProvider;
focal_class.type: MountInfoProvider
focal_class.var_name: mountInfoProvider
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/permission/MountPermissionProvider.java
focal_class.identifier: MountPermissionProvider
focal_class.class_method_signature: MountPermissionProvider.getPermissionRootName(@NotNull Mount mount, @NotNull String workspace)
focal_class.full_signature: @NotNull public static String getPermissionRootName(@NotNull Mount mount, @NotNull String workspace)
focal_class.identifier: getPermissionRootName
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull Mount mount, @NotNull String workspace)
focal_class.return: String
focal_class.signature: String getPermissionRootName(@NotNull Mount mount, @NotNull String workspace)
focal_class.class_method_signature: MountPermissionProvider.MountPermissionProvider(@NotNull Root root, @NotNull String workspaceName,
                                     @NotNull Set<Principal> principals, @NotNull RestrictionProvider restrictionProvider,
                                     @NotNull ConfigurationParameters options, @NotNull Context ctx,
                                     @NotNull ProviderCtx providerCtx)
focal_class.full_signature: public  MountPermissionProvider(@NotNull Root root, @NotNull String workspaceName,
                                     @NotNull Set<Principal> principals, @NotNull RestrictionProvider restrictionProvider,
                                     @NotNull ConfigurationParameters options, @NotNull Context ctx,
                                     @NotNull ProviderCtx providerCtx)
focal_class.identifier: MountPermissionProvider
focal_class.modifiers: public
focal_class.parameters: (@NotNull Root root, @NotNull String workspaceName,
                                     @NotNull Set<Principal> principals, @NotNull RestrictionProvider restrictionProvider,
                                     @NotNull ConfigurationParameters options, @NotNull Context ctx,
                                     @NotNull ProviderCtx providerCtx)
focal_class.signature:  MountPermissionProvider(@NotNull Root root, @NotNull String workspaceName,
                                     @NotNull Set<Principal> principals, @NotNull RestrictionProvider restrictionProvider,
                                     @NotNull ConfigurationParameters options, @NotNull Context ctx,
                                     @NotNull ProviderCtx providerCtx)
focal_class.class_method_signature: MountPermissionProvider.getPermissionStore(@NotNull Root root, @NotNull String workspaceName, @NotNull RestrictionProvider restrictionProvider)
focal_class.full_signature: @NotNull @Override protected PermissionStore getPermissionStore(@NotNull Root root, @NotNull String workspaceName, @NotNull RestrictionProvider restrictionProvider)
focal_class.identifier: getPermissionStore
focal_class.modifiers: @NotNull @Override protected
focal_class.parameters: (@NotNull Root root, @NotNull String workspaceName, @NotNull RestrictionProvider restrictionProvider)
focal_class.return: PermissionStore
focal_class.signature: PermissionStore getPermissionStore(@NotNull Root root, @NotNull String workspaceName, @NotNull RestrictionProvider restrictionProvider)
focal_class.superclass: extends PermissionProviderImpl
focal_method.body: @NotNull
      public static String getPermissionRootName(@NotNull Mount mount, @NotNull String workspace) {
          if (mount.isDefault()) {
              return workspace;
          } else {
              return mount.getPathFragmentName() + "-" + workspace;
          }
      }
focal_method.class_method_signature: MountPermissionProvider.getPermissionRootName(@NotNull Mount mount, @NotNull String workspace)
focal_method.full_signature: @NotNull public static String getPermissionRootName(@NotNull Mount mount, @NotNull String workspace)
focal_method.identifier: getPermissionRootName
focal_method.invocations: isDefault getPathFragmentName
focal_method.modifiers: @NotNull public static
focal_method.parameters: (@NotNull Mount mount, @NotNull String workspace)
focal_method.return: String
focal_method.signature: String getPermissionRootName(@NotNull Mount mount, @NotNull String workspace)