Class CumulocityOAuthConfiguration

java.lang.Object
com.cumulocity.microservice.security.token.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 Details

    • CumulocityOAuthConfiguration

      public CumulocityOAuthConfiguration()
  • Method Details

    • 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)
    • jwtTokenAuthenticationProvider

      @Bean public JwtTokenAuthenticationProvider jwtTokenAuthenticationProvider(JwtAuthenticatedTokenCache jwtAuthenticatedTokenCache)
    • requestContextListener

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