benlucchesi / grails-cookie-session

cookie sessions for grails applications
28 stars 32 forks source link

don't compile on Grails 2.2.1 base spring 3.1.4 #10

Closed daijingjing closed 11 years ago

daijingjing commented 11 years ago

unable to resolve class:

org.springframework.security.core.authority.GrantedAuthorityImpl org.springframework.security.core.GrantedAuthority org.springframework.security.web.context.SecurityContextRepository

benlucchesi commented 11 years ago

Hi,

Sorry about that... there's a dependency on the spring-security-core plugin. I'll fix up the code as part of the next release to sort this out. In the mean time, install the spring-security-core plugin in your project and it will work find (tested and verified).

thanks for using the cookie-session plugin!

-ben

benlucchesi commented 11 years ago

Hi,

I've removed references to the spring security libraries from the project. All spring security related functionality is handled with reflection and runtime class loading in order to avoid using references to spring security objects directly. The update is in 2.0.9 which is available form the central repo. Please let me know if you have any problems with the plugin.

thanks for using the cookie-session plugin!

-ben