Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

ClassNotFound exception using JdbcTokenStore during refresh token #9

Closed
anton-krush opened this Issue · 1 comment

2 participants

@anton-krush

Basically when using JdbcTokenStore (declared separately in resources.groovy) getting ClassNotFoundException while deserializing GrailsUser when trying to refresh_token.

Found this http://jira.codehaus.org/browse/GROOVY-1627, may be passing class loader to ObjectInputStream will help? But that requires modification of JdbcTokenStore it seems.

Exception: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: [our implementation of GrailsUser]
at org.springframework.security.oauth2.common.util.SerializationUtils.deserialize(SerializationUtils.java:36)
at org.springframework.security.oauth2.provider.token.JdbcTokenStore$4.mapRow(JdbcTokenStore.java:160)

@bluesliverx
Owner

Can you try this again with the 1.0.5 release as quite a bit has changed there. If you still see the issue, please reopen and give an example of using the JdbcTokenStore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.