1. The path is wrong.
Keep the path at all times
. 2. The case of the role information is inconsistent. The role information configured in spring-security.xml is uppercase and the lowercase is passed.
When the data is transferred:
configuration in spring-security.xml:
Convert lowercase to uppercase by using the toUpperCase() method: