public class ClientKeyPublisher extends Object implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
Constructor and Description |
---|
ClientKeyPublisher() |
Modifier and Type | Method and Description |
---|---|
String |
getJwkPublishUrl() |
JWTSigningAndValidationService |
getSigningAndValidationService() |
void |
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
If the jwkPublishUrl field is set on this bean, set up a listener on that URL to publish keys.
|
org.springframework.web.servlet.ModelAndView |
publishClientJwk()
Return a view to publish all keys in JWK format.
|
void |
setJwkPublishUrl(String jwkPublishUrl) |
void |
setSigningAndValidationService(JWTSigningAndValidationService signingAndValidationService) |
public ClientKeyPublisher()
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
public void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) throws org.springframework.beans.BeansException
postProcessBeanDefinitionRegistry
in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
org.springframework.beans.BeansException
public org.springframework.web.servlet.ModelAndView publishClientJwk()
public String getJwkPublishUrl()
public void setJwkPublishUrl(String jwkPublishUrl)
jwkPublishUrl
- the jwkPublishUrl to setpublic JWTSigningAndValidationService getSigningAndValidationService()
public void setSigningAndValidationService(JWTSigningAndValidationService signingAndValidationService)
signingAndValidationService
- the signingAndValidationService to setCopyright © 2018. All rights reserved.