Example usage for org.springframework.security.config.annotation.web.configuration WebSecurityConfigurerAdapter subclass-usage

List of usage examples for org.springframework.security.config.annotation.web.configuration WebSecurityConfigurerAdapter subclass-usage

Introduction

In this page you can find the example usage for org.springframework.security.config.annotation.web.configuration WebSecurityConfigurerAdapter subclass-usage.

Usage

From source file com.marklogic.samplestack.mock.MockApplicationSecurity.java

@EnableWebSecurity
@Component
@EnableGlobalMethodSecurity(prePostEnabled = true)
/**
 * A version of ApplicationSecurity that bypasses LDAP,
 * providing an in-memory authentication/authorization object.

From source file com.github.fedorchuck.webstore.config.SecurityConfig.java

@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(securedEnabled = true)
public class SecurityConfig extends WebSecurityConfigurerAdapter {

    @Autowired

From source file com.kdubb.socialshowcaseboot.config.SecurityConfig.java

/**
 * Security Configuration.
 * @author Craig Walls
 */
@Configuration
@EnableWebSecurity

From source file opensnap.config.WebSecurityConfig.java

@Configuration
@EnableWebSecurity
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {

    private AuthenticationSuccessHandler authenticationSuccessHandler;
    private AuthenticationFailureHandler authenticationFailureHandler;

From source file ro.teamnet.hero.config.SecurityConfig.java

/**
 * Security Configuration.
 * @author Craig Walls
 */
@Configuration
@EnableWebSecurity

From source file io.github.proxyprint.kitchen.config.WebSecurityConfig.java

@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(securedEnabled = true)
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {

    @Autowired

From source file com.marklogic.samplestack.security.ApplicationSecurity.java

/**
 * The Spring Security configuration for Samplestack.
 * Contains configuration for the web-tier security,
 * including the embedded LDAP backend configuration and the
 * user-facing method for securing the application's endpoints.
 */

From source file ch.thp.proto.spring.time.web.config.SecurityConfig.java

/**
 * Security Config with inmemoryauthentication instead of tomcat-users mechanism. 
 * Each user needs at least the role 'USER' which is mapped to 'ROLE_USER'.
 * Authentication is done with basic auth. 
 *
 * @author thpeng

From source file sample.web.WebSecurityConfiguration.java

@Configuration
@EnableWebMvcSecurity
public class WebSecurityConfiguration extends WebSecurityConfigurerAdapter {

    @Autowired
    private DataSource dataSource;

From source file org.schedoscope.metascope.config.TestSpringConfiguration.java

@Profile("test")
@Configuration
@ComponentScan(basePackages = { "org.schedoscope.metascope" }, excludeFilters = {
        @Filter(type = FilterType.ASSIGNABLE_TYPE, value = { ProductionSpringConfiguration.class }) })
@EnableAsync
public class TestSpringConfiguration extends WebSecurityConfigurerAdapter {