CYBR3600

This repo contains a digitized version of the course content for CYBR3600 (Information Security Policy) at the University of Nebraska at Omaha.

This project is maintained by MLHale

XACML Exercise

Introduction

This exercise is to explore and practice using XACML in-class and as homework.

Due Date

Friday November 30th (11:59 PM)

What is Due?

You should install Wso2 Identity Management Server and play around with XACML. For each exercise below, take screenshots to demonstrate that you have completed each of the steps below. You must submit the required screenshots to Canvas for full points.

Exercise 1 - Installing and running Wso2 Identity and Access Management server

You have several options available. I prefer using docker, but you may install the app natively.

If you want to use Docker, this is really easy (beware Windows users you can only use Docker community edition with Hyper-v):

docker pull isim/wso2is
docker run --rm --name your_container_name -p 9443:9443 isim/wso2is

If you don’t want to use Docker or you just want to install the app natively, visit https://docs.wso2.com/display/IS530/Installation+Guide and follow the installation instructions for your preferred operating system

Once the app is running visit https://localhost:9443 The default username/password is admin/admin

Take a screenshot to show that you have the app running

Exercise 2 - Exploring the User interface and Learning about XACML

The goal of this exercise is to actually learn how XACML works in the real world and explore the Wso2 tool.

Visit https://docs.wso2.com/display/IS530/Access+Control and read through the documentation. Once you have a basic idea how XACML works in Wso2 visit https://docs.wso2.com/display/IS530/Identity+Server+as+an+XACML+Engine You will be working with the policy creator and ‘tryit’ functionality.

Visit the PAP on your server by logging in and clicking PAP. Once there, click Add Entitlement Policy -> Write Policy in XML

Take a screenshot of the interface you see.

Exercise 3 - Writing and testing policies

In this part, you will actually write some policies and test them out. Visit: https://docs.wso2.com/display/IS530/Writing+XACML2.0+Policies+in+WSO2+Identity+Server

Exercise 4 - Write a request for one of the other policies (policy 4,5,6, or 7)

Write a request yourself to see what results you get. Try to get the desired behavior specified by the policy. Copy the request text (XML) into canvas and take a screenshot of the result of evaluating your request.