public class StandardJwsSignerProvider extends Object implements JwsSignerProvider, SignerListener
| Modifier and Type | Field and Description |
|---|---|
private AtomicReference<JwsSignerContainer> |
currentSigner |
private static org.slf4j.Logger |
LOGGER |
private SigningKeyListener |
signingKeyListener |
| Constructor and Description |
|---|
StandardJwsSignerProvider(SigningKeyListener signingKeyListener) |
| Modifier and Type | Method and Description |
|---|---|
JwsSignerContainer |
getJwsSignerContainer(Instant expiration)
Get Current JWS Signer Container and update expiration
|
void |
onSignerUpdated(JwsSignerContainer jwsSignerContainer)
On Signer Updated changes the current JWS Signer
|
private static final org.slf4j.Logger LOGGER
private final AtomicReference<JwsSignerContainer> currentSigner
private final SigningKeyListener signingKeyListener
public StandardJwsSignerProvider(SigningKeyListener signingKeyListener)
public JwsSignerContainer getJwsSignerContainer(Instant expiration)
getJwsSignerContainer in interface JwsSignerProviderexpiration - New JSON Web Token Expiration to be set for the returned Signing Keypublic void onSignerUpdated(JwsSignerContainer jwsSignerContainer)
onSignerUpdated in interface SignerListenerjwsSignerContainer - JWS Signer ContainerCopyright © 2023 Apache NiFi Project. All rights reserved.