AlbuquerqueRafael / Dilettante-Server

0 stars 0 forks source link

Ant Matchers supports ** #21

Closed matheusgr closed 6 years ago

matheusgr commented 6 years ago

You may use wildcards on antmatchers path. is used to represent a deep match /example/ -> matches both /example/a as /example/b/c

https://github.com/AlbuquerqueRafael/Dilettante-Server/blob/5224228463a0d4d313a96c34f05e21105c7eda4a/src/main/java/com/api/dl/security/WebSecurityConfig.java#L35

AlbuquerqueRafael commented 6 years ago

Maybe I will need some "get publication" resources with a need for auth in the future. This is why I decided to not use wildcards.