java - Spring security how to set a intercept-url for all pages except login page shortly -


well first time work spring security , wonder if there short way configure every page without common pattern like:

<security:intercept-url pattern="/welcome/**" access="hasrole('role_user')" /> 

and having map every controller value/welcome/controller.

i know /** pattern can secure pages resources , controller response entry input gets 403 error too.

my frontend programmed html , javascript cant not use jstl , configuration xml files.


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -