I used @preAuthorize annotations in one bundle and defined the global-security-bean in another bundle.
After I moved them to the same bundle It started working fine.
Hope this helps someone and...
Type: Posts; User: rajani; Keyword(s):
I used @preAuthorize annotations in one bundle and defined the global-security-bean in another bundle.
After I moved them to the same bundle It started working fine.
Hope this helps someone and...
I added cronjobs to spring app using quartz.
inside these jobs, I would like to access spring-security secured bean methods from another app.
This is my application structure.
| - core
|...
what i just learnt is.. in the osgi context spring-security is not working.
1. when the authorize annotations are on interface, it always throws AccessDenied irrespective of the roles.
2. when the...
Hi Rob,
Thanks for your response
I will try and put a sample app today.
Incase it helps, these are the steps.
0. I am deploying my app on virgo (3.0.3.RELEASE)
1. I have a core bundle which...
Hi,
I am also facing the same issue and moving the annotation to the impl works for me as well. But, I dont want to do that.
Any pointers on how I could get this working in the interface layer?
...
Thanks pdurcek. Moving to WEB=INf/spring/*.xml worked for me.
This is what i did
upgraded my tiles to 2.2.2. This is the exact dependency list I have in my pom.xml (tiles in maven repo is bundle...