Calem Blogs

Blogs of CalemEAM

How to Provision User in Calem by SAML SSO

In the coming release of release R20d in August 2020, a feature is available to provision users in Calem based on SAML SSO. The feature allows an organization to centralize user management in its ID Provider. Calem provisions an authenticated user in Calem, or update the user settings accordingly.

  1. A user accesses Calem
  2. The user is redirected to its ID provider for authentication via SAML
  3. Upon authentication the user record is created Calem if not found. Otherwise, it's updated.

The following SAML attributes from an authenticated user may be used to provision a user record in Calem.

Attribute Mandatory
Full Name (givenname and surname) 
​User Id​Y
​Group Id - mapped to Profiles in Calem​Y
​Team Id​N

Plugins must be configured to enable user provisioning. A plugin includes business logic meeting the specific requirements of the integration for an organization.

  • They are developed and released by Calem based on customer requirements.
  • No plugin is configured out of the box.
  • A plugin needs to be configured to enable the integration. 
  • For instance, "itiga" is the plugin Id to be enabled.
    • The plugin is deployed to directory Calem_Home/server/modules/plugin/itiga/
    • The following configuration needs to be added to calem.custom.php to enable it.


 The user provisioning includes the following data integration points.

​1. Direct Mapping - a SAML attribute is mapped to a field in Calem
​2. Lookup Mapping - a SAML attribute is mapped to a lookup field in Calem
​3. Default fields values
​4. Custom Handling - the custom business logic provided by a plugin
​5. Additional configuration - additional configuration data may be supplied in other files for a plugin.
For instance, "itiga_conf.php" and "itiga_conf.custom.php", and "itiga_map.php" are included for "itiga" plugin.
Additional information can be found in the README.txt file for a plugin.

The following is the sample configuration for the data integration defined in calem.custom.php. 

  //Direct mapping to saml attr
  //Saml attr is a lookup value
  //Default values to set
  //custom logic, value is attr or null (indirect attributes)
How to Manage Contractors by Teams in Calem
How to Fetch Data Efficiently via REST API

Related Posts