Designing Your Java Policy Enforcement Point (PEP)

In this image, the green boxes, centered vertically, are included in the PEP

Custom Library

Jersey Filter Chain

Custom Annotations

Putting It All Together

Wrapping it up

Further Reading

  1. I’ve written several blog posts giving more background on authorization more generally in this one about Attribute-Based Access Control and this one about our authorization investigation at Split
  2. More information about writing your own Jersey filter (and the filter chain in general).
  3. This is a good resource for more about writing custom annotations in Java.




Principal Software Engineer & ultra runner @SplitSoftware

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

7 Must-Know Websites To Boost Your Frontends

7 utility websites

Are you Scrum ready?

Prota “Charles”: the new version of Prota

Database Storage Engine Internals Summary

Installing a Python Virtual Environment (Part I)

Linode Ubuntu Desktop Setup| Linode Ubuntu GUI Step By Step

How to Make Mondrian Art in Haskell

A Practical Guide to Configuration Management in Drupal 8

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Joy Ebertz

Joy Ebertz

Principal Software Engineer & ultra runner @SplitSoftware

More from Medium

Consistent Hashing: Simply Explained

Guesstimating Scalability Numbers

Stop The World GC Pauses In Latency Sensitive Distributed Systems

All things microservices (Part I)