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

spiffe / java-spiffe / 43637501115
89%
master: 98%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 14 Nov 2026 08:27PM UTC
Jobs 1
Files 51
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 Nov 2026 08:26PM UTC coverage: 88.564%. Remained the same
43637501115

push

github

maxlambrecht
docs(provider): document SpiffeProvider.install() and provider class loading

Registering the provider with a `security.provider.<n>` entry only works
when io.spiffe.provider.SpiffeProvider is visible to the system class
loader: the JDK loads the providers declared in the security properties
with it and silently skips any provider it cannot load. When the
java-spiffe-provider jar is packaged inside an application archive, such
as a Spring Boot executable jar (BOOT-INF/lib) or a WAR (WEB-INF/lib),
the provider is never registered and requesting the Spiffe KeyStore
fails with "KeyStoreException: Spiffe not found", as reported in #80.

The provider README now:

- explains this class loading requirement, the resulting error, and how
  to confirm it with -Djava.security.debug=jca;
- documents SpiffeProvider.install(), which registers the provider at
  runtime from the application's own class loader, when to call it, and
  that the ssl.* properties are still read;
- notes that the provider number must follow the last provider in the
  master file, since the JDK stops reading providers at the first gap;
- lists programmatic installation as an alternative prerequisite for the
  Tomcat connector and gRPC examples.

The SpiffeProvider Javadoc gets the same class loading note and a fuller
install() description, and fixes its examples: the provider class is
io.spiffe.provider.SpiffeProvider, not io.spiffe.SpiffeProvider, the
-Dssl.spiffe.accept example repeated the property name in its value, and
the ssl.spiffe.accept example ended with a stray comma.

Signed-off-by: NopeCharon <115794254+NopeCharon@users.noreply.github.com>

534 of 677 branches covered (78.88%)

Branch coverage included in aggregate %.

1952 of 2130 relevant lines covered (91.64%)

3.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43637501115.1 14 Nov 2026 08:27PM UTC 51
88.56
GitHub Action Run
Source Files on build 43637501115
  • Tree
  • List 51
  • 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 #43637501115
  • ea787ebd on github
  • Prev Build on main (#43637100297)
  • Next Build on main (#43639240843)
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