OpenID Authentification Modul for Glassfish
In the OpenSSO Project on dev.java.net you can find an extension for OpenID. With this OpenID Module which is based on jsr-196 it is easy to use OpenID authentification in a JEE Application running on Glassfish. Additional Informations about the JSR-196 can be found here.
To build the Sources of hte OpenID Authentification Module is very easy as the project is based on maven. So first check out the sources form the jsr-196 project inside cvs code repository
https://opensso.dev.java.net/source/browse/opensso/extensions/jsr196/
The hostname for the cvs repository is : cvs.dev.java.net
Repoistory path is : /cvs
Connection type is: pserver
You just need to check out the jsr-196 project which is found under /opensso/extensions
After you have checked out the sources you can run a maven install directly to build the libary. Information about Maven you find here .
After you run the maven install you have a library called
sam.openid-x.x.x.jar
Copy this jar into your glassfish/lib folder. Thats it.
You can now configure a new HTTP Messaging Provider as described here. The provider class name for the OpenID Autentification Module is : com.sun.security.sam.openid.OpenIDServerAuthModule
Posted at 07:52AM Nov 08, 2008
Posted by: Ralph
Category: General