on ‎2018 Aug 27 7:49 AM
I want to disable/restrict some OOTB urls since we are not using it in the project. This means that whenever a user tries to use a specific url (example: https://localhost:9002/checkout/multi/summary/placeOrder) the controller will not be triggered and user will not be able to see the OOTB page for this url.
Request clarification before answering.
Hi Gersam,
You could use Spring Security, especially .antMatchers("/yourPattern").denyAll().
Here is article about this on help, additionally there is plenty of resources on the Internet.
Hope this helps.
Best Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If controllers are in different packages and you don't need those in future, just delete them.
If controller are in different packages and you do need those in future, change your JSPs and remove form actions that link to those controllers
If controller are in same package, you can configure your <context:component-scan> property in extension-spring.xml file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.