Configuring session data storage for Talend Identity and Access Management - 8.0

Talend Installation Guide

Version
8.0
Language
English
Operating system
Windows
Subscription type
Subscription
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend LogServer
Talend MDM Server
Talend MDM Web UI
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
Installation and Upgrade
Last publication date
2022-10-30
Configure Talend Identity and Access Management to share session data between different instances.

Before you begin

Procedure

  1. Open the <InstallationPath>\iam\apache-tomcat\bin\setenv.bat file.
  2. To set the SPRING_SESSION_STORE_TYPE environment variable and specify the backend for storing session data, add the following line:
    set SPRING_SESSION_STORE_TYPE=mongo
  3. Set the SPRING_DATA_MONGODB_URI environment variable to the connection string of your MongoDB instances, using the following syntax:
    set SPRING_DATA_MONGODB_URI=mongodb://<username>:<password>@<mongo-host1>:<mongo-port1>,<mongo-host2>:<mongo-port2>,...,<mongo-hostN>:<mongo-portN>/<database-name>
    The components of the URI are:
    Component Description
    mongodb:// This prefix is required.
    username

    password

    Optional: The client will attempt to log in to the database using these authentication credentials after connecting to the MongoDB instances.
    mongo-host Server address (hostname or IP address) to which to connect.
    mongo-port The default value is 27017.
    database-name The name of the database for session data storage.

    If you configured MongoDB in cluster mode, <mongo-host1> is the name of the first host in the cluster, using <mongo-port1>, and so on.

    Example

    To describe a connection to a MongoDB database named sessions hosted on example.talend.com with the port number 27017, add the following line:
    set SPRING_DATA_MONGODB_URI=mongodb://example.talend.com:27017/sessions
  4. Start Talend Identity and Access Management.

What to do next

Start your Talend application and login.

Access the database created for session data storage in MongoDB. The database contains the current session data.