mx.edu.um.eventosum.config.SecurityConfig.java Source code

Java tutorial

Introduction

Here is the source code for mx.edu.um.eventosum.config.SecurityConfig.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package mx.edu.um.eventosum.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.config.annotation.web.servlet.configuration.EnableWebMvcSecurity;

/**
 *
 * @author PC3
 */
@EnableWebMvcSecurity
@Configuration
@ImportResource("classpath:security.xml")
public class SecurityConfig extends WebSecurityConfigurerAdapter {

}