0

I want to pass in other hidden values to the server on the form for login. Then I want to be able to do some other computations on the server where I have access to the form hidden parameters and also the newly authenticated user object.

I was hoping to use the onInteractiveAuthenticationSuccessEvent event. However, I cannot find a pointer to the request object in its params anywhere.

BTW, this is my plan for how to pass information from Gigya to do a linkaccount to a acegi user account.

4

2 に答える 2

0

正確な構文は覚えていませんが、セキュリティ コールバック メソッドのリクエスト属性にアクセスするために org.springframework.web.context.request.RequestContextHolder を使用したことは確かです...

于 2010-07-14T14:59:36.373 に答える
0

最初の答えで、私は適切な場所を見回しました。

org.codehaus.groovy.grails.plugins.springsecurity.SecurityRequestHolder.getRequest()

grails プラグインでリクエストを取得する最良の方法のようです。Eocdan を助けてくれてありがとう。

于 2010-07-14T18:40:17.783 に答える