Not quite what you are asking, but I just read an article that shows some actual Java code for using GSS. Perhaps it will be of some help to you:
http://www-106.ibm.com/developerworks/l ... ca=dnt-436
This subject is of interested to me as well. I'm not quite sure what you're asking w/regards to Hibernate though. I see Hibernate as only partially related to the single-signon issue; that is, in a SS scenario, you very often end up with user authentication and some user data coming from the SS source, but local applicaiton specific user data accessed with something like Hibernate, and this user needs to be mapped to and considered the same user as the authenticated user from the SS source...
Regards,
Colin