0
// perform discovery on the user-supplied identifier
List discoveries = manager.discover(userSuppliedString);
// attempt to associate with the OpenID provider
// and retrieve one service endpoint for authentication
DiscoveryInformation discovered = manager.associate(discoveries);
// store the discovery information in the user's session
httpReq.getSession().setAttribute("openid-disc", discovered);
// obtain a AuthRequest message to be sent to the OpenID provider
AuthRequest authReq = manager.authenticate(discovered, returnToUrl);
如何創建一個愚蠢模式或無狀態消費者沒有發現和關聯?openid4java如何創建一個愚蠢模式或無狀態消費者
我跟着http://sureshatt.blogspot.com/2011/05/openid-dumb-mode-consumer-with.html,但openid4java仍然有聯繫。