Class HmacJwtGenerator
java.lang.Object
org.frankframework.management.security.AbstractJwtGenerator<com.nimbusds.jose.jwk.OctetSequenceKey>
org.frankframework.management.security.HmacJwtGenerator
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
-
Field Summary
Fields inherited from class AbstractJwtGenerator
jwtHeader, publicJwk -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractJwtGenerator
afterPropertiesSet, createJWT, createJWT, getPrincipalNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
-
Constructor Details
-
HmacJwtGenerator
public HmacJwtGenerator() -
HmacJwtGenerator
public HmacJwtGenerator(byte @Nullable [] secret)
-
-
Method Details
-
getJwk
protected com.nimbusds.jose.jwk.OctetSequenceKey getJwk() throws com.nimbusds.jose.JOSEException- Specified by:
getJwkin classAbstractJwtGenerator<com.nimbusds.jose.jwk.OctetSequenceKey>- Throws:
com.nimbusds.jose.JOSEException
-
getSigner
protected com.nimbusds.jose.JWSSigner getSigner(com.nimbusds.jose.jwk.OctetSequenceKey key) throws com.nimbusds.jose.JOSEException - Specified by:
getSignerin classAbstractJwtGenerator<com.nimbusds.jose.jwk.OctetSequenceKey>- Throws:
com.nimbusds.jose.JOSEException
-