Github user stanlyxiang commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/1250#discussion_r120043142
  
    --- Diff: 
ranger-plugin/service/src/main/java/org/apache/hawq/ranger/authorization/Utils.java
 ---
    @@ -68,6 +77,30 @@ public static String getVersion() {
         }
     
         /**
    +     * Retrieves the authentication
    +     * @return kerberos or simple[default]
    +     */
    +    public static String getAuth() {
    +        return System.getProperty(AUTH_KEY_ENV, 
properties.getProperty(AUTH_KEY_FILE, "simple"));
    --- End diff --
    
    public static final String SIMPLE="simple"; and use SIMPLE here. So does 
EMPTY_STRING for ""


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to