Use classname instead of value in @ConditionalOnMissingClass

See gh-1065
pull/1082/head
Dave Syer 11 years ago
parent 3007a777d0
commit e8fcb0c875

@ -119,7 +119,7 @@ public class SocialWebAutoConfiguration {
@Configuration
@EnableSocial
@ConditionalOnWebApplication
@ConditionalOnMissingClass(SecurityContextHolder.class)
@ConditionalOnMissingClass(name="org.springframework.security.core.context.SecurityContextHolder")
protected static class AnonymousUserIdSourceConfig extends SocialConfigurerAdapter {
@Override

Loading…
Cancel
Save