Setting Up Additional Profile Data
This section describes how to set up the profile data.
PCF establishes a connection with an LDAP server to access the subscriber profile data that resides on an external database. Upon receiving the PCF query, the LDAP searches its database to retrieve the user profile and other information.
You can set an LDAP interface profile for a new or an existing domain. By configuring the Domain, you direct PCF to retrieve data from an LDAP query.
-
Log in to Policy Builder and select the Services tab.
-
Navigate to the Domains tab and select DATA_5G.
-
In the Domains pane, click the Additional Profile Data tab.
-
Select Generic Ldap Search in the drop-down menu on the right-hand side of the Additional Profile section heading.
-
Under Profile Mappings, click Add to configure a new row for each attribute that is retrieved from the LDAP server. In the Profile Mappings table, the following parameters can be configured for the new row:
-
External Code: The LDAP attribute name to retrieve.
-
Mapping Type: The mapping of the data to an internal PCF data type.
-
Regex Expression and Regex Group: If parsing of the incoming AVP is required then define a regular expression and regular expression group to support retrieval of the parsed values.
-
Missing AVP: Defines the default AVP value when the subscriber attribute that is received from the external profile is missing.
Note-
If a subscriber attribute is missing and its missing AVP value is not configured, PCF does not create or update policy derived AVP for this subscriber with Missing AVP Value.
-
This parameter is applicable only for Mapping Type as Subscriber Attribute or Service. For all other mapping types, this column is not applicable.
-
-
Empty AVP Value: Defines the default AVP value when a subscriber attribute that is received from an external profile has empty or blank value.
Note-
If a subscriber attribute is empty or blank and its empty or blank AVP value is not configured, PCF does not create or update policy derived AVP for this subscriber with Empty AVP Value.
-
This parameter is applicable only for Mapping Type as Subscriber Attribute or Service. For all other mapping types, this column is not applicable.
-
-
Apply Timer: This check box indicates whether Timer Attribute is applicable to other subscriber attributes or not. Select the check box if Timer Attribute that must be applied for that subscriber attribute.
-
Discard If Empty: When checked, deletes the LDAP attribute from the session (thus preventing any further use) if regex (when configured) does not match the received value. By default, the check box is unchecked (false).
-
-
Enter the appropriate value in the following fields for completing the configuration:
The following table describes the configuration service parameters.
Configuration Parameters Field
Description
Ldap Server Set
Associate the LDAP server set defined in the LDAP Server Set Definition.
Base Dn
Specify the Base DN that is sent in the LDAP query. If not defined, then the request does not contain a base DN.
Filter
Set to the filter value that is sent in the LDAP query. If not defined, then the request does not contain a filter.
NoteThis string supports string replacement using the find and replace of strings with variables from the policy state as defined in the “Replacement Rules” table.Dereference Policy
This is an optional field that controls whether to disable the LDAP query. This is often used along with Custom Reference Data tables and other session attributes to optionally disable an LDAP query. If the calculated CRD AVP has a value (ignoring case) of “false”, then the LDAP query is skipped.
Avp Code to Disable Query
Set this to the dereference policy that the LDAP query requires. Default value is NEVER.
Profile Refresh Interval (mins)
Set this value to automatically refresh a profile by querying the profile after specified delay.
Replacement Rules
In the replacement rules table, add one row per replacement string to substitute into the Base DN or Filter string on a request by request basis.
Subscriber Timer Attribute
Indicates which attribute is a timer attribute among all the LDAP server attributes.
The timer follows the ISO 8601 time standards. See ISO 8601 for more information.
Lower Bound For Timer Attribute In Minutes
Indicates how much time before the start time of Subscriber Timer Attribute PCF has to accept when LDAP server sends timer attribute. Default value is 30 mins.