JAAS + Hibernate

Hi guys,

i need some help with to connect JAAS to Hibernate.

The idea is to make a user table, which represented by Hibernate object and JAAS must work with that object.

How to create such object and how to connect it to JAAS?

Thanks

Developer