How to deploy OpenAM to Jelastic cloud
OpenAM is a market leading open-source access management, entitlements, and federation server platform which provides:
- Open source authentication (validation of digital identity);
- Authorization, which includes enforcement of access policies on network resources;
- Core identity services to simplify the implementation of transparent single sign-on (SSO) as a security component in a network infrastructure;
- Foundation for integrating diverse web applications that might typically operate against a disparate set of identity repositories and hosted on a variety of platforms such as web and application servers.
As with any Java applications and frameworks, this one is very easy to deploy to Jelastic! Here’s how:
1. Create an environment
1. Go to jelastic.com and sign up if you haven’t done it yet or log in with your Jelastic credentials by clicking the Sign In link on the page.
2. While in Jelastic dashboard, click the Create environment button at the top left:
3. In the Environment topology window, choose your application server (for example, Tomcat 6) and specify your environment name, for example, OpenAM, then click Create.
In a minute your environment will be created.
2. Upload a Java package
1. Navigate to ForgeRock web site and click on Download Stack.
2. Select OpenAM, fill in the required form and copy to clipboard the URL of the latest OpenAM release (WAR archive).
3. Go back to the Jelastic dashboard, click Upload and paste the URL you have just copied.
4. Once the package is in Jelastic, deploy it to the environment you have just created.
Do not deploy OpenAM to the ROOT context (otherwise you will get configuration errors later on!)
5. Once the deployment is successfully finished, launch the application in web browser.
3. Configure OpenAM
1. Select Create New Configuration in Configuration Options window.
2. Specify the default user password that you want to have and click Next.
3. In the Server Settings window, confirm the server URL, cookie domain, platform locate, and configuration directory settings.
4. At the Configuration Data Store Settings step, select the First Instance and confirm configuration store details.
5. In User Store Settings, select OpenAM User Data Store. You can ignore the warning message and go ahead.
6. The instance will not be deployed behind a load balancer. So select the No in the Site Configuration dialog.
7. Type the password for the Default Policy Agent User different from the default user password.
8. View the Summary. If the information is correct, click Create Configuration.
In few minutes the configuration process will be finished.
Now you can use OpenAM in your applications in Jelastic!