Examples of OPropertyIndexManager


Examples of com.orientechnologies.orient.core.index.OPropertyIndexManager

      user = getMetadata().getSecurity().authenticate(iUserName, iUserPassword);

      if (getStorage() instanceof OStorageEmbedded) {
        registerHook(new OUserTrigger());
        registerHook(new OPropertyIndexManager());
      }

      checkSecurity(ODatabaseSecurityResources.DATABASE, ORole.PERMISSION_READ);
    } catch (OException e) {
      close();
View Full Code Here

Examples of com.orientechnologies.orient.core.index.OPropertyIndexManager

      getStorage().getConfiguration().update();

      if (getStorage() instanceof OStorageEmbedded) {
        registerHook(new OUserTrigger());
        registerHook(new OPropertyIndexManager());
      }

      // CREATE THE DEFAULT SCHEMA WITH DEFAULT USER
      metadata = new OMetadata(this);
      metadata.create();
View Full Code Here

Examples of com.orientechnologies.orient.core.index.OPropertyIndexManager

      if (user.getAccountStatus() != STATUSES.ACTIVE)
        throw new OSecurityAccessException(this.getName(), "User '" + iUserName + "' is not active");

      registerHook(new OUserTrigger());
      registerHook(new OPropertyIndexManager());

      if (getStorage() instanceof OStorageEmbedded) {

        if (!user.checkPassword(iUserPassword)) {
          // WAIT A BIT TO AVOID BRUTE FORCE
View Full Code Here

Examples of com.orientechnologies.orient.core.index.OPropertyIndexManager

      dictionary = (ODictionaryInternal<ORecordInternal<?>>) getStorage().createDictionary(this);
      dictionary.create();

      // if (getStorage() instanceof OStorageEmbedded) {
      registerHook(new OUserTrigger());
      registerHook(new OPropertyIndexManager());
      // }

    } catch (Exception e) {
      throw new ODatabaseException("Can't create database", e);
    }
View Full Code Here

Examples of com.orientechnologies.orient.core.index.OPropertyIndexManager

      user = getMetadata().getSecurity().authenticate(iUserName, iUserPassword);

      if (getStorage() instanceof OStorageEmbedded) {
        registerHook(new OUserTrigger());
        registerHook(new OPropertyIndexManager());
      }

      checkSecurity(ODatabaseSecurityResources.DATABASE, ORole.PERMISSION_READ);
    } catch (OException e) {
      close();
View Full Code Here

Examples of com.orientechnologies.orient.core.index.OPropertyIndexManager

      user = getMetadata().getSecurity().getUser(OUser.ADMIN);

      if (getStorage() instanceof OStorageEmbedded) {
        registerHook(new OUserTrigger());
        registerHook(new OPropertyIndexManager());
      }
    } catch (Exception e) {
      throw new ODatabaseException("Can't create database", e);
    }
    return (DB) this;
View Full Code Here

Examples of com.orientechnologies.orient.core.index.OPropertyIndexManager

      user = getMetadata().getSecurity().authenticate(iUserName, iUserPassword);

      if (getStorage() instanceof OStorageEmbedded) {
        registerHook(new OUserTrigger());
        registerHook(new OPropertyIndexManager());
      }

      checkSecurity(ODatabaseSecurityResources.DATABASE, ORole.PERMISSION_READ);
    } catch (OException e) {
      close();
View Full Code Here

Examples of com.orientechnologies.orient.core.index.OPropertyIndexManager

      getStorage().getConfiguration().update();

      if (getStorage() instanceof OStorageEmbedded) {
        registerHook(new OUserTrigger());
        registerHook(new OPropertyIndexManager());
      }

      // CREATE THE DEFAULT SCHEMA WITH DEFAULT USER
      metadata = new OMetadata(this);
      metadata.create();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.