Examples of ORole


Examples of com.orientechnologies.orient.core.metadata.security.ORole

   * Returns true if the user belongs to an administrative role
   * @param username
   * @return
   */
  public static boolean roleCanByPassRestrictedAccess(String roleName){
    ORole role = getORole(roleName);
    return role.allow(ODatabaseSecurityResources.BYPASS_RESTRICTED, ORole.PERMISSION_ALL);
  }
View Full Code Here

Examples of com.orientechnologies.orient.core.metadata.security.ORole

            }
          }
        }
      } else
        // REMOTE CREATE DUMMY USER
        user = new OUser(iUserName, OUser.encryptPassword(iUserPassword)).addRole(new ORole("passthrough", null,
            ORole.ALLOW_MODES.ALLOW_ALL_BUT));

      checkSecurity(ODatabaseSecurityResources.DATABASE, ORole.PERMISSION_READ);

      if (!metadata.getSchema().existsClass(OMVRBTreeRIDProvider.PERSISTENT_CLASS_NAME))
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.