MACOW Ξ Mandatory Access Control on Open Worlds

PIP Server Description

This distribution contains a PIP server used on MACOW architecture. This entity is in charge of maintaining the current state of all the controlled elements involved on the access control. The distribution has the following files inside:

(1) \PIPServer.jar
(2) \EventManagerConfig.xml
(3) \PIPConfig.xml
(4) \libs

(1) It is the PIPServer executable file. In order to run this server, developer just should press double click on that file or execute on cmd line

“java –jar PIPServer.jar”

(2) PIP Server receives knowledge from publication/subscription broker. Then, the communication PIP-Event Manager can be configured on this file. So, this is the meaning of all the parameters.

ParameterDefault ValueDescription
HTTP_PORT7878This is the port that will be open on the server in order to receive notifications from Event Manager
URL_EVENT_MANAGERhttp://127.0.0.1:8080/EventManager/servlet/rpcrouterThis parameter should point to the URL in which Event Manager has been deployed. (By default it is configured on localhost). Bold letters must be changed on production scenarios
URL_MYSELFhttp://127.0.0.1:7878/servlet/rpcrouter This parameter represents the URL of the PDP Server. (By default it is configured on localhost). Bold letters must be changed on production scenarios
LIB_FOLDER.\libs\ws-client\ Notice that this parameters point to the libraries folder provided on the distribution. In case developer want to change the path. He have to adapt this parameter to the new one.
APPLICATION_WAR.\libs\ws-client\em-receiver.jarNotice that this parameters point to the libraries folder provided on the distribution. In case developer want to change the path. He have to adapt this parameter to the new one.
There are more parameters but it should not be changed in order to get a correct behaviour on the server.

(3) PIP Server is a web service. For this reason there are some parameters regarding this technology that can be configured on this PIPConfig.xml file

Parameter Default Value Description
PIP_EVENT_MANAGER_FILE_CONFIG_PATH EventManagerConfig.xml This is the path to the Config file previously exposed in (2)
PIP_URL_SERVICENAME PIPService Fixed.
PIP_URL_IP localhost This is useful in case the server has more that one IPs. This parameter will specify the IP in which the Service will be accessible. By default localhost.
PIP_URL_PORT 9000 This is the port in which PIP Server will be available.
(4) \libs\ contains all the library dependences used by PIP server.