Prerequisites
This PhenixID Solution Document (PSD) is written for PhenixID Identity Provisioning (PIP) 5.3.0 or later.
Overview
If you are using the same values in several places and you like to refer to a variable instead of the value then you can use a Global Parameter.
For example. You move PIP configuration between two LDAP directories and they are called test.example.com and prod.example.com. If the LDAP reference is used in several actions you can create a Global Parameter called LDAPRoot instead. When you move from test to prod you only change the value in one place.
There are two types of global parameters:
- Standard. This are parameters in code where you can change the default value to you liking.
- Custom. It is like the example above where you create your own parameter that you use in different places.
Configure global parameters
Open Global Parameter dialog box
- Click Tools
- Click Global Parameters
Add a standard Global Parameter
- Click Add
- Make sure Use Standard: radio button is selected
- Select in drop down list the parameter to add
- Add a value
- Click OK
Add a custom Global Parameter
- Click Add
- Make sure Create Custom: radio button is selected
- Add a name for the parameter
- Add a value for the parameter
- Click OK
Delete a Global Parameter
- Select one or several parameters
- Click Remove
- Click OK
Change a Global Parameter
- Select a parameter
- Click Edit
- Update the parameter
- Click OK
Export/import global parameter
When you export an action or a policy, global parameters will not be included. You need to export and import them separately.
Export global parameter
- Select one or several parameter
- Click Export
- Add a name of the file and click Save
- Click OK
Import global parameter
- Click Import
- Select file
- Click Import Objects
- Edit the parameter value if needed
Use global parameter
This section explain how to reference to a global parameter.
Let say that you have a global parameter called LDAPRoot with a value test.example.com and you like to reference to this parameter in an action for example.
LDAPRoot=DC=test,DC=example,DC=com
To reference to LDAPRoot in an action or policy for example you type GLOBAL(LDAPRoot) instead of DC=test,DC=example,DC=com
Three different ways configure the same thing depending on parameters:
* cn=Kalle,OU=PSD1176,DC=test,DC=example,DC=com
* cn=Kalle,OU=PSD1176,GLOBAL(LDAPRoot)
* SESSION(cn),OU=PSD1176,GLOBAL(LDAPRoot)
DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.
PhenixID - support.phenixid.se