@Configuration(value="oauthConfiguration")
@EnableConfigurationProperties(value=org.apereo.cas.configuration.CasConfigurationProperties.class)
public class CasOAuthConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
CasOAuthConfiguration.| Constructor and Description |
|---|
CasOAuthConfiguration() |
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator@ConditionalOnMissingBean(name="accessTokenResponseGenerator") @Bean public AccessTokenResponseGenerator accessTokenResponseGenerator()
@ConditionalOnMissingBean(name="oauthCasClientRedirectActionBuilder") @Bean public OAuth20CasClientRedirectActionBuilder oauthCasClientRedirectActionBuilder()
@RefreshScope @Bean public org.pac4j.core.http.UrlResolver casCallbackUrlResolver()
@RefreshScope @Bean public org.pac4j.core.config.Config oauthSecConfig()
@ConditionalOnMissingBean(name="requiresAuthenticationAuthorizeInterceptor") @Bean @RefreshScope public org.pac4j.springframework.web.SecurityInterceptor requiresAuthenticationAuthorizeInterceptor()
@ConditionalOnMissingBean(name="consentApprovalViewResolver") @Bean @RefreshScope public ConsentApprovalViewResolver consentApprovalViewResolver()
@ConditionalOnMissingBean(name="callbackAuthorizeViewResolver") @Bean @RefreshScope public OAuth20CallbackAuthorizeViewResolver callbackAuthorizeViewResolver()
@ConditionalOnMissingBean(name="requiresAuthenticationAccessTokenInterceptor") @Bean @RefreshScope public org.pac4j.springframework.web.SecurityInterceptor requiresAuthenticationAccessTokenInterceptor()
@ConditionalOnMissingBean(name="oauthInterceptor") @Bean @RefreshScope public org.springframework.web.servlet.handler.HandlerInterceptorAdapter oauthInterceptor()
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddInterceptors in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean @RefreshScope public OAuth20CasClientRedirectActionBuilder defaultOAuthCasClientRedirectActionBuilder()
@ConditionalOnMissingBean(name="oAuthClientAuthenticator") @Bean @RefreshScope public org.pac4j.core.credentials.authenticator.Authenticator<org.pac4j.core.credentials.UsernamePasswordCredentials> oAuthClientAuthenticator()
@ConditionalOnMissingBean(name="oAuthUserAuthenticator") @Bean @RefreshScope public org.pac4j.core.credentials.authenticator.Authenticator<org.pac4j.core.credentials.UsernamePasswordCredentials> oAuthUserAuthenticator()
@ConditionalOnMissingBean(name="oAuthValidator") @Bean @RefreshScope public OAuth20Validator oAuthValidator()
@ConditionalOnMissingBean(name="oauthAccessTokenResponseGenerator") @Bean @RefreshScope public AccessTokenResponseGenerator oauthAccessTokenResponseGenerator()
@Bean @RefreshScope @ConditionalOnMissingBean(name="defaultAccessTokenFactory") public AccessTokenFactory defaultAccessTokenFactory()
@Bean @RefreshScope public org.apereo.cas.ticket.UniqueTicketIdGenerator oAuthCodeIdGenerator()
@Bean @RefreshScope public org.apereo.cas.ticket.UniqueTicketIdGenerator refreshTokenIdGenerator()
@Bean @RefreshScope @ConditionalOnMissingBean(name="defaultOAuthCodeFactory") public OAuthCodeFactory defaultOAuthCodeFactory()
@ConditionalOnMissingBean(name="profileScopeToAttributesFilter") @Bean public OAuth20ProfileScopeToAttributesFilter profileScopeToAttributesFilter()
@Bean @ConditionalOnMissingBean(name="callbackAuthorizeController") @RefreshScope public OAuth20CallbackAuthorizeEndpointController callbackAuthorizeController()
@ConditionalOnMissingBean(name="accessTokenController") @Bean @RefreshScope public OAuth20AccessTokenEndpointController accessTokenController()
@ConditionalOnMissingBean(name="profileController") @Bean @RefreshScope public OAuth20UserProfileControllerController profileController()
@ConditionalOnMissingBean(name="authorizeController") @Bean @RefreshScope public OAuth20AuthorizeEndpointController authorizeController()
@ConditionalOnMissingBean(name="oauthPrincipalFactory") @Bean @RefreshScope public org.apereo.cas.authentication.principal.PrincipalFactory oauthPrincipalFactory()
@Bean @RefreshScope @ConditionalOnMissingBean(name="defaultRefreshTokenFactory") public RefreshTokenFactory defaultRefreshTokenFactory()
@ConditionalOnMissingBean(name="oauthCasAuthenticationBuilder") @Bean @RefreshScope public OAuth20CasAuthenticationBuilder oauthCasAuthenticationBuilder()
@Bean @RefreshScope public org.pac4j.springframework.web.CallbackController callbackController()
@ConditionalOnMissingBean(name="accessTokenIdGenerator") @Bean @RefreshScope public org.apereo.cas.ticket.UniqueTicketIdGenerator accessTokenIdGenerator()
@PostConstruct public void initializeServletApplicationContext()