Archive for the ‘ tutorial ’ Category

Installing OpenAM 9.5.2 and OpenDJ 2.4

Posted in ForgeRock, OpenAM, opendj, opensource, saml, tutorial, websso on May 23rd, 2011 by Ludo – Comments Off

OpenAM, Web single sign on product, login pageBrad Tumy has recently published a detailed and illustrated tutorial on how to install OpenAM 9.5.2 and OpenDJ 2.4 with GlassFish. The post highlights how easy it is to install and configure these 2 products to secure a web application and provide Web single sign on. A good starting points for those who are new to these products and want to get started very quickly.

Note: Brad’s post is for OpenDJ 2.4.0, but we highly recommend that you download and install OpenDJ 2.4.2, the latest release, which fixes some issues with replication and improves reliability over WAN.

Instalar OpenDJ en Español…

Posted in español, opendj, opensource, spanish, tutorial on March 3rd, 2011 by Ludo – Comments Off

Your speak spanish and would like to understand how to install OpenDJ from the command line ?
Marcelo Lemos from Uruguay just blogged a simple example, all in Spanish.

¿ Usted habla español y le gustaría saber cómo instalar OpenDJ de la línea de comandos?
Marcelo Lemos de Uruguay sólo en blogs un ejemplo sencillo, todo en Español.

How to develop custom auth module

Posted in Auth, auth module, jaas, tutorial on June 2nd, 2010 by aldaris – Comments Off

NOTE: if you’re looking for a quick way to learn how to develop auth modules, then you may want to read this or this instead.

In the OpenAM world an authentication module is responsible for authenticating a user, but sometimes the method of authentication is not that simple, as we think. For example the OpenAM gives out-of-the-box support for LDAP, Cert, SPNEGO token, etc. based authentication, but what happens if you need to authenticate (for some reason) from a WebService, this is when you’re probably going to end up developing a custom authentication module.

OpenAM is using JAAS, so if you don’t know what JAAS is, probably you need to read this, this is going to help you understand the basic concepts of the Auth API.

To create an authentication module, you’re going to need the followings:

Configuration-UI descriptor XML with localization Callback-descriptor XML for login page UI Some java code for authentication logic maybe some JSP and lot’s of lot’s of OpenAM container restarts :)

So based on these needs I’m going to write a few more posts in this area, probably in the following structure:

Configuration basics Config UI elements Validation of configuration Login UI basics Callbacks Dynamic Callback-handling How to write the Java code Gotcha’s, best practices How to install auth module

I hope you will find these articles useful, some of them are new stuff for me too, so it may going to need some time to write them, but they’re going to (Forge)ROCK! :D

Featuring YD Feedwordpress Content Filter Plugin