jmiguelr / grails-image-indirect-plugin

A Grails plugin to access images anywhere and make it looks as local
2 stars 2 forks source link

throw an error while run with spring security core 2.0-RC2 #2

Open binaychap opened 10 years ago

binaychap commented 10 years ago

Compiling 2 source files. | Error Fatal error during compilation org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: C:\Users\admin.grails\2.2.4\projects\nvs\plugins\spring-security-core-2.0-RC2.\SpringSecurityCoreGrailsPlugin.groovy: 25: unable to resolve class grails.plugin.springsecurity.authentication.dao.NullSaltSource @ line 25, column 1. import grails.plugin.springsecurity.authentication.dao.NullSaltSource ^

C:\Users\admin.grails\2.2.4\projects\nvs\plugins\spring-security-core-2.0-RC2.\SpringSecurityCoreGrailsPlugin.groovy: 16: unable to resolve class grails.plugin.springsecurity.SecurityEventListener @ line 16, column 1. import grails.plugin.springsecurity.SecurityEventListener ^

2 errors (Use --stacktrace to see the full trace)

jmiguelr commented 10 years ago

Hi!

I don't know how the error you trace is related with muy plugin. I'm not working with SpringSecurity 2 yet, but I doubt it could be causing this error.

Please try to run your code without the plugin and tell me if it works.

Thank you!

binaychap commented 10 years ago

now it worked fine with spring security core when i give the security access in the config.groovy '/imageIndirect/**': ['IS_AUTHENTICATED_ANONYMOUSLY'] Thank you.