1

I have a grails 3 application where authentication is done by Siteminder. After the user is authenticated we should be able to generate a JWT token and using that other rest apis call be protected. I have used RequestHeaderAuthenticationFilter to authenticate the request header. Can anyone help in integrating JWT token in this scenario.

Thanks is advance

4

1 回答 1

1

我通过使用自定义令牌生成器来实现它,该生成器在请求标头身份验证后调用并将令牌保存在 http 响应标头中。创建了一个自定义的 rest 令牌验证过滤器来验证 API 调用中的令牌

于 2019-02-08T11:01:06.893 回答