2017-04-12 14:38:44 +03:00
|
|
|
package com.baeldung.dynamicvalidation;
|
|
|
|
|
|
|
|
import javax.annotation.security.RolesAllowed;
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
2017-05-08 15:46:14 +03:00
|
|
|
import com.baeldung.autoconfiguration.MySQLAutoconfiguration;
|
|
|
|
|
|
|
|
@SpringBootApplication(exclude = MySQLAutoconfiguration.class)
|
2017-04-12 14:38:44 +03:00
|
|
|
public class DynamicValidationApp {
|
|
|
|
@RolesAllowed("*")
|
|
|
|
public static void main(String[] args) {
|
|
|
|
System.setProperty("security.basic.enabled", "false");
|
|
|
|
SpringApplication.run(DynamicValidationApp.class, args);
|
|
|
|
}
|
|
|
|
}
|