2017-02-16 21:45:08 +05:30
|
|
|
package com.baeldung.utils;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.security.RolesAllowed;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
|
|
|
|
|
@SpringBootApplication
|
|
|
|
|
@ComponentScan(basePackages="com.baeldung.utils")
|
|
|
|
|
public class Application {
|
|
|
|
|
|
|
|
|
|
@RolesAllowed("*")
|
|
|
|
|
public static void main(String[] args) {
|
2017-02-17 11:02:53 +05:30
|
|
|
SpringApplication.run(Application.class, args);
|
2017-02-16 21:45:08 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|