Class WAOIDCJWKSGeneratorService

  • All Implemented Interfaces:
    org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService

    public class WAOIDCJWKSGeneratorService
    extends Object
    implements org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService
    • Field Detail

      • LOG

        protected static final Logger LOG
      • jwksKeyId

        protected final String jwksKeyId
      • jwksType

        protected final String jwksType
      • jwksKeySize

        protected final int jwksKeySize
    • Constructor Detail

      • WAOIDCJWKSGeneratorService

        public WAOIDCJWKSGeneratorService​(WARestClient waRestClient,
                                          String jwksKeyId,
                                          String jwksType,
                                          int jwksKeySize)
    • Method Detail

      • store

        public org.jose4j.jwk.JsonWebKeySet store​(org.jose4j.jwk.JsonWebKeySet jsonWebKeySet)
                                           throws Exception
        Specified by:
        store in interface org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService
        Throws:
        Exception
      • find

        public Optional<Resource> find()
        Specified by:
        find in interface org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService
      • generate

        public Resource generate()
        Specified by:
        generate in interface org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService