er.openid
Class EROpenIDManager.EmailDelegate
java.lang.Object
er.openid.EROpenIDManager.DefaultDelegate
er.openid.EROpenIDManager.EmailDelegate
- All Implemented Interfaces:
- EROpenIDManager.Delegate
- Enclosing class:
- EROpenIDManager
public static class EROpenIDManager.EmailDelegate
- extends EROpenIDManager.DefaultDelegate
A simple delegate implementation that requests the user's email address. This is for example purposes only and
this code is not suitable for production use. To utilize this particular delegate, the client should ask the
EROResponse for a list of MessageExtensions. Then the client should iterate through those and retrieve the
specific extension parameter using methods appropriate to the type of the MessageExtension. For instance, if
the MessageExtension is an instance of SRegResponse, then the email parameter could be retrieved by casting the
MessageExtension to an SRegResponse and then using getAttributeValue("email") to retrieve the email.
Method Summary |
java.util.List<org.openid4java.message.MessageExtension> |
createFetchMessageExtensions(java.lang.String userSuppliedString,
com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Returns OpenID message extensions for the fetch request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EROpenIDManager.EmailDelegate
public EROpenIDManager.EmailDelegate()
createFetchMessageExtensions
public java.util.List<org.openid4java.message.MessageExtension> createFetchMessageExtensions(java.lang.String userSuppliedString,
com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
throws org.openid4java.message.MessageException
- Description copied from interface:
EROpenIDManager.Delegate
- Returns OpenID message extensions for the fetch request. These message extensions will be sent to the OP
as requests for additional information.
- Specified by:
createFetchMessageExtensions
in interface EROpenIDManager.Delegate
- Overrides:
createFetchMessageExtensions
in class EROpenIDManager.DefaultDelegate
- Parameters:
userSuppliedString
- the string the user suppliedrequest
- the WORequestcontext
- the WOContext
- Returns:
- a FetchRequest
- Throws:
MessageException
Copyright © 2002 – 2007 Project Wonder.