Class MSEntraAccessTokenJWSVerifier
java.lang.Object
org.apache.syncope.core.spring.security.jws.MSEntraAccessTokenJWSVerifier
- All Implemented Interfaces:
com.nimbusds.jose.jca.JCAAware<com.nimbusds.jose.jca.JCAContext>
,com.nimbusds.jose.JOSEProvider
,com.nimbusds.jose.JWSProvider
,com.nimbusds.jose.JWSVerifier
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Logger
protected static final JsonMapper
protected final javax.cache.Cache
<String, com.nimbusds.jose.JWSVerifier> -
Constructor Summary
ConstructorDescriptionMSEntraAccessTokenJWSVerifier
(javax.cache.CacheManager cacheManager, javax.cache.integration.CacheLoader<String, com.nimbusds.jose.JWSVerifier> cacheLoader, javax.cache.expiry.Duration cacheExpireAfterWrite) -
Method Summary
-
Field Details
-
LOG
-
MAPPER
-
verifiersCache
-
-
Constructor Details
-
MSEntraAccessTokenJWSVerifier
public MSEntraAccessTokenJWSVerifier(javax.cache.CacheManager cacheManager, javax.cache.integration.CacheLoader<String, com.nimbusds.jose.JWSVerifier> cacheLoader, javax.cache.expiry.Duration cacheExpireAfterWrite)
-
-
Method Details
-
getAllFromCache
-
supportedJWSAlgorithms
- Specified by:
supportedJWSAlgorithms
in interfacecom.nimbusds.jose.JWSProvider
-
getJCAContext
public com.nimbusds.jose.jca.JCAContext getJCAContext()- Specified by:
getJCAContext
in interfacecom.nimbusds.jose.jca.JCAAware<com.nimbusds.jose.jca.JCAContext>
-
verify
public boolean verify(com.nimbusds.jose.JWSHeader header, byte[] signingInput, com.nimbusds.jose.util.Base64URL signature) throws com.nimbusds.jose.JOSEException - Specified by:
verify
in interfacecom.nimbusds.jose.JWSVerifier
- Throws:
com.nimbusds.jose.JOSEException
-