Class MSEntraJWSVerifierCacheLoader
java.lang.Object
org.apache.syncope.core.spring.security.jws.MSEntraJWSVerifierCacheLoader
- All Implemented Interfaces:
javax.cache.integration.CacheLoader<String,
com.nimbusds.jose.JWSVerifier>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
extractJwksUri
(String openIdMetadataDocument) protected String
fetchDocument
(String url) protected String
com.nimbusds.jose.JWSVerifier
parseJsonWebKeySet
(String jsonWebKeySet)
-
Field Details
-
LOG
-
MAPPER
-
tenantId
-
appId
-
-
Constructor Details
-
MSEntraJWSVerifierCacheLoader
-
-
Method Details
-
getOpenIDMetadataDocumentUrl
-
extractJwksUri
-
fetchDocument
-
parseJsonWebKeySet
-
load
public com.nimbusds.jose.JWSVerifier load(String key) throws javax.cache.integration.CacheLoaderException - Specified by:
load
in interfacejavax.cache.integration.CacheLoader<String,
com.nimbusds.jose.JWSVerifier> - Throws:
javax.cache.integration.CacheLoaderException
-
loadAll
public Map<String,com.nimbusds.jose.JWSVerifier> loadAll(Iterable<? extends String> keys) throws javax.cache.integration.CacheLoaderException - Specified by:
loadAll
in interfacejavax.cache.integration.CacheLoader<String,
com.nimbusds.jose.JWSVerifier> - Throws:
javax.cache.integration.CacheLoaderException
-