title: Glassfish Custom Authentication Module?
body: <p>I know glassfish can authenticate against an LDAP server, I also know it can authenticate against my own database.  What I would like to do is authenticate users against LDAP, but get their roles from my own database.</p>
  
  <p>Where would I start learning how to create my own custom authentication module? </p>