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

ilpanich / axiam-java-sdk / 31832104760
93%

Build:
DEFAULT BRANCH: main
Ran 14 Aug 2026 07:12PM 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

14 Aug 2026 07:10PM UTC coverage: 91.23% (-0.09%) from 91.316%
31832104760

push

github

web-flow
Contract 1.15 — §10.1 rule 9, sender-constrained access tokens (#47)

* feat: contract 1.15 — §10.1 rule 9, sender-constrained access tokens

A token carrying `cnf` is not a bearer token and MUST NOT be accepted as one
(RFC 8705 §3 / RFC 7800).

  JwksVerifier.verifySenderConstrained()      the guard entry point
  JwksVerifier.verifyCertificateBinding()     the rule, standalone
  JwksVerifier.certificateThumbprintS256()    RFC 8705 §3.1

The two cases that are easy to get wrong:

  - An UNBOUND token is still accepted with or without a certificate. Rule 9
    constrains tokens that claim a constraint; it does not make certificates
    mandatory. Asserted directly — the likeliest wrong implementation is one
    that starts demanding certificates from every caller.
  - A `cnf` naming a method this SDK cannot check is REFUSED, never read as
    unconstrained. Read the other way, a sender-constrained token silently
    degrades to a bearer token the day a newer AXIAM issues a confirmation
    this SDK predates.

verifyAccessToken deliberately does not apply rule 9 — it has no transport to
ask for a peer certificate — and a test asserts the split so it cannot be
collapsed by accident. Under a servlet container the thumbprint comes from
jakarta.servlet.request.X509Certificate; never from a caller-settable header,
which would make the mechanism decorative.

Comparison uses MessageDigest.isEqual. The thumbprint is usually public, so
this is defence in depth; it matters most for a self-signed client, where the
registered thumbprint is the whole credential.

Full `mvn test` green, including the jacoco coverage gate.

Vendored CONTRACT.md and openapi.json re-synced to 1.15.

* fix(javadoc): restore verifySignatureOnlyUnchecked's doc comment, complete rule 9's tags

Two problems, and the first is the serious one.

**I stole another method's documentation.** The rule-9 methods were inserted
using `public JWTClaimsSet verifySignatureOnlyUnchecked(` as the anchor, w... (continued)

852 of 1008 branches covered (84.52%)

Branch coverage included in aggregate %.

2175 of 2310 relevant lines covered (94.16%)

4.3 hits per line

Coverage Regressions

Lines Coverage ∆ File
19
90.04
-1.12% io/axiam/sdk/internal/JwksVerifier.java
Jobs
ID Job ID Ran Files Coverage
1 31832104760.1 14 Aug 2026 07:12PM UTC 60
91.23
GitHub Action Run
Source Files on build 31832104760
  • 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 #31832104760
  • 0841acd0 on github
  • Prev Build on main (#31800538089)
  • Next Build on main (#31874414229)
  • 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