Using Spring Security |
Restart SuperMap iServer Manager, and access http://<server>:<port>/iserver/services/map-china400/rest:
Log in with the china/china, then reaccess http://<server>:<port>/iserver/services/map-china400/rest, it displays the right result as follows:
In this sample, /services/map-world/**" is proected too. The user china has no permission to access map-world, so if use user china to access http://<server>:<port>/iserver/services/map-world/rest, and it will return 403:
While with the world/world account to log in http://localhost:8090/iserver/spring_security_login, then access http://<server>:<port>/iserver/services/map-world/rest, the correct response can be obtained.