public class OpenIDSession extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static org.kohsuke.stapler.AttributeKey<OpenIDSession> |
KEY |
| Constructor and Description |
|---|
OpenIDSession(org.openid4java.consumer.ConsumerManager manager,
String openid,
String thisUrl) |
| Modifier and Type | Method and Description |
|---|---|
OpenIDIdentity |
authenticate()
If the user is already authenticated, return the identity information.
|
void |
commence()
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.
|
public static final org.kohsuke.stapler.AttributeKey<OpenIDSession> KEY
public OpenIDSession(org.openid4java.consumer.ConsumerManager manager,
String openid,
String thisUrl)
throws org.openid4java.OpenIDException,
IOException
openid - The identity that the user has claimed, which we are going to validate.thisUrl - URL that this OpenIDSession object is mapped to. Used to construct
the URL to bring the user back to. If this URL starts with '/', it's interpreted as
relative to the context path. Otherwise it's assumed to be the absolute URL. It shouldn't
end with '/'.org.openid4java.OpenIDExceptionIOExceptionpublic OpenIDIdentity authenticate()
HttpResponse.)public void commence()
public org.kohsuke.stapler.HttpResponse doFinishLogin(org.kohsuke.stapler.StaplerRequest request)
throws IOException,
org.openid4java.OpenIDException
IOExceptionorg.openid4java.OpenIDExceptionCopyright © 2012. All Rights Reserved.