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

public class MSEntraAccessTokenJWSVerifier extends Object implements com.nimbusds.jose.JWSVerifier
  • Field Details

    • LOG

      protected static final Logger LOG
    • MAPPER

      protected static final JsonMapper MAPPER
    • verifiersCache

      protected final javax.cache.Cache<String,com.nimbusds.jose.JWSVerifier> 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

      protected Stream<com.nimbusds.jose.JWSVerifier> getAllFromCache()
    • supportedJWSAlgorithms

      public Set<com.nimbusds.jose.JWSAlgorithm> supportedJWSAlgorithms()
      Specified by:
      supportedJWSAlgorithms in interface com.nimbusds.jose.JWSProvider
    • getJCAContext

      public com.nimbusds.jose.jca.JCAContext getJCAContext()
      Specified by:
      getJCAContext in interface com.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 interface com.nimbusds.jose.JWSVerifier
      Throws:
      com.nimbusds.jose.JOSEException