jeudi 26 mars 2015

Using order="-1" in spring pre-post annotations

Could somebody explain the below changes . The developer includes an extra attribute order = "-1" . It looks like he is trying to set the priority of the annotations. Is that correct? What is the impact of such a change?



- <sec:global-method-security pre-post-annotations="enabled" proxy-target-class="false">
+ <sec:global-method-security pre-post-annotations="enabled" proxy-target-class="false" order="-1">
<sec:expression-handler ref="expressionHandler" />
</sec:global-method-security>

Aucun commentaire:

Enregistrer un commentaire