Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial:dev:scim_form_value [2019/02/05 12:55]
tomiskar [What do you need before you start]
tutorial:dev:scim_form_value [2020/04/14 11:13] (current)
tomiskar [02 Save form values]
Line 7: Line 7:
 We want to create user (~IdM identity) with an extended attribute (~IdM form value). We want to create user (~IdM identity) with an extended attribute (~IdM form value).
  
-Extended attributes are defined as extended schema, which can be added to resources implementing ''FormableResource'' interface (available resources with their schemas can be found from [[devel:documentation:modules_scim#api|shema endpoint]]).+Extended attributes are defined as extended schema, which can be added to resources implementing ''FormableResource'' interface (available resources with their schemas can be found from [[devel:documentation:modules_scim#api|schema endpoint]]).
  
 ===== What do you need before you start ===== ===== What do you need before you start =====
Line 19: Line 19:
 ===== 01 Read form definition ===== ===== 01 Read form definition =====
  
-The first thing wee need to now, which extended attributes are available for given resources. We use ''FormDefinition'' resource => form definition can be found by type (~definition's entity type owner. IdM entity name has to be used, extended attributes are CzechIdM specific) and code (~definition name):+The first thing ee need to now, which extended attributes are available for given resources. We'll use ''FormDefinition'' resource => form definition can be found by type (~definition's entity type owner. IdM entity name has to be used, extended attributes are CzechIdM specific) and code (~definition name):
  
 <code bash> <code bash>
Line 33: Line 33:
     "schemas":     "schemas":
       "urn:ietf:params:scim:schemas:core:2.0:User",        "urn:ietf:params:scim:schemas:core:2.0:User", 
-      "urn:ietf:params:scim:schemas:CzechIdM:8.1:Form" +      "urn:ietf:params:scim:schemas:CzechIdM:1.0:Form" 
      ],       ], 
     "userName": "scimTwo",      "userName": "scimTwo", 
-    "urn:ietf:params:scim:schemas:CzechIdM:8.1:Form":+    "urn:ietf:params:scim:schemas:CzechIdM:1.0:Form":
     "forms" : [{      "forms" : [{ 
     "code": "default",      "code": "default", 
  • by tomiskar