2018-01-23 04:43:24 +01:00
|
|
|
package com.baeldung.rss;
|
|
|
|
|
2018-11-16 14:34:48 -02:00
|
|
|
import javax.annotation.security.RolesAllowed;
|
|
|
|
|
2018-01-23 04:43:24 +01:00
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
2018-05-06 21:19:41 +03:00
|
|
|
@SpringBootApplication
|
2018-01-23 04:43:24 +01:00
|
|
|
@ComponentScan(basePackages = "com.baeldung.rss")
|
|
|
|
public class RssApp {
|
|
|
|
|
|
|
|
@RolesAllowed("*")
|
|
|
|
public static void main(String[] args) {
|
|
|
|
SpringApplication.run(RssApp.class, args);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|