我檢查了其他幾個類似的問題,但沒有找到解決方案。 所以我有一個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