|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.openid.OpenIdSession
public abstract class OpenIdSession
Represents state for an OpenID authentication.
| Constructor Summary | |
|---|---|
OpenIdSession(org.openid4java.consumer.ConsumerManager manager,
org.openid4java.discovery.DiscoveryInformation endpoint,
java.lang.String finishUrl)
|
|
OpenIdSession(org.openid4java.consumer.ConsumerManager manager,
java.lang.String openid,
java.lang.String finishUrl)
|
|
| Method Summary | |
|---|---|
org.kohsuke.stapler.HttpResponse |
doCommenceLogin()
Starts the login session. |
org.kohsuke.stapler.HttpResponse |
doFinishLogin(org.kohsuke.stapler.StaplerRequest request)
When the identity provider is done with its thing, the user comes back here. |
static OpenIdSession |
getCurrent()
Gets the OpenIdSession associated with HTTP session in the current extend. |
protected abstract org.kohsuke.stapler.HttpResponse |
onSuccess(Identity identity)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenIdSession(org.openid4java.consumer.ConsumerManager manager,
org.openid4java.discovery.DiscoveryInformation endpoint,
java.lang.String finishUrl)
public OpenIdSession(org.openid4java.consumer.ConsumerManager manager,
java.lang.String openid,
java.lang.String finishUrl)
throws org.openid4java.OpenIDException
org.openid4java.OpenIDException| Method Detail |
|---|
public org.kohsuke.stapler.HttpResponse doCommenceLogin()
throws java.io.IOException,
org.openid4java.OpenIDException
java.io.IOException
org.openid4java.OpenIDException
public org.kohsuke.stapler.HttpResponse doFinishLogin(org.kohsuke.stapler.StaplerRequest request)
throws java.io.IOException,
org.openid4java.OpenIDException
java.io.IOException
org.openid4java.OpenIDException
protected abstract org.kohsuke.stapler.HttpResponse onSuccess(Identity identity)
throws java.io.IOException
java.io.IOExceptionpublic static OpenIdSession getCurrent()
OpenIdSession associated with HTTP session in the current extend.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||