Software AG Products 10.5 | Using CentraSite | Runtime Governance | Run-Time Policy Management | Built-In Run-Time Actions Reference (CentraSite Business UI) | Built-in Actions for Run-Time Policies (CentraSite Business UI) | Evaluate Hostname
 
Evaluate Hostname
If you have a native API that requires to authenticate a client to the Integration Server using the hostname, you can use the Evaluate Hostname action to extract the client's hostname from the HTTP request header, and verify the client's identity.
This action extracts the specified hostname from an incoming request and locates the client defined by that hostname. For example, when you have configured this action for an API, the PEP extracts the hostname from the request’s HTTP header at run time and searches its list of consumers for the client defined by the hostname.
Mediator evaluates the incoming request to identify and validate that the client's request originated from a particular host machine.
Mediator rejects requests that do not include the hostname of an Integration Server user.
If Mediator cannot identify the client, Mediator fails the request and generates a Policy Violation event.
Input Parameters
Identify Consumer
(String). The list of consumers against which the hostname should be validated for identifying requests from a particular client.
Value
Description
Registered Consumers
Mediator tries to verify the client's hostname against the list of consumer applications who are registered as consumers for the specified API.
Global Consumers
(Default). Mediator tries to verify the client's hostname against a list of all global consumers available in the Mediator.