MCPcopy Create free account
hub / github.com/apache/impala / getShortName

Method getShortName

fe/src/main/java/org/apache/impala/authorization/User.java:49–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 public String getName() { return name_; }
48
49 public String getShortName() throws InternalException {
50 try {
51 return kerberosName_.getShortName();
52 } catch (IOException e) {
53 throw new InternalException(
54 "Error calling getShortName() for user: " + getName(), e);
55 }
56 }
57
58 /*
59 * Returns the shortname for the user after applying auth_to_local

Callers 15

hasAccessMethod · 0.95
testRowFilterDisabledMethod · 0.80
testAuditLogFailureMethod · 0.80
createRoleMethod · 0.80
dropRoleMethod · 0.80

Calls 1

getNameMethod · 0.95

Tested by 7

testRowFilterDisabledMethod · 0.64
testAuditLogFailureMethod · 0.64