List of usage examples for org.apache.hadoop.security UserGroupInformation.AuthenticationMethod equals
@Override public boolean equals(Object o)
From source file:org.apache.zeppelin.jdbc.JDBCInterpreter.java
License:Apache License
protected boolean isKerboseEnabled() { if (!isEmpty(getProperty("zeppelin.jdbc.auth.type"))) { UserGroupInformation.AuthenticationMethod authType = JDBCSecurityImpl.getAuthtype(properties); if (authType.equals(KERBEROS)) { return true; }/*from w w w. ja v a2 s .com*/ } return false; }