br.eti.danielcamargo.backend.common.config.context.SecurityConfig.java Source code

Java tutorial

Introduction

Here is the source code for br.eti.danielcamargo.backend.common.config.context.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 br.eti.danielcamargo.backend.common.config.context;

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

@Configuration
@EnableWebSecurity
@ImportResource("classpath*:/META-INF/common/security.xml")
public class SecurityConfig extends WebSecurityConfigurerAdapter {

}