Fine-Grained XACML
Authorization with PIP points
WSO2 Identity Server 4.5.0
Use Case
• User ‘john’ trying to get READ access by using
his user id.
• Authorization should be given by validating
the user id against user name, requesting use
name information via PIP point.
• PIP requesting information from a web
service.
PIP
JAX-RS Service
PEP
PDP
Entitlement Service
SoapUI
PAP
Use Case Diagram
XACML policy information
• User – john
• Action – READ
• Resource – web service name
SoapUI Request information
• User Id – 124
• Action – Read
• Resource – web service name
Implementation Steps
• Implement the JAX-RS Service and host it in
Application Server
– Refer Blogs
• http://umeshagunasinghe.blogspot.com/2013/09/how-to-
create-jax-rs-service-using-wso2.html
• http://umeshagunasinghe.blogspot.com/2013/09/how-to-
deploy-jax-rs-service-in-wso2.html
• Writing the PIP
– Refer Blog
• http://umeshagunasinghe.blogspot.com/2013/10/how-to-
write-pip-point-for-wso2-is.html
Implementation Steps
• Registering the PIP in Identity Server
– Refer Blog
• http://umeshagunasinghe.blogspot.com/2013/10/how-
to-register-pip-in-wso2-is.html
• Writing the XACML Policy
– Refer Blog
• http://umeshagunasinghe.blogspot.com/2013/10/how-
to-write-simple-xacml-policy-in.html
Implementation Steps
• Enforcing the Policy
– Refer Blogs
• http://umeshagunasinghe.blogspot.com/2013/10/how-
to-use-try-it-tool-in-wso2-is.html
• http://umeshagunasinghe.blogspot.com/2013/10/how-
to-expose-entitlement-service-in.html
Thank You!

Fine grained xacml authorization with pip points

  • 1.
    Fine-Grained XACML Authorization withPIP points WSO2 Identity Server 4.5.0
  • 2.
    Use Case • User‘john’ trying to get READ access by using his user id. • Authorization should be given by validating the user id against user name, requesting use name information via PIP point. • PIP requesting information from a web service.
  • 3.
  • 4.
    XACML policy information •User – john • Action – READ • Resource – web service name
  • 5.
    SoapUI Request information •User Id – 124 • Action – Read • Resource – web service name
  • 6.
    Implementation Steps • Implementthe JAX-RS Service and host it in Application Server – Refer Blogs • http://umeshagunasinghe.blogspot.com/2013/09/how-to- create-jax-rs-service-using-wso2.html • http://umeshagunasinghe.blogspot.com/2013/09/how-to- deploy-jax-rs-service-in-wso2.html • Writing the PIP – Refer Blog • http://umeshagunasinghe.blogspot.com/2013/10/how-to- write-pip-point-for-wso2-is.html
  • 7.
    Implementation Steps • Registeringthe PIP in Identity Server – Refer Blog • http://umeshagunasinghe.blogspot.com/2013/10/how- to-register-pip-in-wso2-is.html • Writing the XACML Policy – Refer Blog • http://umeshagunasinghe.blogspot.com/2013/10/how- to-write-simple-xacml-policy-in.html
  • 8.
    Implementation Steps • Enforcingthe Policy – Refer Blogs • http://umeshagunasinghe.blogspot.com/2013/10/how- to-use-try-it-tool-in-wso2-is.html • http://umeshagunasinghe.blogspot.com/2013/10/how- to-expose-entitlement-service-in.html
  • 9.