Get Spring Security intercept urls from database or properties

后端 未结 2 1507
傲寒
傲寒 2020-12-18 12:22

Hopefully this is super simple, exists, and I\'m overlooking something right under my nose. I know that I can restrict access via annotations:

@Secured({\"R         


        
2条回答
  •  北荒
    北荒 (楼主)
    2020-12-18 12:25

    do you want to use something like this in you spring xml?

    
    
        
            /WEB-INF/config.properties
        
    
    

    and then als in your Spring XML:

    
            
    
    

提交回复
热议问题