st-tu-dresden / videoshop

SalesPoint sample application
Apache License 2.0
87 stars 246 forks source link

Temporarily add @EnableGlobalMethodSecurity(prePostEnabled = true) until upgrade to Salespoint 6.0 GA #19

Closed odrotbohm closed 10 years ago

odrotbohm commented 10 years ago

Current Salespoint (6.0 RC1) doesn't have @EnableGlobalMethodSecurity(prePostEnabled = true) activated (as we just discovered in the lecture today). There's already a ticket for that in Salespoint which will be resolved for the 6.0 GA release. To keep the VideoShop working in the meantime we should temporarily add the annotation to the configuration to make sure the security constraints defined on the controllers are actually evaluated.