class LoginSession {

    @Override
    public int hashCode() {
        return Objects.hash(configDirectory, principalName, keytabPath, kerberosMinMillisBeforeRelogin);
    }

    public  LoginSession(String configDirectory);
    public  LoginSession(String configDirectory, UserGroupInformation loginUser);
    public  LoginSession(String configDirectory, String principalName, String keytabPath, long kerberosMinMillisBeforeRelogin);
    public  LoginSession(String configDirectory, String principalName, String keytabPath, UserGroupInformation loginUser,
                        Subject subject, long kerberosMinMillisBeforeRelogin);

}