EROpenIDManager.Delegate Interface Reference

Inherited by EROpenIDManager.DefaultDelegate.

List of all members.

Public Member Functions

List< MessageExtension > createFetchMessageExtensions (String userSuppliedString, WORequest request, WOContext context) throws MessageException
MessageExtension createFetchRequest (String userSuppliedString, WORequest request, WOContext context) throws MessageException
void responseReceived (VerificationResult verification, EROResponse eroResponse, WORequest request, WOContext context)
String returnToUrl (WORequest request, WOContext context)
String rewriteReceivingUrl (WORequest request, WOContext context)


Detailed Description

EROpenIDManager delegate

Member Function Documentation

List<MessageExtension> createFetchMessageExtensions ( String  userSuppliedString,
WORequest  request,
WOContext  context 
) throws MessageException

Returns OpenID message extensions for the fetch request. These message extensions will be sent to the OP as requests for additional information.

Parameters:
userSuppliedString the string the user supplied
request the WORequest
context the WOContext
Returns:
a FetchRequest
Exceptions:
MessageException 

Implemented in EROpenIDManager.DefaultDelegate, and EROpenIDManager.EmailDelegate.

MessageExtension createFetchRequest ( String  userSuppliedString,
WORequest  request,
WOContext  context 
) throws MessageException

Returns an OpenID fetch request.

Parameters:
userSuppliedString the string the user supplied
request the WORequest
context the WOContext
Returns:
a FetchRequest
Exceptions:
MessageException 
Deprecated:
Replaced by createFetchMessageExtensions

Implemented in EROpenIDManager.DefaultDelegate.

void responseReceived ( VerificationResult  verification,
EROResponse  eroResponse,
WORequest  request,
WOContext  context 
)

Called after a response is received from the OpenID server.

Parameters:
verification the original verification result
eroResponse the EROResponse wrapper
request the WORequest
context the WOContext

Implemented in EROpenIDManager.DefaultDelegate.

String returnToUrl ( WORequest  request,
WOContext  context 
)

Returns the URL that the OpenID provider should come back to after authentication.

Parameters:
request the WORequest
context the WOContext
Returns:
the URL that the OpenID provider should come back to after authentication

Implemented in EROpenIDManager.DefaultDelegate.

String rewriteReceivingUrl ( WORequest  request,
WOContext  context 
)

Gives the delegate an opportunity to rewrite the receiving URL from the return request after authentication. This may be necessary if you are using rewrite rules on your webserver, and the returnToUrl does not match the URL that WebObjects may see in the WORequest.

Parameters:
request the WORequest
context the WOContext
Returns:
the rewritten URL

Implemented in EROpenIDManager.DefaultDelegate.


The documentation for this interface was generated from the following file:

Generated on Sat May 26 06:43:26 2012 for Project Wonder by  doxygen 1.5.8