1 / 17

Argus PEP Client API (Java)

Argus PEP Client API (Java). Valery Tschopp (SWITCH) valery.tschopp@switch.ch. Outline. Argus Argus Services (PAP, …) Authorization Policies Argus PEP Client API XACML Object Model Authorization Decision Simple Java Example Demo. Argus. A generic authorization system

locke
Download Presentation

Argus PEP Client API (Java)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ArgusPEP Client API (Java) Valery Tschopp (SWITCH) valery.tschopp@switch.ch

  2. Outline • Argus • Argus Services (PAP, …) • Authorization Policies • Argus PEP Client API • XACML Object Model • Authorization Decision • Simple Java Example Demo Argus PEP Client API, EGI Community Forum 2012, München

  3. Argus • A generic authorization system • Built on top of a XACML policy engine • Renders consistent authorization decisions based on XACML policies Argus PEP Client API, EGI Community Forum 2012, München

  4. Argus Components • Argus PAP: Policy Administration Point • Provides administrators with the tools to author policies (pap-admin) • Stores and manages authored XACML policies • Provides managed authorization policies to other authorization service components (other PAPs or PDP) Argus PEP Client API, EGI Community Forum 2012, München

  5. Argus Components (cont.) • Argus PDP: Policy Decision Point • Policy evaluation engine • Receives authorization requests from the PEP • Evaluates the authorization requests against the XACML policies retrieved from the PAP • Renders the authorization decision Argus PEP Client API, EGI Community Forum 2012, München

  6. Argus Components (cont.) • Argus PEP: Policy Execution Point • Client/Server architecture • Lightweight PEP client libraries (C and Java) • PEP Server receives the authorization requests from the PEP clients • Transforms lightweight internal request into XACML • Applies a configurable set of filters (PIPs) to the incoming requests • Asks the PDP to render an authorization decision • If requested by the policy, applies the obligation handler (OH) to determine the user mapping Argus PEP Client API, EGI Community Forum 2012, München

  7. Authorization Policies Argus is designed to answer the question: Can user X perform action Y on resource Z ? • Argus policies contain rules that state which actions can be performed on which resources by which users. • Argus uses XACML v.2 as the policy language. • However, XACML is hard to read and write, so we developed a Simplified Policy Language (SPL) Argus PEP Client API, EGI Community Forum 2012, München

  8. Authorization Examples • Can user X… • execute on this worker node (WN) ? • submit a job to this CREAM CE ? • access this storage area ? • submit a job to this WMS instance ? • User X is banned ! • Is not allowed to do anything on any resource! Argus PEP Client API, EGI Community Forum 2012, München

  9. Policies for the Demo The Argus PAP is loaded with the following SPL authorization policies: # glite Example (Decision, and user mapping) resource "test-glite" { obligation "http://glite.org/xacml/obligation/local-environment-map" {} action "test" { rule permit { vo=“dteam" } } } # EMI Example (Decision only, NO USER MAPPPING) resource "test-emi" { action "test" { rule permit { subject="CN=Valery Tschopp,O=SWITCH,C=ch" } } } Argus PEP Client API, EGI Community Forum 2012, München

  10. Argus PEP Client • Argus PEP Client API • Communicate with the Argus PEP Server • HTTPS connection with client authentication • XACML handled as an object model • Create authorization request and submit it • Parse the authorization response • Enforce the decision locally Argus PEP Client API, EGI Community Forum 2012, München

  11. Argus PEP Client API • XACML Object Model Argus PEP Client API, EGI Community Forum 2012, München

  12. Argus PEP Client API (cont.) • XACML Profiles • Define the XACML attribute identifiers, datatypes, and their semantic • gLite XACML Profile for CEhttps://edms.cern.ch/document/1078881 • gLite XACML Profile for WNhttps://edms.cern.ch/document/1058175 • EMI Common XACML Authorization Profilehttps://twiki.cern.ch/twiki/bin/view/EMI/CommonXACMLProfileV1_1 Argus PEP Client API, EGI Community Forum 2012, München

  13. Authorization Decision Processing • If the decision is Permit, then the PEP client SHALL permit access. If obligations accompany the decision, then the PEP client SHALL permit access only if it understands and it can and will enforce those obligations. • If the decision is Deny, then the PEP client SHALL deny access. • If the decision is NotApplicable, meaning that no policy apply, then the PEP client SHALL deny access. • If the decision is Inderterminate, then the PEP client SHALL deny access. The decision status message and status code should be used to produce an error message. Argus PEP Client API, EGI Community Forum 2012, München

  14. Simple Argus Java PEP Client Demo Time ^_^ Argus PEP Client API, EGI Community Forum 2012, München

  15. Documentation • General documentation https://twiki.cern.ch/twiki/bin/view/EGEE/AuthorizationFramework • PAP admin Tool https://twiki.cern.ch/twiki/bin/view/EGEE/AuthZPAPCLI • Argus Policy Management Tutorialhttp://bit.ly/argus-policies • Argus PEP client API for Javahttps://twiki.cern.ch/twiki/bin/view/EGEE/AuthZPEPJavaAPI Argus PEP Client API, EGI Community Forum 2012, München

  16. Support • The documentation is your friend ;-) • Support mailing list (e-group): argus-support@cern.ch • GGUS Tickets (ARGUS Support Unit) https://ggus.eu Argus PEP Client API, EGI Community Forum 2012, München

  17. Thank you EMI is partially funded by the European Commission under Grant Agreement INFSO-RI-261611 Argus PEP Client API, EGI Community Forum 2012, München

More Related