How to implement Spring Security 4 with both XML and Java config

前端 未结 3 611
无人共我
无人共我 2021-01-02 22:15

I am trying to implement Spring-Security 4 into my Spring MVC web and rest app. I added 2 classes to enable Spring Security the java config way. I still want to hold onto

3条回答
  •  醉酒成梦
    2021-01-02 22:41

    Add the following line in your spring-context.xml:

    
    
    

    and then can add the bean definition for the security config.

    
    

提交回复
热议问题