|Applies To||Platform Web Services 5.7.2|
|Issue||How to return data in a Web Services sign-in request to indicate if the user is coming from a Foreign IP address?|
To retrieve the Foreign IP status a "ClientFact" needs to be added to the request. This can be accomplished by modifying the "dataValid" rule in a given "drl" file. When added to this rule the following code will add a FOREIGN_IP Fact to the EventRiskFacts Array returned in the SOAP request.
The above code must be added after the following line:
|Notes||The exact "drl" file is defined in the d-config-forensic.xml file. This is defined for each event type within a bean for the "PolicyEngineDrools" class. For this request the "ClientFact" is needed for a sign-in call so the event type is "rule:passmark/SESSION_SIGNIN" and default value for 5.7.2 is "auth2.3.drl".|
|Legacy Article ID||a39692|