Tavant Logo

WSO2 Integration with AEM – Part 2

Share to

After WSO2 Identity Server (IS) Installation & Configuration in Part 1, we arrive at the stage when we can perform AEM (Adobe Experience Manager) Side Configuration.

Steps for AEM Configuration:

  1. Put the below entry into your AEM project’s pom.xml file:











<name>WSO2 internal Repository</name>












  1. The above dependency will download the jar file, which will be used to generate the SAML request for Login and Logout.
  2. Download the sample project from the link provided below. It uses WSO2 Identity Server for Login and Logout, and configures the travelocity.properties file (in your AEM project) required to communicate with WSO2IS by referring to the downloaded project.


  1. Additionally, refer this sample project to generate the SAML request for Login and Logout.
  2. Two servlets were created in our case, wherein the first one was used to generate SAML request for Login and Logout, and the other was used to handle the response from WSO2 Identity Server.

The Login page to be served by WSO2IS will be similar to the one below:

WSO2IS login page

Credentials need to be entered, and authentication will be handled by WSO2.

If the authentication fails, it will show an error message on the same page, else, it will redirect to the website page-as per the code you write.

Tags :

Let’s create new possibilities with technology