You need to manually import the ServerHttpSecurity invoke.
import org.springframework.security.config.web.server.invoke
/
import org.springframework.security.config.annotation.web.invoke
S. Gulwani, and M. Marron. Proceedings of the 2014 ACM SIGMOD International Conference on Management of Data, page 803--814. New York, NY, USA, ACM, (2014)
C. Humer, C. Wimmer, C. Wirth, A. Wöß, and T. Würthinger. Proceedings of the 13th International Conference on Generative Programming: Concepts and Experiences, page 123--132. ACM, (2014)
K. Miksa, M. Kasztelnik, P. Sabina, and T. Walter. Models in Software Engineering, volume 6002 of Lecture Notes in Computer Science, Springer Berlin Heidelberg, (2010)
H. Mühe, A. Angerer, A. Hoffmann, and W. Reif. 1st International Workshop on Domain-Specific Languages and models for ROBotic systems (DSLRob’10), 2010 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2010), (2010)
A. Abouzahra, J. Bézivin, M. Fabro, and F. Jouault. Proceedings of the Best Practices for Model Driven Software Development at OOPSLA'05, San Diego, California, USA, , (2005)
D. Nunes, and D. Schwabe. WWW '06: Proceedings of the 15th international conference on World Wide Web, page 889--890. New York, NY, USA, ACM Press, (2006)