Class OidcIdTokenSigningAndEncryptionService

  • All Implemented Interfaces:
    org.apereo.cas.ticket.IdTokenSigningAndEncryptionService

    public class OidcIdTokenSigningAndEncryptionService
    extends org.apereo.cas.ticket.BaseIdTokenSigningAndEncryptionService
    Since:
    5.1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      OidcIdTokenSigningAndEncryptionService​(com.github.benmanes.caffeine.cache.LoadingCache<java.lang.String,​java.util.Optional<org.jose4j.jwk.RsaJsonWebKey>> defaultJsonWebKeystoreCache, com.github.benmanes.caffeine.cache.LoadingCache<org.apereo.cas.services.OidcRegisteredService,​java.util.Optional<org.jose4j.jwk.RsaJsonWebKey>> serviceJsonWebKeystoreCache, java.lang.String issuer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String encode​(org.apereo.cas.support.oauth.services.OAuthRegisteredService service, org.jose4j.jwt.JwtClaims claims)  
      java.lang.String getJsonWebKeySigningAlgorithm​(org.apereo.cas.support.oauth.services.OAuthRegisteredService service)  
      protected org.jose4j.jwk.PublicJsonWebKey getSigningKey()  
      • Methods inherited from class org.apereo.cas.ticket.BaseIdTokenSigningAndEncryptionService

        configureJsonWebSignatureForIdTokenSigning, createJsonWebSignature, encryptIdToken, getIssuer, validate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OidcIdTokenSigningAndEncryptionService

        public OidcIdTokenSigningAndEncryptionService​(com.github.benmanes.caffeine.cache.LoadingCache<java.lang.String,​java.util.Optional<org.jose4j.jwk.RsaJsonWebKey>> defaultJsonWebKeystoreCache,
                                                      com.github.benmanes.caffeine.cache.LoadingCache<org.apereo.cas.services.OidcRegisteredService,​java.util.Optional<org.jose4j.jwk.RsaJsonWebKey>> serviceJsonWebKeystoreCache,
                                                      java.lang.String issuer)
    • Method Detail

      • encode

        public java.lang.String encode​(org.apereo.cas.support.oauth.services.OAuthRegisteredService service,
                                       org.jose4j.jwt.JwtClaims claims)
      • getSigningKey

        protected org.jose4j.jwk.PublicJsonWebKey getSigningKey()
        Specified by:
        getSigningKey in class org.apereo.cas.ticket.BaseIdTokenSigningAndEncryptionService
      • getJsonWebKeySigningAlgorithm

        public java.lang.String getJsonWebKeySigningAlgorithm​(org.apereo.cas.support.oauth.services.OAuthRegisteredService service)