<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  <title>WSO2 ESB - Entitlement Mediator </title>
  <link href="css/esb-docs.css" rel="stylesheet" />
  <link href="styles/dist-docs.css" rel="stylesheet" type="text/css"
  media="all" />
</head>

<body>
<h2>Entitlement Mediator</h2>

<p>The Entitlement Mediator by passes the requests and evaluates the actions performed by the user against the XACML
    policy defined at the Policy Decision Point [WSO2 Identity Server]
</p>

<h3>Syntax</h3>
<pre xml:space="preserve">
&lt;entitlementService remoteServiceUrl="" remoteServiceUserName="" remoteServicePassword="" /&gt;
</pre>


<h3>UI Configuration</h3>

<p><img src="../entitlement-mediator/docs/images/entitlement_screenshot.png" alt=""
/> </p>

<p>Figure 1: Entitlement Mediator Options</p>

<p>You have the following configurations under the Entitlement Mediator.</p>
<ul>
  <li>Entitlement Server: Server url of the WSO2 Identity Server which acts as the PDP [e.g.:https://localhost:9443/services]</li>
  <li>User Name: This user should have login and manage configuration permissions in the Identity Server</li>
  <li>Password: The password corresponding to the user name. </li>
</ul>
<h3>Example</h3>

<p></p>
<pre xml:space="preserve">
&lt;entitlementService xmlns="http://ws.apache.org/ns/synapse"
    remoteServiceUrl="https://localhost:9443/services"
    remoteServiceUserName="user1" remoteServicePassword="L#k56@" /&gt;
</pre>
<p></p>
</body>
</html>
