EROpenIDManager Class Reference

Collaboration diagram for EROpenIDManager:

Collaboration graph
[legend]

List of all members.

Classes

class  DefaultDelegate
interface  Delegate
class  EmailDelegate

Public Member Functions

WOActionResults authRequest (String userSuppliedString, String realm, WORequest request, WOContext context) throws MessageException, DiscoveryException, ConsumerException
boolean isOpenIDAuth (String userSuppliedString)
void setDelegate (EROpenIDManager.Delegate delegate)
EROResponse verifyResponse (WORequest request, WOContext context) throws MessageException, DiscoveryException, AssociationException

Static Public Member Functions

static synchronized EROpenIDManager manager ()

Static Public Attributes

static final Logger log = Logger.getLogger(EROpenIDManager.class)

Protected Member Functions

 EROpenIDManager () throws ConsumerException

Private Attributes

EROpenIDManager.Delegate _delegate
ConsumerManager _manager

Static Private Attributes

static EROpenIDManager _openIDManager
static final String DISCOVERY_INFO_KEY = "openIDDiscoveryInfo"


Constructor & Destructor Documentation

EROpenIDManager (  )  throws ConsumerException [protected]

Constructs a new EROpenIDManager.

Exceptions:
ConsumerException 


Member Function Documentation

WOActionResults authRequest ( String  userSuppliedString,
String  realm,
WORequest  request,
WOContext  context 
) throws MessageException, DiscoveryException, ConsumerException

Initiates the authentication request.

Parameters:
userSuppliedString the string supplied by the user
realm explicit realm to use for the authRequest. Allows nulls.
request the WORequest
context the WOContext
Returns:
the redirection action results
Exceptions:
MessageException 
DiscoveryException 
ConsumerException 

boolean isOpenIDAuth ( String  userSuppliedString  ) 

Returns whether or not the given string looks like an OpenID auth string.

Parameters:
userSuppliedString the string from the user
Returns:
whether or not the given string looks like an OpenID auth string

static synchronized EROpenIDManager manager (  )  [static]

Returns the singleton EROpenIDManager instance.

Returns:
the singleton EROpenIDManager instance

void setDelegate ( EROpenIDManager.Delegate  delegate  ) 

Set the delegate for this manager if you want to specify a custom FetchRequest.

Parameters:
delegate the new delegate

EROResponse verifyResponse ( WORequest  request,
WOContext  context 
) throws MessageException, DiscoveryException, AssociationException

The callback for verifying the OpenID response.

Parameters:
request the WORequest
context the WOContext
Returns:
the OpenID response
Exceptions:
MessageException 
DiscoveryException 
AssociationException 


Member Data Documentation

EROpenIDManager.Delegate _delegate [private]

ConsumerManager _manager [private]

EROpenIDManager _openIDManager [static, private]

final String DISCOVERY_INFO_KEY = "openIDDiscoveryInfo" [static, private]

final Logger log = Logger.getLogger(EROpenIDManager.class) [static]


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

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