Class UndertowSpringSecurityCustomizer

  • All Implemented Interfaces:
    org.apache.camel.Ordered, org.apache.camel.spi.ComponentCustomizer

    @Configuration(proxyBeanMethods=false)
    @AutoConfigureAfter(org.apache.camel.spring.boot.CamelAutoConfiguration.class)
    @EnableConfigurationProperties({org.apache.camel.spring.boot.ComponentConfigurationProperties.class,UndertowSpringSecurityConfiguration.class})
    public class UndertowSpringSecurityCustomizer
    extends Object
    implements org.apache.camel.spi.ComponentCustomizer
    Configuration of spring-security constraints for defined providers.
    • Constructor Detail

      • UndertowSpringSecurityCustomizer

        public UndertowSpringSecurityCustomizer()
    • Method Detail

      • configure

        public void configure​(String name,
                              org.apache.camel.Component target)
        Specified by:
        configure in interface org.apache.camel.spi.ComponentCustomizer
      • isEnabled

        public boolean isEnabled​(String name,
                                 org.apache.camel.Component target)
        Specified by:
        isEnabled in interface org.apache.camel.spi.ComponentCustomizer
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.apache.camel.spi.ComponentCustomizer
        Specified by:
        getOrder in interface org.apache.camel.Ordered
      • jwtDecoderByIssuerUri

        @Bean
        public org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoderByIssuerUri()
      • clientRegistrationRepository

        @Bean
        public org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository()
      • authorizedClientService

        @Bean
        public org.springframework.security.oauth2.client.OAuth2AuthorizedClientService authorizedClientService​(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository repository)