Skip to content

Instantly share code, notes, and snippets.

@krams915
Created December 8, 2012 05:52
Show Gist options
  • Select an option

  • Save krams915/4238842 to your computer and use it in GitHub Desktop.

Select an option

Save krams915/4238842 to your computer and use it in GitHub Desktop.
Spring Social SecurityConfig.java
package org.krams.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.web.filter.DelegatingFilterProxy;
@Configuration
@ImportResource({"classpath:spring-security.xml"})
public class SecurityConfig {
@Bean
public DelegatingFilterProxy springSecurityFilterChain() {
DelegatingFilterProxy filterProxy = new DelegatingFilterProxy();
return filterProxy;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment