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

Add additional configuration options to the documentation and/or test for null? #27

Open
B5A7 opened this issue Mar 19, 2015 · 0 comments

Comments

@B5A7
Copy link

B5A7 commented Mar 19, 2015

Trying to use the plugin, I get this error:
Cannot convert value of type [groovy.util.ConfigObject] to required type [java.lang.String]

Caused by endpointUrl = conf.springsecurity.invalidate.endpointUrl in SecurityStatelessGrailsPlugin?

http://stackoverflow.com/questions/21125979/grails-events-push-plugin-problems-with-grails-2-3-3 may be related.

Adding this items to Config.groovy solves the error:
grails.plugin.security.stateless.springsecurity.invalidate.endpointUrl = "xxxx"

Could also include
grails.plugin.security.stateless.springsecurity.invalidate.active = true/false

The discussion about salting in http://www.kaleidos.net/blog/295/stateless-authentication-with-api-rest/ is probably relevant - I am guessing that is what the invalidate call should do - clear the salt?

My configuration:
grails 2.4.4
compile ':security-stateless:0.0.7'
compile ":spring-security-core:2.0-RC4"
compile ":spring-security-ldap:2.0-RC2"
compile ":spring-security-ui:1.0-RC2"

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

1 participant