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 Summary
Constructors Constructor Description CumulocityOAuthConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JwtTokenAuthenticationProvider
jwtTokenAuthenticationProvider(JwtAuthenticatedTokenCache jwtAuthenticatedTokenCache)
com.cumulocity.microservice.security.token.OAuthPostAuthorizationContextProvider
oAuthPostAuthorizationContextProvider(org.springframework.beans.factory.ObjectProvider<MicroserviceSubscriptionsService> subscriptionsService)
org.springframework.web.context.request.RequestContextListener
requestContextListener()
void
setEnvironment(org.springframework.core.env.Environment environment)
-
-
-
Method Detail
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- Specified by:
setEnvironment
in interfaceorg.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()
-
-