Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
75:integration:saml [2023/10/06 13:40] – [Generate the SAML SP metadata] bdss75:integration:saml [2024/02/15 00:00] (current) – external edit 127.0.0.1
Line 226: Line 226:
 </code> </code>
  
-  Attribute contains value:+<code> 
 +Attribute contains value: 
 + 
 +</code>
  
 <code> <code>
 <saml_attribute_id>.match(/.*value/        // <= 7.9.10.0, <= 7.10.1.0 <saml_attribute_id>.match(/.*value/        // <= 7.9.10.0, <= 7.10.1.0
-<saml_attribute_name>.match(/.*value/      //  > 7.9.10.0,  > 7.10.1.0+<saml_attribute_name>.match(/.*value/      //> 7.9.10.0,> 7.10.1.0
  
 </code> </code>
Line 238: Line 241:
 <code> <code>
 <saml_attribute_id>=="value                 // <= 7.9.10.0, <= 7.10.1.0 <saml_attribute_id>=="value                 // <= 7.9.10.0, <= 7.10.1.0
-<saml_attribute_name>=="value               //  > 7.9.10.0,  > 7.10.1.0+<saml_attribute_name>=="value               //> 7.9.10.0,> 7.10.1.0
  
 </code> </code>
Line 245: Line 248:
  
   * The pattern matches the entry of the SAML attribute "id".   * The pattern matches the entry of the SAML attribute "id".
-  * Depending on the users' email address (domain-part), SAML attribute "mail" is used to assign different values for defaultRolesUsername, defaultLicenseType and licensePoolIdent+  * Depending on the users' email address (domain-part), SAML attribute name "email" is used to assign different values for defaultRolesUsername, defaultLicenseType and licensePoolIdent
  
 <code> <code>
Line 252: Line 255:
      pattern="<matching_value>"      pattern="<matching_value>"
      defaultRolesUsername="=      defaultRolesUsername="=
-        if (mail.match(/.*@company1.com/)) 'User1'; +        if (email.match(/.*@company1.com/)) 'User1'; 
-        else if (mail.match(/.*@company2.com/)) 'User2';+        else if (email.match(/.*@company2.com/)) 'User2';
         else 'default';         else 'default';
         "         "
      defaultLicenseType="=      defaultLicenseType="=
-        if (mail.match(/.*@company1.com/)) 'QM'; +        if (email.match(/.*@company1.com/)) 'QM'; 
-        else if (mail.match(/.*@company2.com/)) 'PM';+        else if (email.match(/.*@company2.com/)) 'PM';
         else 'none';         else 'none';
         "         "
      licensePoolIdent="=      licensePoolIdent="=
-          if (mail.match(/.*@company2.com/)) 'company2';+          if (email.match(/.*@company2.com/)) 'company2';
         else '';         else '';
         "         "
Line 273: Line 276:
  
 =====   ===== =====   =====
 +
  
 ===== Configure the SAML Request Type ===== ===== Configure the SAML Request Type =====