【问题标题】:How to display CAS authentication username in grails application如何在 grails 应用程序中显示 CAS 身份验证用户名
【发布时间】:2013-07-16 13:59:26
【问题描述】:

我在 grails 中有一个使用 CAS 身份验证的应用程序。我已成功通过 CAS 进行身份验证并查看了我的应用程序,但是我希望在 CAS 中输入的用户名显示在我的 grails 应用程序中。我怎样才能做到这一点?有没有办法传递用户名?谢谢

【问题讨论】:

    标签: authentication grails cas


    【解决方案1】:

    假设使用 Spring Security 方法进行 CAS 集成,您可以查看其他帖子:Grails and Spring Security: How do I get the authenticated user from within a controller?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-02-07
      • 1970-01-01
      • 2018-12-23
      • 2016-01-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多