Skip to content

Instantly share code, notes, and snippets.

@joshlong
Last active December 15, 2015 07:49
Show Gist options
  • Select an option

  • Save joshlong/5226788 to your computer and use it in GitHub Desktop.

Select an option

Save joshlong/5226788 to your computer and use it in GitHub Desktop.
security configuration class #1
package org.springsource.examples.spring31.web.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
/**
* class for all the security aware parts of the system like form-based login and OAuth
*
* @author Josh long
*/
@Configuration
@ImportResource({"classpath:/security.xml"})
public class SecurityConfiguration {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment