Skip to content

Commit

Permalink
fix: references to file location_type (#10797)
Browse files Browse the repository at this point in the history
Signed-off-by: moabu <[email protected]>
Co-authored-by: YuriyZ <[email protected]>
  • Loading branch information
moabu and yuriyz authored Feb 6, 2025
1 parent 881c1e0 commit cfaab7e
Show file tree
Hide file tree
Showing 14 changed files with 68 additions and 68 deletions.
2 changes: 1 addition & 1 deletion docs/janssen-server/developer/interception-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ Output:
},
"modified": true,
"internal": true,
"locationType": "file",
"locationType": "db",
"locationPath": "string",
"baseDn": "string"
}
Expand Down
2 changes: 1 addition & 1 deletion docs/janssen-server/developer/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Output:
},
"modified": true,
"internal": true,
"locationType": "file",
"locationType": "db",
"locationPath": "string",
"baseDn": "string"
}
Expand Down
2 changes: 1 addition & 1 deletion docs/script-catalog/discovery/discovery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The discovery interception script extends the base script type with the methods
The `configurationAttributes` parameter is `java.util.Map<String, SimpleCustomProperty>`.

configurationAttributes = new HashMap<String, SimpleCustomProperty>();
configurationAttributes.put("Location Type", new SimpleCustomProperty("location_type", "MySQL", "Storage Location for the script"));
configurationAttributes.put("Location Type", new SimpleCustomProperty("location_type", "db", "Storage Location for the script"));

### Snippet

Expand Down
2 changes: 1 addition & 1 deletion docs/script-catalog/introspection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The introspection interception script extends the base script type with the meth
The `configurationAttributes` parameter is `java.util.Map<String, SimpleCustomProperty>`.

configurationAttributes = new HashMap<String, SimpleCustomProperty>();
configurationAttributes.put("Location Type", new SimpleCustomProperty("location_type", "MySQL", "Storage Location for the script"));
configurationAttributes.put("Location Type", new SimpleCustomProperty("location_type", "db", "Storage Location for the script"));

### Snippet

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ For Jython scripts, we need additional steps to enable breakpoints.
![LDAP basic script ](../../../assets/basic_script.png)
1. Choose to load the script from file instead of ldap. Inside the browser change `jansModuleProperty` with value `{"value1":"location_type","value2":"ldap","description":""}` to `{"value1":"location_type","value2":"file","description":""}`
1. Choose to load the script from file instead of db. Inside the browser change `jansModuleProperty` with value `{"value1":"location_type","value2":"db","description":""}` to `{"value1":"location_type","value2":"file","description":""}`
1. Specify the `Script Path` location to the location of the folder inside auth server pods: `/deploy/interception-scripts-ksync/basic.py`. Right click the upper `jansModuleProperty` and click `New Value`. A new entry for `jansModuleProperty` will be created. Insert the following for the value: `{"value1":"location_path","value2":"/deploy/interception-scripts-ksync/basic.py","description":""}`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ oxConfigurationProperty: {"value1":"generic_remote_attributes_list","value2":"us
oxConfigurationProperty: {"value1":"generic_local_attributes_list","value2":"uid, mail, cn, displayName, givenName, sn, provider","description":""}
oxLevel: 60
oxModuleProperty: {"value1":"usage_type","value2":"interactive","description":""}
oxModuleProperty: {"value1":"location_type","value2":"ldap","description":""}
oxModuleProperty: {"value1":"location_type","value2":"db","description":""}
oxRevision: 1
oxScript:: <copy content of the file from PassportExternalAuthenticator.py>
oxScriptType: person_authentication
Expand Down
24 changes: 12 additions & 12 deletions jans-config-api/docs/jans-config-api-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4266,15 +4266,15 @@ paths:
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 1,
"revision": 11,
"enabled": true,
"modified": false,
"internal": false,
"locationType": "ldap",
"locationType": "db",
"baseDn": "inum=0300-BA90,ou=scripts,o=jans"
},
{
Expand All @@ -4288,15 +4288,15 @@ paths:
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 100,
"revision": 1,
"enabled": false,
"modified": false,
"internal": false,
"locationType": "ldap",
"locationType": "db",
"baseDn": "inum=031C-4A65,ou=scripts,o=jans"
}
]
Expand Down Expand Up @@ -4333,15 +4333,15 @@ paths:
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 800,
"revision": 8,
"enabled": false,
"modified": false,
"internal": false,
"locationType": "ldap"
"locationType": "db"
}
responses:
"200":
Expand All @@ -4365,15 +4365,15 @@ paths:
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 800,
"revision": 8,
"enabled": false,
"modified": false,
"internal": false,
"locationType": "ldap",
"locationType": "db",
"baseDn": "inum=4144edf6-af99-451d-be29-f3eb5c0e9143,ou=scripts,o=jans"
}
"401":
Expand Down Expand Up @@ -4419,15 +4419,15 @@ paths:
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 800,
"revision": 8,
"enabled": false,
"modified": false,
"internal": false,
"locationType": "ldap"
"locationType": "db"
}
responses:
"201":
Expand Down Expand Up @@ -4459,7 +4459,7 @@ paths:
"enabled": false,
"modified": false,
"internal": false,
"locationType": "ldap",
"locationType": "db",
"baseDn": "inum=4144edf6-af99-451d-be29-f3eb5c0e9143,ou=scripts,o=jans"
}
"401":
Expand Down Expand Up @@ -4584,7 +4584,7 @@ paths:
"enabled": true,
"modified": false,
"internal": false,
"locationType": "ldap",
"locationType": "db",
"baseDn": "inum=0300-BA90,ou=scripts,o=jans"
}
"401":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 1,
"revision": 11,
"enabled": true,
"modified": false,
"internal": false,
"locationType": "ldap",
"locationType": "db",
"baseDn": "inum=0300-BA90,ou=scripts,o=jans"
},
{
Expand All @@ -36,15 +36,15 @@
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 100,
"revision": 1,
"enabled": false,
"modified": false,
"internal": false,
"locationType": "ldap",
"locationType": "db",
"baseDn": "inum=031C-4A65,ou=scripts,o=jans"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 1,
"revision": 11,
"enabled": true,
"modified": false,
"internal": false,
"locationType": "ldap",
"locationType": "db",
"baseDn": "inum=0300-BA90,ou=scripts,o=jans"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 1,
"revision": 11,
"enabled": true,
"modified": false,
"internal": false,
"locationType": "ldap",
"locationType": "db",
"baseDn": "inum=0300-BA90,ou=scripts,o=jans"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 1,
"revision": 11,
"enabled": true,
"modified": false,
"internal": false,
"locationType": "ldap",
"locationType": "db",
"baseDn": "inum=0300-BA90,ou=scripts,o=jans"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 800,
"revision": 8,
"enabled": false,
"modified": false,
"internal": false,
"locationType": "ldap",
"locationType": "db",
"baseDn": "inum=4144edf6-af99-451d-be29-f3eb5c0e9143,ou=scripts,o=jans"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"moduleProperties": [
{
"value1": "location_type",
"value2": "ldap"
"value2": "db"
}
],
"level": 800,
"revision": 8,
"enabled": false,
"modified": false,
"internal": false,
"locationType": "ldap"
"locationType": "db"
}
Loading

0 comments on commit cfaab7e

Please sign in to comment.