Great to know jTDS1.3.1 supporting kerberos, but there is one problem about using it in cross realm, described as follows.
SQLServer runs on realm under foo.com, with pricipal name MSSQLSvc/host:email@example.com
but the client runs on bar.com
jTDS always picks up the default realm to construct service principal name, which is MSSQLSvc/host:firstname.lastname@example.org
as a result, the principal used to get service ticket will be MSSQLSvc/host:email@example.com instead of MSSQLSvc/host:firstname.lastname@example.org, so authentication would fail with error message "No server found in database"
For fixing this issue, would you please add one property to let user specifying SQLServer principal name from outside, just taking it as the common property as host or port.