clarus-proxy / proxy

The proxy component
Other
2 stars 3 forks source link

Clarus Proxy

Build Status

The proxy component

Pre Requisites

Installation

Install API & Model

git clone https://github.com/clarus-proxy/dataoperations-api.git
cd dataoperations-api
mvn install
cd -
git clone https://github.com/clarus-proxy/security-policy-model.git
cd security-policy-model
mvn install
cd -
git clone https://github.com/clarus-proxy/JSqlParser.git
cd JSqlParser
mvn install
cd -

Install and compile the Data Operation Modules

git clone https://github.com/clarus-proxy/anonymization-module.git
cd anonymization-module/
mvn install
cd -
git clone https://github.com/clarus-proxy/paillier.git
cd paillier
mvn install
cd -
git clone https://github.com/clarus-proxy/homomorphicencryption-module.git
cd homomorphicencryption-module
mvn install
cd -
git clone https://github.com/clarus-proxy/encryption-module.git
cd encryption-module
mvn install
cd -
git clone https://github.com/clarus-proxy/splitting-module.git
cd splitting-module
mvn install
cd -
git clone https://github.com/clarus-proxy/searchableencryption-module.git
cd searchableencryption-module/SE_module
mvn install
cd -

Compile & Build the Proxy

git clone https://github.com/clarus-proxy/proxy.git
cd proxy
mvn install

Get a test policy and launch the proxy !

Linux systems

cd install
cp ../main/src/test/resources/patient_anonymisation.xml test.xml
java -Djava.ext.dirs=./ext-libs/ -jar ./libs/proxy-main-1.0.1.jar -sp test.xml 127.0.0.1

Windows systems

cd install
copy ..\main\src\test\resources\patient_anonymisation.xml test.xml
java -Djava.ext.dirs=.\ext-libs\ -jar .\libs\proxy-main-1.0.1.jar -sp test.xml 127.0.0.1

License

All the data protection modules are being licensed under the Apache 2.0 License. The protocol module is available under the EUPL v1.2 license.