public abstract class AuthenticationShell extends Object implements org.kohsuke.stapler.StaplerFallback
If the current request isn't authenticated, send the browser to OpenID authentication sequence with https://jenkins-ci.org/
| Modifier and Type | Field and Description |
|---|---|
org.kohsuke.stapler.AttributeKey<OpenIDIdentity> |
key |
| Constructor and Description |
|---|
AuthenticationShell(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
OpenIDIdentity |
authenticate() |
protected abstract String |
getClaimedIdentity(org.kohsuke.stapler.StaplerRequest request)
Returns the OpenID that our user is claiming (that we are going to validate.)
In the typical context where this is used, this normally returns a constant
(I don't know what the right term for this, but the generic OpenID identifier
that allows the user to select the actual identifier in the server.)
|
OpenIDSession |
getOpenid()
Maps the login session to URL.
|
Object |
getStaplerFallback() |
public final org.kohsuke.stapler.AttributeKey<OpenIDIdentity> key
public AuthenticationShell(Object delegate) throws org.openid4java.consumer.ConsumerException
org.openid4java.consumer.ConsumerExceptionpublic Object getStaplerFallback()
getStaplerFallback in interface org.kohsuke.stapler.StaplerFallbackpublic OpenIDSession getOpenid()
public OpenIDIdentity authenticate()
protected abstract String getClaimedIdentity(org.kohsuke.stapler.StaplerRequest request)
Copyright © 2012. All Rights Reserved.