public Class<?> getAuthorizerInterface() {
    return getAuthorizationMode() == AuthorizationMode.V1 ?
        HiveAuthorizationProvider.class : HiveAuthorizer.class;
  }
Setup authentication and authorization plugins for this session.
ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java