title: Glassfish 3.1 + Kerberos + roles from database (JDBC)
body: <p>I can't find out how to get roles from database (JDBC) for user authorised with Kerberos. Kerberos login works ok but user doesn't have any roles.
  I used spnego-r7 to run Kerberos - <a href="http://spnego.sourceforge.net/index.html" rel="nofollow">http://spnego.sourceforge.net/index.html</a> 
  I can't find any tutorial or advices how to do it.
  Do you have any idea or example?</p>