Skip to content

Commit

Permalink
[SHIBUI-808]
Browse files Browse the repository at this point in the history
updated configuration
  • Loading branch information
jj committed Sep 28, 2018
1 parent a81483d commit f239b71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.stereotype.Component;

@Configuration
@EnableAutoConfiguration
@SpringBootApplication
@ComponentScan(excludeFilters = @ComponentScan.Filter(type = FilterType.REGEX, pattern = "edu.internet2.tier.shibboleth.admin.ui.configuration.auto.*"))
@EntityScan(basePackages = "edu.internet2.tier.shibboleth.admin.ui.domain")
@EnableJpaAuditing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public HttpFirewall allowUrlEncodedSlashHttpFirewall() {

@Bean
@ConditionalOnMissingBean(name = "webSecurityConfig")
@Profile("!no-auth")
public WebSecurityConfigurerAdapter defaultAuth() {
return new WebSecurityConfigurerAdapter() {

Expand Down

0 comments on commit f239b71

Please sign in to comment.