code: void createStructure() throws RepositoryException
     {
        Session session = getStorageSession();
        try
        {
           Node storage = session.getRootNode().addNode(storagePath.substring(1), STORAGE_NODETYPE);
  
           storage.addNode(STORAGE_JOS_USERS, STORAGE_JOS_USERS_NODETYPE);
           storage.addNode(STORAGE_JOS_GROUPS, STORAGE_JOS_GROUPS_NODETYPE);
           Node storageTypesNode = storage.addNode(STORAGE_JOS_MEMBERSHIP_TYPES, STORAGE_JOS_MEMBERSHIP_TYPES_NODETYPE);
           Node anyNode = storageTypesNode.addNode(JOS_MEMBERSHIP_TYPE_ANY);
           anyNode.setProperty(MembershipTypeHandlerImpl.MembershipTypeProperties.JOS_DESCRIPTION, JOS_DESCRIPTION_TYPE_ANY);
  
           session.save(); // storage done configure
        }
        finally
        {
           session.logout();
        }
     }
docs: Creates storage structure.
  
  @throws RepositoryException if any Exception is occurred