Class CumulocityOAuthConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.EnvironmentAware

    @Configuration(proxyBeanMethods=false)
    public class CumulocityOAuthConfiguration
    extends Object
    implements org.springframework.context.EnvironmentAware
    • Constructor Detail

      • CumulocityOAuthConfiguration

        public CumulocityOAuthConfiguration()
    • Method Detail

      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        Specified by:
        setEnvironment in interface org.springframework.context.EnvironmentAware
      • oAuthPostAuthorizationContextProvider

        @Bean
        public com.cumulocity.microservice.security.token.OAuthPostAuthorizationContextProvider oAuthPostAuthorizationContextProvider​(org.springframework.beans.factory.ObjectProvider<MicroserviceSubscriptionsService> subscriptionsService)
      • requestContextListener

        @Bean
        @ConditionalOnMissingBean
        public org.springframework.web.context.request.RequestContextListener requestContextListener()