Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is rolesAllowed working ? #4

Open
arvind-das opened this issue Jul 5, 2015 · 4 comments
Open

is rolesAllowed working ? #4

arvind-das opened this issue Jul 5, 2015 · 4 comments

Comments

@arvind-das
Copy link

I do have almost same setup, not with oauth2 but basic session based. RolesAllowed annotation simple does not work for me. Any guesses ?

@bobbywarner
Copy link
Owner

Just confirming you have this line in your project @EnableGlobalMethodSecurity(jsr250Enabled = true)? Please let me know.

@arvind-das
Copy link
Author

No, I did not make jsr250Enabled, Will try out with that and let you know

@arvind-das
Copy link
Author

I am getting this :

Exception in thread "main" java.lang.IllegalArgumentException: Class name [org.grails.spring.aop.autoproxy.GroovyAwareAspectJAwareAdvisorAutoProxyCreator] is not a known auto-proxy creator class
at org.springframework.aop.config.AopConfigUtils.findPriorityForClass(AopConfigUtils.java:140)
at org.springframework.aop.config.AopConfigUtils.registerOrEscalateApcAsRequired(AopConfigUtils.java:113)
at org.springframework.aop.config.AopConfigUtils.registerAutoProxyCreatorIfNecessary(AopConfigUtils.java:74)
at org.springframework.aop.config.AopConfigUtils.registerAutoProxyCreatorIfNecessary(AopConfigUtils.java:70)
at org.springframework.context.annotation.AutoProxyRegistrar.registerBeanDefinitions(AutoProxyRegistrar.java:69)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:353)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:151)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124)

@bobbywarner
Copy link
Owner

@arvind-das Are you still facing this issue? I've not been able to replicate it. Please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants