You should use the “ distribution operator ”, which is as follows: *
The distribution operator must be the prefix of the array argument:
antMatchers(*angularRoutings)
For more information, see the documentation :
vararg
-, , . asList(1, 2, 3)
, , ( *
):