我的网络应用包括两部分:
- GWT app that does all the work.
- Handmade servlet aimed to handle OpenID authentication facility.
我需要电话2至1。 http://code.google.com/p/google-web-toolkit-incubator/wiki/Login SecurityFAQ”rel=“nofollow”Login SecurityFAQ,因此,我谨确认我的理解是否正确。
- Once OpenID provider confirms that user is OK and gives me its identity, I should register the session.
- To "register" the session, I should store somewhere in my DB a mapping between OpenID identity and a session id (identity="https://www.google.com/accounts/o8/id?id=wwyruiwncuyrwieruyfakefakefake" and session id is a large random string like "HiuhoiuhIUHOIUY87Y*&Ttgi6yUYGIuygUHGugyg^G6g").
- That session id should be stored on client side in a cookie.
- Every time any request is sent from client side, on server side I should check whether client s session id is still fresh enough (alive) and I should also use it to resolve client s identity in case I need it.
是否正确? 在案件审理中,是否有足够的保障?