ru.foodtechlab.lib.auth.app.AuthApplication Maven / Gradle / Ivy
package ru.foodtechlab.lib.auth.app;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import ru.foodtechlab.rcore.spring.EnableRCoreSpring;
/**
* Standalone приложение, работающее с rcore
*/
@EnableAspectJAutoProxy
@EnableGlobalMethodSecurity(securedEnabled = true, proxyTargetClass = true)
@SpringBootApplication(scanBasePackages = {"ru.foodtechlab", "com.rcore"})
public class AuthApplication {
public static void main(String[] args) {
SpringApplication.run(AuthApplication.class, args);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy