public class Wso2IdSecurityRealm
extends hudson.security.SecurityRealm
| Modifier and Type | Class and Description |
|---|---|
static class |
Wso2IdSecurityRealm.DescriptorImpl
Descriptor for
Wso2IdSecurityRealm. |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_COMMENCE_LOGIN_URL |
static String |
DEFAULT_FINISH_LOGIN_URL |
| Constructor and Description |
|---|
Wso2IdSecurityRealm(String wso2idWebUri,
String authorizeUrl,
String clientID,
String clientSecret) |
| Modifier and Type | Method and Description |
|---|---|
hudson.security.SecurityRealm.SecurityComponents |
createSecurityComponents() |
org.kohsuke.stapler.HttpResponse |
doCommenceLogin(org.kohsuke.stapler.StaplerRequest request,
String referer)
The login process starts from here, using the CasAuthenticationEntryPoint
defined in the CasSecurityRealm.groovy application context.
|
org.kohsuke.stapler.HttpResponse |
doFinishLogin(org.kohsuke.stapler.StaplerRequest request)
This is where the user comes back to at the end of the OpenID redirect
ping-pong.
|
String |
getClientID() |
String |
getClientSecret() |
hudson.model.Descriptor<hudson.security.SecurityRealm> |
getDescriptor() |
static String |
getJenkinsUrl()
Get the root Jenkins URL configured in global settings.
|
static String |
getJenkinsUrl(javax.servlet.http.HttpServletRequest req)
Get the root Jenkins URL configured in global settings, or construct it
from the current HTTP request.
|
String |
getLoginUrl() |
String |
getWso2idWebUri() |
all, allowsSignup, canLogOut, commenceSignup, createCliAuthenticator, createFilter, doCaptcha, doLogout, findBean, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getGroupIdStrategy, getPostLogOutUrl, getSecurityComponents, getUserIdStrategy, loadGroupByGroupname, loadGroupByGroupname, loadUserByUsername, setCaptchaSupport, validateCaptchapublic static final String DEFAULT_COMMENCE_LOGIN_URL
public static final String DEFAULT_FINISH_LOGIN_URL
public String getLoginUrl()
getLoginUrl in class hudson.security.SecurityRealmpublic String getWso2idWebUri()
public String getClientID()
public String getClientSecret()
public static String getJenkinsUrl()
public static String getJenkinsUrl(javax.servlet.http.HttpServletRequest req)
req - current HTTP requestpublic org.kohsuke.stapler.HttpResponse doCommenceLogin(org.kohsuke.stapler.StaplerRequest request,
@Header(value="Referer")
String referer)
throws IOException
request - requestreferer - StringIOExceptionpublic org.kohsuke.stapler.HttpResponse doFinishLogin(org.kohsuke.stapler.StaplerRequest request)
throws IOException
IOExceptionpublic hudson.security.SecurityRealm.SecurityComponents createSecurityComponents()
createSecurityComponents in class hudson.security.SecurityRealmpublic hudson.model.Descriptor<hudson.security.SecurityRealm> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.security.SecurityRealm>getDescriptor in class hudson.security.SecurityRealmCopyright © 2016–2017. All rights reserved.