Authentication in Glassfish revisited - JSR-196

Posted on March 9th, 2008
Keywords:

Thanks to Ron Monzillo i found out about JSR 196 and how its supposed to make custom authentication a lot easier in Glassfish. So i had a look at the specs and yes, it does exactly whats been missing before.

It wasnt that easy to find docs about some parts of it, but i might just not have looked at the right places. It was still fairly easy to migrate my existing code to this api and within just a few hours everything was running just fine! :-)

One thing i didnt like too much, though, was having to restart Glassfish for every little change, so i decided to move the actual authentication process into my app and have the authentication module registered in Glassfish only call that. So i hacked up a little lib to do just that. And i figured, maybe its of use to somebody else, either to have another example of how to use jsr 196 or to actually implement the authentication with it!

Introducing: PluggableAuthenticator for JSR 196

This is really just a very simple lib and does nothing fancy, if ur interested in it just go ahead and have a look at it! :-)

AddThis button



About Me

Photo of myself Aike J Sommer
web [at] aikesommer [dot] name
Feed: RSS Syndicate content
Company: AS Media