Examples of PreAuthorizationCallEvent


Examples of org.apache.hadoop.hive.metastore.events.PreAuthorizationCallEvent

    @Override
    public GetPrincipalsInRoleResponse get_principals_in_role(GetPrincipalsInRoleRequest request)
        throws MetaException, TException {

      incrementCounter("get_principals_in_role");
      firePreEvent(new PreAuthorizationCallEvent(this));
      Exception ex = null;
      List<MRoleMap> roleMaps = null;
      try {
        roleMaps = getMS().listRoleMembers(request.getRoleName());
      } catch (MetaException e) {
View Full Code Here

Examples of org.apache.hadoop.hive.metastore.events.PreAuthorizationCallEvent

    @Override
    public GetRoleGrantsForPrincipalResponse get_role_grants_for_principal(
        GetRoleGrantsForPrincipalRequest request) throws MetaException, TException {

      incrementCounter("get_role_grants_for_principal");
      firePreEvent(new PreAuthorizationCallEvent(this));
      Exception ex = null;
      List<MRoleMap> roleMaps = null;
      try {
        roleMaps = getMS().listRoles(request.getPrincipal_name(), request.getPrincipal_type());
      } catch (MetaException e) {
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.