I am little bit confuse with URL-pattern in spring security. Because, in servlet core http security, the /
and /*
url patterns are used for specify one or more directories. /
is use for one directory and /*
is used of many directories. But in spring-security, the /**
is also introduce, what is the main purpose of /**
url-pattern in security.
The difference between /* & /** is that the second matches the entire directory tree, including subdirectories, where as /* only matches at the level it's specified at.