All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unitedinternet.cosmo.boot.HttpConfig Maven / Gradle / Ivy

The newest version!
package org.unitedinternet.cosmo.boot;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.web.firewall.DefaultHttpFirewall;
import org.springframework.security.web.firewall.HttpFirewall;

/**
 * 
 * @author daniel grigore
 *
 */
@Configuration
public class HttpConfig {

    /**
     * Provide a less restrictive firewall by default and allow applications to overwrite it.
     * 
     * @return HttpFirewall instance.
     */
    @Bean
    public HttpFirewall httpFirewall() {
	return new DefaultHttpFirewall();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy