Class LtiLaunchSecurityConfig

  • All Implemented Interfaces:
    org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    @Configuration
    @EnableWebMvcSecurity
    public class LtiLaunchSecurityConfig
    extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
    This configuration class sets up Spring Security to authenticate LTI launch requests based on the OAuth signature present in the POST params. It also sets up some common HTTP headers that get returned to the browser on each request to make browsers happy running inside of an iframe.
    • Constructor Detail

      • LtiLaunchSecurityConfig

        public LtiLaunchSecurityConfig()
    • Method Detail

      • oauthProviderTokenServices

        @Bean(name="oauthProviderTokenServices")
        public org.springframework.security.oauth.provider.token.OAuthProviderTokenServices oauthProviderTokenServices()