Skip to content
Flag of Europe
Made in the European Union · Independently built · Released under EUPL 1.2

Why jSentinel?

A framework-neutral, evidence-driven security library for the JVM — small enough to read, strict enough to trust. Authentication, authorization, audit, brute-force, sessions, multi-tenancy, method security and a Policy API behind one annotation set for plain Java, REST and Vaadin — no Spring or Jakarta required, nothing extra to deploy.

How it compares

An honest look at fit — not a scoreboard. Spring Security and Keycloak are mature projects with full OIDC/OAuth2 today, areas where jSentinel is still on the roadmap.

DimensionjSentinel for JavaSpring SecurityKeycloak / IdPHand-rolled
Runs aslibrary, in-processlibrary (Spring)separate server you operateyour code
Framework couplingnone (no Spring/Jakarta)Springprotocol-couplednone
Plain Java / REST / Vaadin✓ one annotation setSpring-centricvia tokensDIY
Footprintsmall; zero 3rd-party in corelargeservice + inframinimal, you own it
Authn / Authzpluggable SPI + Policy APIextensiveIdP-managedDIY
Audit · brute-force · session · tenancybuilt-in SPIspartial / add-onspartly (IdP side)DIY
Method security@Secured + runtime proxy@PreAuthorize (AOP)n/aDIY
Persistencestore-agnostic SPIs + Eclipse Store refyour stackits own DBDIY
Test rigormutation-tested 87–97 %maturematurevaries
Standards mappingpublished ASVS / NIST / 40-CWEprotocol standards
Supply chainCycloneDX SBOM, reproducible
OIDC / OAuth2 / SAML todayroadmap 00.76–00.79✓ (core strength)DIY
LicenseEUPL 1.2Apache 2.0Apache 2.0yours
Operate a server?nonoyesno

Is it the right fit?

✓ A great fit when

  • You’re on Vaadin, a JDK REST server, or plain Java and don’t want Spring just for security.
  • You want one consistent security model across UI, API and background services.
  • You value small, auditable, evidence-backed dependencies (mutation tests, SBOM, standards mapping).
  • You want no extra server to run — security lives in your app.
  • EU-made / EUPL and supply-chain transparency matter to you.

Look elsewhere (for now) when

  • You need full OIDC / OAuth2 / SAML today — use Keycloak or Spring Security; jSentinel’s identity stack is planned for 00.76–00.79.
  • Your stack is deeply Spring and Spring Security already fits.
  • You need a central IdP / SSO server for many apps — pair an IdP with jSentinel on the app side.
Convinced? Start with Quick Start or the jSentinel for Java overview. Need a hand? Talk to us about integration or a security review.