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
-
Method Summary
Modifier and TypeMethodDescriptionjwtTokenAuthenticationProvider
(JwtAuthenticatedTokenCache jwtAuthenticatedTokenCache) com.cumulocity.microservice.security.token.OAuthPostAuthorizationContextProvider
oAuthPostAuthorizationContextProvider
(org.springframework.beans.factory.ObjectProvider<MicroserviceSubscriptionsService> subscriptionsService) org.springframework.web.context.request.RequestContextListener
void
setEnvironment
(org.springframework.core.env.Environment environment)
-
Constructor Details
-
CumulocityOAuthConfiguration
public CumulocityOAuthConfiguration()
-
-
Method Details
-
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()
-