public Object getActiveAuthorizer() {
    return getAuthorizationMode() == AuthorizationMode.V1 ?
        getAuthorizer() : getAuthorizerV2();
  }
Setup authentication and authorization plugins for this session.
ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java