Registry / auth / spring-security-jwt

spring-security-jwt

JSON →
library1.1.1.RELEASEjavamavenunverified

A small utility library for encoding and decoding JSON Web Tokens (JWT) as part of Spring Security crypto support.

<dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-jwt</artifactId> <version>1.1.1.RELEASE</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-SECURITY-JW
S
spring-security-jwt
authjavav1.1.1.RELEASE
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JwtHelper
org.springframework.security.jwt.JwtHelper

Encode a JWT token using RSA signing.

import org.springframework.security.jwt.JwtHelper; import org.springframework.security.jwt.crypto.sign.RsaSigner; RsaSigner signer = new RsaSigner(privateKey); String token = JwtHelper.encode("{\"sub\":\"user\"}", signer).getEncoded();
Debug
Known issues
breakingThis library is deprecated in favor of Spring Security's built-in OAuth2 resource server support.
fix
Use spring-security-oauth2-resource-server and nimbus-jose-jwt for JWT handling.
affects: >=1.1.1.RELEASE
Upgrade
Version history
1.1.1.RELEASElatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Resources
spring-security-jwt — mvn dependency:get spring-security-jwt · libregistry