java - Spring Security Upgrade breaks security authorize tag -


i upgraded spring app while back, testing found page breaking. using spring core 4.2.5.release, , security 3.2.0.release. have .jsp fragment:

<% boolean userislocked = false; %> 

then authorize tag:

<sec:authorize access="isauthenticated() && !userislocked"> 

i getting 500 error root cause:

org.springframework.expression.spel.spelevaluationexception: el1008e:(pos 21): property or field 'userislocked' cannot found on object of type 'org.springframework.security.web.access.expression.websecurityexpressionroot' - maybe not public? 

this used work. did upgrade while ago, have not tested page since then, assume has that.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -