Package 

Class SecurityConfig

  • All Implemented Interfaces:
    org.springframework.security.config.annotation.SecurityConfigurer , org.springframework.security.config.annotation.web.WebSecurityConfigurer

    @Configuration()@EnableWebSecurity()@Profile(value = {"oauth2-okta | OTHER-OAUTH-PROFILE"}) 
    public final class SecurityConfig
    extends WebSecurityConfigurerAdapter
                        

    Security configurations

    • to enable another OAuth provider, include the profile name in place of OTHER-OAUTH-PROFILE in the @Profile annotation