public class OicSecurityRealm
extends hudson.security.SecurityRealm
Modifier and Type | Class and Description |
---|---|
static class |
OicSecurityRealm.DescriptorImpl |
Constructor and Description |
---|
OicSecurityRealm(String clientId,
String clientSecret,
String tokenServerUrl,
String authorizationServerUrl,
String userInfoServerUrl,
String userNameField,
String tokenFieldToCheckKey,
String tokenFieldToCheckValue,
String fullNameFieldName,
String emailFieldName,
String scopes,
boolean disableSslVerification) |
Modifier and Type | Method and Description |
---|---|
hudson.security.SecurityRealm.SecurityComponents |
createSecurityComponents() |
org.kohsuke.stapler.HttpResponse |
doCommenceLogin(String from,
String referer)
handles the the securityRealm/commenceLogin resource
|
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 |
getAuthorizationServerUrl() |
String |
getClientId() |
hudson.util.Secret |
getClientSecret() |
String |
getEmailFieldName() |
String |
getFullNameFieldName() |
String |
getLoginUrl()
Login begins with our
doCommenceLogin(String,String) method. |
String |
getScopes() |
String |
getTokenFieldToCheckKey() |
String |
getTokenFieldToCheckValue() |
String |
getTokenServerUrl() |
String |
getUserInfoServerUrl() |
String |
getUserNameField() |
boolean |
isDisableSslVerification() |
all, allowsSignup, canLogOut, commenceSignup, createCliAuthenticator, createFilter, doCaptcha, doLogout, findBean, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getDescriptor, getGroupIdStrategy, getPostLogOutUrl, getSecurityComponents, getUserIdStrategy, loadGroupByGroupname, loadGroupByGroupname, loadUserByUsername, setCaptchaSupport, validateCaptcha
@DataBoundConstructor public OicSecurityRealm(String clientId, String clientSecret, String tokenServerUrl, String authorizationServerUrl, String userInfoServerUrl, String userNameField, String tokenFieldToCheckKey, String tokenFieldToCheckValue, String fullNameFieldName, String emailFieldName, String scopes, boolean disableSslVerification) throws IOException
IOException
public String getClientId()
public hudson.util.Secret getClientSecret()
public String getTokenServerUrl()
public String getAuthorizationServerUrl()
public String getUserInfoServerUrl()
public String getUserNameField()
public String getTokenFieldToCheckKey()
public String getTokenFieldToCheckValue()
public String getFullNameFieldName()
public String getEmailFieldName()
public String getScopes()
public boolean isDisableSslVerification()
public String getLoginUrl()
doCommenceLogin(String,String)
method.getLoginUrl
in class hudson.security.SecurityRealm
public hudson.security.SecurityRealm.SecurityComponents createSecurityComponents()
createSecurityComponents
in class hudson.security.SecurityRealm
public org.kohsuke.stapler.HttpResponse doCommenceLogin(@QueryParameter String from, @Header(value="Referer") String referer) throws IOException
IOException
public org.kohsuke.stapler.HttpResponse doFinishLogin(org.kohsuke.stapler.StaplerRequest request) throws IOException
IOException
Copyright © 2016–2018. All rights reserved.