@Test public void testToString() { session = new LoginSession("config", "principal", "keytab", ugiFoo, subjectFoo, 1); assertEquals("LoginSession[config=config,principal=principal,keytab=keytab,kerberosMinMillisBeforeRelogin=1]", session.toString()); }
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) .append("config", configDirectory) .append("principal", principalName) .append("keytab", keytabPath) .append("kerberosMinMillisBeforeRelogin", kerberosMinMillisBeforeRelogin) .toString(); }
LoginSession { @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) .append("config", configDirectory) .append("principal", principalName) .append("keytab", keytabPath) .append("kerberosMinMillisBeforeRelogin", kerberosMinMillisBeforeRelogin) .toString(); } }
LoginSession { @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) .append("config", configDirectory) .append("principal", principalName) .append("keytab", keytabPath) .append("kerberosMinMillisBeforeRelogin", kerberosMinMillisBeforeRelogin) .toString(); } LoginSession(String configDirectory);  LoginSession(String configDirectory, UserGroupInformation loginUser);  LoginSession(String configDirectory, String principalName, String keytabPath, long kerberosMinMillisBeforeRelogin);  LoginSession(String configDirectory, String principalName, String keytabPath, UserGroupInformation loginUser,
                        Subject subject, long kerberosMinMillisBeforeRelogin); }
LoginSession { @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) .append("config", configDirectory) .append("principal", principalName) .append("keytab", keytabPath) .append("kerberosMinMillisBeforeRelogin", kerberosMinMillisBeforeRelogin) .toString(); } LoginSession(String configDirectory);  LoginSession(String configDirectory, UserGroupInformation loginUser);  LoginSession(String configDirectory, String principalName, String keytabPath, long kerberosMinMillisBeforeRelogin);  LoginSession(String configDirectory, String principalName, String keytabPath, UserGroupInformation loginUser,
                        Subject subject, long kerberosMinMillisBeforeRelogin); UserGroupInformation getLoginUser(); long getKerberosMinMillisBeforeRelogin(); Subject getSubject(); User getUser(); String getKeytabPath(); String getPrincipalName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
LoginSession { @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) .append("config", configDirectory) .append("principal", principalName) .append("keytab", keytabPath) .append("kerberosMinMillisBeforeRelogin", kerberosMinMillisBeforeRelogin) .toString(); } LoginSession(String configDirectory);  LoginSession(String configDirectory, UserGroupInformation loginUser);  LoginSession(String configDirectory, String principalName, String keytabPath, long kerberosMinMillisBeforeRelogin);  LoginSession(String configDirectory, String principalName, String keytabPath, UserGroupInformation loginUser,
                        Subject subject, long kerberosMinMillisBeforeRelogin); UserGroupInformation getLoginUser(); long getKerberosMinMillisBeforeRelogin(); Subject getSubject(); User getUser(); String getKeytabPath(); String getPrincipalName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }