我检查了其他几个类似的问题,但没有找到解决方案。 所以我有一个Web服务春季启动项目配置: @Configuration
public class WebServiceConfig {
@Autowired
private Bus bus;
@Bean
public Endpoint endpoint() {
EndpointImpl endpoint = new Endp
我正在寻找一种方法来保护Spring Boot的@Secured注释的方法。对于大约10-15个用户,我不想连接到数据库,并从那里获取用户及其权限/角色,而是将它们本地存储在特定于配置文件的application.yml文件中。 Spring Boot中有没有一个概念支持这个想法?所有我能找到到目前为止与基本安全驱动器('org.springframework.boot:spring-boot-s