Package org.apache.sentry.provider.db.service.model

Examples of org.apache.sentry.provider.db.service.model.MSentryPrivilege.appendRole()


      MSentryPrivilege mPrivilege = getMSentryPrivilege(
          constructPrivilegeName(privilege), pm);
      if (mPrivilege == null) {
        mPrivilege = convertToMSentryPrivilege(privilege);
      }
      mPrivilege.appendRole(mRole);
      pm.makePersistent(mRole);
      pm.makePersistent(mPrivilege);
    }
    return;
  }
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.