Class OidcMongoDbJsonWebKeystoreGeneratorService

java.lang.Object
org.apereo.cas.oidc.jwks.generator.mongo.OidcMongoDbJsonWebKeystoreGeneratorService
All Implemented Interfaces:
org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService

@Order(-2147483648) public class OidcMongoDbJsonWebKeystoreGeneratorService extends Object implements org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService
Since:
6.5.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    OidcMongoDbJsonWebKeystoreGeneratorService(org.springframework.data.mongodb.core.MongoOperations mongoTemplate, org.apereo.cas.configuration.model.support.oidc.OidcProperties oidcProperties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.springframework.core.io.Resource>
     
    org.springframework.core.io.Resource
     
    org.jose4j.jwk.JsonWebKeySet
    store(org.jose4j.jwk.JsonWebKeySet jsonWebKeySet)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OidcMongoDbJsonWebKeystoreGeneratorService

      public OidcMongoDbJsonWebKeystoreGeneratorService(org.springframework.data.mongodb.core.MongoOperations mongoTemplate, org.apereo.cas.configuration.model.support.oidc.OidcProperties oidcProperties)
  • Method Details

    • generate

      public org.springframework.core.io.Resource generate() throws Exception
      Specified by:
      generate in interface org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService
      Throws:
      Exception
    • 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<org.springframework.core.io.Resource> find() throws Exception
      Specified by:
      find in interface org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService
      Throws:
      Exception