Extension Points defined in JWT for Blue Ocean Plugin
JwtAuthenticationService
jenkinsdoc:blueocean-jwt:io.jenkins.blueocean.auth.jwt.JwtAuthenticationService]
JWT endpoint resource. Provides functionality to get JWT token and also provides JWK endpoint to get public key using keyId.
Implementations:
-
JWT for Blue Ocean Plugin: io.
jenkins. blueocean. auth. jwt. impl. JwtAuthenticationServiceImpl (view on GitHub)
JwtAuthenticationStoreFactory
jenkinsdoc:blueocean-jwt:io.jenkins.blueocean.auth.jwt.JwtAuthenticationStoreFactory]
An authentication provider implements this extension point to store enough information in JWT claim so that later on when the token verification happens, using this same claims this authentication object can be re-created.
Implementations:
-
JWT for Blue Ocean Plugin: io.
jenkins. blueocean. auth. jwt. impl. SimpleJwtAuthenticationStore (view on GitHub)
JwtSigningKeyProvider
jenkinsdoc:blueocean-jwt:io.jenkins.blueocean.auth.jwt.JwtSigningKeyProvider]
PublicKey provider, to be used during signing
Implementations:
-
JWT for Blue Ocean Plugin: io.
jenkins. blueocean. auth. jwt. impl. SigningKeyProviderImpl (view on GitHub)
JwtTokenDecorator
jenkinsdoc:blueocean-jwt:io.jenkins.blueocean.auth.jwt.JwtTokenDecorator]
Participates in the creation of JwtToken
Implementations:
(no known implementations)
JwtTokenServiceEndpoint
jenkinsdoc:blueocean-jwt:io.jenkins.blueocean.auth.jwt.JwtTokenServiceEndpoint]
This extension point serves the JWT token service endpoint
Implementations:
-
REST Implementation for Blue Ocean Plugin: io.
jenkins. blueocean. service. embedded. JwtTokenServiceEndpointImpl (view on GitHub)
JwtTokenVerifier
jenkinsdoc:blueocean-jwt:io.jenkins.blueocean.auth.jwt.JwtTokenVerifier]
If an incoming HTTP request contains JWT token, pick that up, verifies the integrity, then convert that into jenkinsdoc:JwtAuthentication] so that the rest of Jenkins can process this request with proper identity of the caller.
Implementations:
-
JWT for Blue Ocean Plugin: io.
jenkins. blueocean. auth. jwt. impl. JwtTokenVerifierImpl (view on GitHub)