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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -