• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ilpanich / axiam-java-sdk / 31609803320
93%

Build:
DEFAULT BRANCH: main
Ran 12 Aug 2026 03:00PM UTC
Jobs 1
Files 60
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Aug 2026 02:59PM UTC coverage: 91.239% (+0.09%) from 91.153%
31609803320

push

github

web-flow
feat(spring): §20.3 — emit a UMA challenge from the §11 interceptor (#42)

A denial answered with a bare 403 tells a caller nothing it can act on. With
a UmaChallenger, AxiamAuthorizationInterceptor mints a permission ticket for
the action that was just refused and returns it as WWW-Authenticate: UMA, so
a UMA-aware client knows where to go for authority.

Two properties are load-bearing rather than stylistic, and both are tested by
counting Protection API requests:

- Opt-in. Emitting a challenge means minting a credential. An interceptor
  that did so on every denial by default would turn each unauthorized
  request into a Protection API call — a denial-of-service amplifier aimed
  at your own authorization server. An allow mints nothing at all.
- Failure is not escalation. An expired PAT or an unreachable Protection API
  still yields the plain 403: never a 500, and never an allow. The caller
  was going to be refused either way.

The requested scope is the AXIAM action, so the ticket asks for exactly the
authority that was refused and the engine's deny rules keep applying to
whatever RPT comes back.

Adds the examples/uma-resource-server + examples/uma-client pair covering both
halves, including the trust decision §20.3 keeps in the caller's hands: the
client compares the nominated as_uri against the issuer it already trusts and
refuses rather than auto-redeeming against whatever host a 403 named. Neither
example echoes the ticket, the challenge, or any client-derived value.


Claude-Session: https://claude.ai/code/session_015P5QahkVjqoBqz83H2Gqvc

Co-authored-by: Claude <noreply@anthropic.com>

837 of 990 branches covered (84.55%)

Branch coverage included in aggregate %.

2152 of 2286 relevant lines covered (94.14%)

4.3 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
94.48
0.93% io/axiam/sdk/spring/AxiamAuthorizationInterceptor.java
Jobs
ID Job ID Ran Files Coverage
1 31609803320.1 12 Aug 2026 03:00PM UTC 60
91.24
GitHub Action Run
Source Files on build 31609803320
  • Tree
  • List 60
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31609803320
  • 7caae01e on github
  • Prev Build on main (#31588418300)
  • Next Build on main (#31745284315)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc