|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.openid.EROpenIDManager
public class EROpenIDManager
EROpenIDManager is the primary interface to managing an OpenID connection.
| Properties | |
er.openid.proxyHostName | the host name to use as a proxy (if necessary) |
er.openid.proxyPort | the port to use as a proxy (if necessary) |
er.openid.formRedirectionPageName | the name of the form redirection page to go to
(defaults to EROFormRedirectionPage, should implement IEROFormRedirectionPage) |
er.openid.requireSecureReturnURL | whether to require secure return URL; default is true |
er.openid.disableRealmVerifier | whether to disable realm verifier. see OpenID 2.0 specification. |
| Nested Class Summary | |
|---|---|
static class |
EROpenIDManager.DefaultDelegate
The default delegate implementation. |
static interface |
EROpenIDManager.Delegate
EROpenIDManager delegate |
static class |
EROpenIDManager.EmailDelegate
A simple delegate implementation that requests the user's email address. |
| Field Summary | |
|---|---|
static org.apache.log4j.Logger |
log
|
| Constructor Summary | |
|---|---|
protected |
EROpenIDManager()
Constructs a new EROpenIDManager. |
| Method Summary | |
|---|---|
com.webobjects.appserver.WOActionResults |
authRequest(java.lang.String userSuppliedString,
java.lang.String realm,
com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Initiates the authentication request. |
boolean |
isOpenIDAuth(java.lang.String userSuppliedString)
Returns whether or not the given string looks like an OpenID auth string. |
static EROpenIDManager |
manager()
Returns the singleton EROpenIDManager instance. |
void |
setDelegate(EROpenIDManager.Delegate delegate)
Set the delegate for this manager if you want to specify a custom FetchRequest. |
EROResponse |
verifyResponse(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
The callback for verifying the OpenID response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.log4j.Logger log
| Constructor Detail |
|---|
protected EROpenIDManager()
throws org.openid4java.consumer.ConsumerException
org.openid4java.consumer.ConsumerException| Method Detail |
|---|
public static EROpenIDManager manager()
public void setDelegate(EROpenIDManager.Delegate delegate)
delegate - the new delegatepublic boolean isOpenIDAuth(java.lang.String userSuppliedString)
userSuppliedString - the string from the user
public com.webobjects.appserver.WOActionResults authRequest(java.lang.String userSuppliedString,
java.lang.String realm,
com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
throws org.openid4java.message.MessageException,
org.openid4java.discovery.DiscoveryException,
org.openid4java.consumer.ConsumerException
userSuppliedString - the string supplied by the userrealm - explicit realm to use for the authRequest. Allows nulls.request - the WORequestcontext - the WOContext
MessageException
org.openid4java.discovery.DiscoveryException
org.openid4java.consumer.ConsumerException
public EROResponse verifyResponse(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
throws org.openid4java.message.MessageException,
org.openid4java.discovery.DiscoveryException,
org.openid4java.association.AssociationException
request - the WORequestcontext - the WOContext
MessageException
org.openid4java.discovery.DiscoveryException
org.openid4java.association.AssociationException
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||