KevMo
KevMo

Reputation: 5610

Glassfish Custom Authentication Module?

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.

Where would I start learning how to create my own custom authentication module?

Upvotes: 4

Views: 3866

Answers (2)

Draemon
Draemon

Reputation: 34711

See the Glassfish security FAQ, specifically "How do I write/configure my own login module and plug it into GlassFish?"

and this sun document

Upvotes: 0

Maksim
Maksim

Reputation: 16931

HERE is the step-by-step instructions of how to do this.

Upvotes: 3

Related Questions