OpenAM: Getting Started Guide

OpenAM Community LogoOne guide added for the OpenAM 11 release is Getting Started With OpenAM. This guide is written for people who have heard something about OpenAM, but have not gotten around to trying it out.

If you have not yet tried OpenAM because you do not have time, this 20-page guide is for you. There are only two chapters:

  • The first chapter starts off with the expectation that you have a Linux laptop or Linux VM, an Internet connection, and a minimum of command-line experience. It takes you step-by-step through the process of setting up OpenAM to protect a web page. Once you have successfully followed the instructions, you should have a basic understanding of what OpenAM does.
  • The second chapter is a short introduction to OpenAM’s main capabilities, from self-service features to SSO, to federation and the different APIs that OpenAM offers for developers.

3 thoughts on “OpenAM: Getting Started Guide

  1. Hello Margin,

    I am new to openam.
    With the help of your notes at
    I was able to integrate JBoss7-OpenAM-OpenDJ.
    After configuration and login in openam.war i redirect user to my sample.war application.
    Can you provide me some reference links how i can get logged in user information in sample.war?
    And how I can redirect user to openam/UI/Login if user directly hits sample.war url without logging in.

    Thanks and Regards,
    Ritesh Dave

    1. Hello,

      It sounds like you want OpenAM to protect your sample application. In that case, you will want to install an OpenAM policy agent alongside your sample application, and add a filter configuration to the deployment descriptor for your sample application to use the policy agent. Also, in OpenAM you will set up access policies to describe who has access to what in your sample application.

      Once you have installed and configured things, all requests to your sample application should be filtered through the OpenAM policy agent, which is another application. The policy agent handles policy enforcement by requesting policy decisions from OpenAM, decisions that OpenAM makes based on the policies that you have configured. All your sample application is required to do is have a filter configuration that puts the requests through the OpenAM policy agent.

      For more on Java EE policy agents, start with

      For more on setting up OpenAM policies, start with

      Another good place to ask questions is on the OpenAM Forum, Many experts and experienced users are reading those forums and willing to assist people trying to use OpenAM.

      Hope it helps.

  2. Hello Mark,

    Thanks for the reply Mark.
    Along with protecting my sample application.
    I also wanted to retrieve values such as current logged in user name.
    Will search and try to implement from the forum suggested.
    Your reply was helpfull.

    Thanks and Regards,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s