Agent Guides › SAML Affiliate Agent Guide › Configure Affiliate Settings › Configure the Notification Service
Configure the Notification Service
The notification service lets the SAML Affiliate Agent notify the producer of user activity at the consumer site. This service applies only to protected resources.
The notification service will be called when a user accesses a URL specified in the NotificationURL element. Event details are logged at the producer in the NotificationMessages.log file.
Three settings are required for the notification service—they are in different sections of the AffiliateConfig.xml file:
- NotificationService (PerPortalInfo section)—specifies the location of the notification service at the producer.
- NotificationURL (PerAffiliateInfo section)—designates URLs at the consumer that trigger notification messages to be sent to the producer. You can have one or more of these entries in the configuration file.
- MatchingRule for the NotificationURL (PerAffiliateInfo section)—indicates how the SAML Affiliate Agent compares each URL for which the user gained access to the NotificationURL. Required with the NotificationURL.
To configure the notification service
- Specify a URL path for the NotificationService element. It must be a URL over an SSL connection. For example:
<NotificationService>https://secure.producer.domain.com:81/affwebservices/router/notification</NotificationService>
- Configure the NotificationURL element together with the MatchingRule attribute. For example:
<NotificationURL MatchingRule="StrictPrefix">protected</NotificationURL>
- Ensure that the resources you want to designate for notification service are added to the AffiliateResource setting.
More Information
Specify the Notification Service
Define the MatchingRule for the Notification Service
Designate Affiliate Resources