Package org.apereo.cas.oidc.config
Class OidcJwksJpaConfiguration
java.lang.Object
org.apereo.cas.oidc.config.OidcJwksJpaConfiguration
@EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
@ConditionalOnClass(org.apereo.cas.jpa.JpaBeanFactory.class)
@ConditionalOnFeatureEnabled(feature=OpenIDConnect,
module="jpa")
@AutoConfiguration
public class OidcJwksJpaConfiguration
extends Object
This is
OidcJwksJpaConfiguration.- Since:
- 6.5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondataSourceOidcJwks(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties) Supplier<org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService>jpaJsonWebKeystoreGeneratorService(org.springframework.context.ConfigurableApplicationContext applicationContext, org.springframework.transaction.PlatformTransactionManager transactionManagerOidcJwks, org.apereo.cas.configuration.CasConfigurationProperties casProperties) org.apereo.cas.util.spring.beans.BeanContainer<String>jpaOidcJwksPackagesToScan(org.springframework.context.ConfigurableApplicationContext applicationContext) org.springframework.orm.jpa.JpaVendorAdapterjpaOidcJwksVendorAdapter(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.jpa.JpaBeanFactory jpaBeanFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties) org.springframework.beans.factory.FactoryBean<javax.persistence.EntityManagerFactory>oidcJwksEntityManagerFactory(org.springframework.context.ConfigurableApplicationContext applicationContext, org.springframework.orm.jpa.JpaVendorAdapter jpaOidcJwksVendorAdapter, DataSource dataSourceOidcJwks, org.apereo.cas.util.spring.beans.BeanContainer<String> jpaOidcJwksPackagesToScan, org.apereo.cas.jpa.JpaBeanFactory jpaBeanFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties) org.springframework.transaction.PlatformTransactionManagertransactionManagerOidcJwks(org.springframework.context.ConfigurableApplicationContext applicationContext, org.springframework.beans.factory.ObjectProvider<javax.persistence.EntityManagerFactory> emf)
-
Constructor Details
-
OidcJwksJpaConfiguration
public OidcJwksJpaConfiguration()
-
-
Method Details
-
transactionManagerOidcJwks
@Bean @RefreshScope(proxyMode=DEFAULT) @ConditionalOnMissingBean(name="transactionManagerOidcJwks") public org.springframework.transaction.PlatformTransactionManager transactionManagerOidcJwks(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("oidcJwksEntityManagerFactory") org.springframework.beans.factory.ObjectProvider<javax.persistence.EntityManagerFactory> emf) -
oidcJwksEntityManagerFactory
@Bean @RefreshScope(proxyMode=DEFAULT) @ConditionalOnMissingBean(name="oidcJwksEntityManagerFactory") public org.springframework.beans.factory.FactoryBean<javax.persistence.EntityManagerFactory> oidcJwksEntityManagerFactory(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("jpaOidcJwksVendorAdapter") org.springframework.orm.jpa.JpaVendorAdapter jpaOidcJwksVendorAdapter, @Qualifier("dataSourceOidcJwks") DataSource dataSourceOidcJwks, @Qualifier("jpaOidcJwksPackagesToScan") org.apereo.cas.util.spring.beans.BeanContainer<String> jpaOidcJwksPackagesToScan, @Qualifier("jpaBeanFactory") org.apereo.cas.jpa.JpaBeanFactory jpaBeanFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties) -
jpaOidcJwksVendorAdapter
@RefreshScope(proxyMode=DEFAULT) @Bean @ConditionalOnMissingBean(name="jpaOidcJwksVendorAdapter") public org.springframework.orm.jpa.JpaVendorAdapter jpaOidcJwksVendorAdapter(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("jpaBeanFactory") org.apereo.cas.jpa.JpaBeanFactory jpaBeanFactory, org.apereo.cas.configuration.CasConfigurationProperties casProperties) -
jpaOidcJwksPackagesToScan
@Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.util.spring.beans.BeanContainer<String> jpaOidcJwksPackagesToScan(org.springframework.context.ConfigurableApplicationContext applicationContext) -
dataSourceOidcJwks
@Bean @ConditionalOnMissingBean(name="dataSourceOidcJwks") @RefreshScope(proxyMode=DEFAULT) public DataSource dataSourceOidcJwks(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties) -
jpaJsonWebKeystoreGeneratorService
@Bean @RefreshScope(proxyMode=DEFAULT) public Supplier<org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService> jpaJsonWebKeystoreGeneratorService(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("transactionManagerOidcJwks") org.springframework.transaction.PlatformTransactionManager transactionManagerOidcJwks, org.apereo.cas.configuration.CasConfigurationProperties casProperties)
-