// 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);
如何在没有发现和关联的情况下创建哑模式或无状态消费者?
我已经关注了http://sureshatt.blogspot.com/2011/05/openid-dumb-mode-consumer-with.html,但是 openid4java 仍然是一个伙伴。