配置grails spring安全性插件与documentdb一起使用

时间:2016-11-30 13:37:24

标签: grails spring-security grails-plugin azure-cosmosdb grails-spring-security

请帮助我连接grails spring安全插件以与DocumentDB一起使用以存储和检索凭据。我没有使用gorm在我的应用程序中使用DocumentDB。

1 个答案:

答案 0 :(得分:0)

根据:http://alvarosanchez.github.io/grails-spring-security-rest/latest/docs/#_token_storage

令牌使用tokenStorageService bean存储在服务器上。该插件提供了对JWT,Memcached,GORM和Grails Cache的开箱即用支持,但您可以使用自己的策略来实现TokenStorageService接口。

您需要使用Azure DocumentDB Java SDK实现TokenStorageService接口以连接到DocumentDB。 如果您需要帮助,请告诉我。

相关问题