Skip to content

This demo demonstrates problem in WSO2 PDP API (cache?)

Notifications You must be signed in to change notification settings

welkson/WSO2-PDP-CacheTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WSO2-PDP-CacheTest

This demo demonstrates problem in WSO2 PDP API (cache?).

Environment

  • Linux Mint x64

  • WSO2 5.4.0-alpha2 (also tested with WSO IS 5.3)

  • Java 1.8.0_03 (OpenJDK)

  • Python 2.7

  • Python packages (in requirements.txt)

  • PIP 9.0.1 [1]

  • Enable Admin ServicesWSDL [2]

References:

[1] https://pip.pypa.io/en/stable/installing/

[2] https://docs.wso2.com/display/IS540/Entitlement+using+SOAP+Service

Install dependencies

pip install -U -r requirements.txt

Tests

  • Start WSO2 IS
~/wso2is-5.4.0-alpha2/bin/wso2server.sh --start
  • Open WSO2 Carbon web interface

  • Delete all Policies in PAP (Carbon web interface)

  • Delete all Policies in PDP

  • Execute wso2_test.py

python wso2_test.py

Policy is created in PAP/PDP, and tests with PDP is sucessfull (first test is PERMIT and second test is DENY)

  • In Carbon Delete all Policies in PAP and PDP

  • Repeat python tests

All tests result DENY (broken)

Workaround

About

This demo demonstrates problem in WSO2 PDP API (cache?)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages