Skip to content

UMA Made Easy - This small library aims to deliver a nice approach to the complicated UMA flow for ResourceServers. Its objective is to make UMA as easy as RBAC for java applications.

License

Notifications You must be signed in to change notification settings

klenkes74/umame

UMAME - User Managed Access Made Easy

What man is a man who does not make the world better.

-- Balian, Kingdom of Heaven

Abstract

RBAC is easy setup in Java applications on server side. There is the standardised annotation driven approach with the annotations @RolesAllowed, ...

But OIDC UMA needs dynamic data and I never found an abstraction library. So this is my view how to handle this.

License

The license for the software is LGPL 3.0 or newer.

Architecture

tl;dr (ok, only the bullshit bingo words):

  • Immutable Objects
  • Relying heavily on generated code
  • 100 % test coverage of human generated code
  • Every line of code not written is bug free!

Code test coverage for human generated code should be 100%, machinge generated code is considered bugfree until proven wrong. But every line that needs not be written is a bug free line without need to test it. So aim for not writing code.

A note from the author

I'm working on another project that can be found on github (KP Office). And while developing that piece of software I ran on the blocker not being able to nicely handle OIDC UMA. I looked around and found no library to abstract away UMA from my code. So I decided to write one.

If someone is interested in getting it faster, we may team up. I'm open for that. But be warned: I want to do it right. So no short cuts to get faster. And be prepared for some basic discussions about the architecture or software design :-).


Erfurt, 2020-02-04-17:32Z

About

UMA Made Easy - This small library aims to deliver a nice approach to the complicated UMA flow for ResourceServers. Its objective is to make UMA as easy as RBAC for java applications.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published