public class MoSAMLAddIdp
extends hudson.security.SecurityRealm
| Modifier and Type | Class and Description |
|---|---|
static class |
MoSAMLAddIdp.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTH_BASE_URL |
static String |
DEFAULT_API_KEY |
static String |
DEFAULT_CUSTOMER_KEY |
static String |
MO_SAML_JENKINS_LOGIN_ACTION |
static String |
MO_SAML_SP_AUTH_URL |
static String |
MO_SAML_SP_CERTIFCATE_DOWNLOAD |
static String |
MO_SAML_SP_METADATA_URL |
static String |
MO_SAML_SSO_FORCE_STOP |
static String |
MO_SAML_SSO_LOGIN_ACTION |
static String |
NOTIFY_API |
| Constructor and Description |
|---|
MoSAMLAddIdp(String idpEntityId,
String ssoUrl,
String metadataUrl,
String metadataFilePath,
String publicx509Certificate,
String usernameCaseConversion,
String usernameAttribute,
String emailAttribute,
String fullnameAttribute,
String nameIDFormat,
String sslUrl,
String loginType,
String regexPattern,
Boolean enableRegexPattern,
Boolean signedRequest,
Boolean userCreate,
Boolean forceAuthn,
String ssoBindingType,
String sloBindingType,
List<MoAttributeEntry> samlCustomAttributes,
Boolean userAttributeUpdate,
Boolean disableDefaultLogin,
String newUserGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeUpdate(MoSAMLPluginSettings settings,
hudson.model.User user,
MoSAMLResponse moSAMLResponse,
String loginType) |
static List<String> |
configureFromMetadata(String metadata) |
hudson.security.SecurityRealm.SecurityComponents |
createSecurityComponents() |
org.kohsuke.stapler.HttpResponse |
createSessionAndLoginUser(hudson.model.User user,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
Boolean newUserCreated,
MoSAMLPluginSettings settings,
String redirectUrl) |
void |
doDownloadCertificate(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response) |
void |
doLogout(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
org.kohsuke.stapler.HttpResponse |
doMoLogin(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
String errorMessage) |
void |
doMoLoginAction(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response) |
org.kohsuke.stapler.HttpResponse |
doMoSamlAuth(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response) |
void |
doMoSamlLogin(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
String referer) |
void |
doMoSAMLSingleSignOnForceStop(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response) |
void |
doMospmetadata(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response) |
String |
getAcsURL() |
String |
getAudienceURI() |
String |
getBackdoorURL() |
Boolean |
getDisableDefaultLogin() |
String |
getEmailAttribute() |
Boolean |
getEnableRegexPattern() |
Boolean |
getForceAuthn() |
String |
getFullnameAttribute() |
String |
getIdpEntityId() |
String |
getLoginType() |
String |
getLoginUrl() |
String |
getMetadata(MoSAMLPluginSettings settings) |
String |
getMetadataFilePath() |
static String |
getMetadataFromFile(String path) |
String |
getMetadataUrl() |
String |
getNameIDFormat() |
String |
getPostLogOutUrl(org.kohsuke.stapler.StaplerRequest req,
org.acegisecurity.Authentication auth) |
String |
getPublicx509Certificate() |
String |
getRegexPattern() |
List<MoAttributeEntry> |
getSamlCustomAttributes() |
Boolean |
getSignedRequest() |
String |
getSloBindingType() |
String |
getsPEntityID() |
String |
getSpLogoutURL() |
String |
getSslUrl() |
String |
getSsoBindingType() |
String |
getSsoUrl() |
Boolean |
getUserAttributeUpdate() |
Boolean |
getUserCreate() |
String |
getUsernameAttribute() |
String |
getUsernameCaseConversion() |
static String |
sendGetRequest(String url) |
void |
setSamlCustomAttribute(List<MoAttributeEntry> samlCustomAttributes) |
String |
spMetadataURL() |
all, allowsSignup, canLogOut, commenceSignup, createCliAuthenticator, createFilter, doCaptcha, findBean, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getDescriptor, getFrom, getGroupIdStrategy, getSecurityComponents, getUserIdStrategy, loadGroupByGroupname, loadGroupByGroupname, loadUserByUsername, setCaptchaSupport, validateCaptchapublic static final String MO_SAML_SP_AUTH_URL
public static final String DEFAULT_CUSTOMER_KEY
public static final String DEFAULT_API_KEY
public static final String AUTH_BASE_URL
public static final String NOTIFY_API
public static final String MO_SAML_JENKINS_LOGIN_ACTION
public static final String MO_SAML_SSO_FORCE_STOP
public static final String MO_SAML_SP_METADATA_URL
public static final String MO_SAML_SP_CERTIFCATE_DOWNLOAD
public static final String MO_SAML_SSO_LOGIN_ACTION
@DataBoundConstructor public MoSAMLAddIdp(String idpEntityId, String ssoUrl, String metadataUrl, String metadataFilePath, String publicx509Certificate, String usernameCaseConversion, String usernameAttribute, String emailAttribute, String fullnameAttribute, String nameIDFormat, String sslUrl, String loginType, String regexPattern, Boolean enableRegexPattern, Boolean signedRequest, Boolean userCreate, Boolean forceAuthn, String ssoBindingType, String sloBindingType, List<MoAttributeEntry> samlCustomAttributes, Boolean userAttributeUpdate, Boolean disableDefaultLogin, String newUserGroup)
public String getLoginUrl()
getLoginUrl in class hudson.security.SecurityRealmpublic void doLogout(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
doLogout in class hudson.security.SecurityRealmpublic String getPostLogOutUrl(org.kohsuke.stapler.StaplerRequest req, org.acegisecurity.Authentication auth)
getPostLogOutUrl in class hudson.security.SecurityRealmpublic org.kohsuke.stapler.HttpResponse doMoLogin(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
String errorMessage)
public void doMoLoginAction(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
public void doMoSamlLogin(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
@Header(value="Referer")
String referer)
public String spMetadataURL()
public void doMoSAMLSingleSignOnForceStop(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
public void doMospmetadata(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
public void doDownloadCertificate(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws Exception
Exceptionpublic String getMetadata(MoSAMLPluginSettings settings)
public org.kohsuke.stapler.HttpResponse doMoSamlAuth(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
IOExceptionpublic void attributeUpdate(MoSAMLPluginSettings settings, hudson.model.User user, MoSAMLResponse moSAMLResponse, String loginType)
public hudson.security.SecurityRealm.SecurityComponents createSecurityComponents()
createSecurityComponents in class hudson.security.SecurityRealmpublic org.kohsuke.stapler.HttpResponse createSessionAndLoginUser(hudson.model.User user,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
Boolean newUserCreated,
MoSAMLPluginSettings settings,
String redirectUrl)
public String getMetadataUrl()
public String getMetadataFilePath()
public String getIdpEntityId()
public String getSsoUrl()
public String getPublicx509Certificate()
public String getUsernameAttribute()
public String getEmailAttribute()
public Boolean getDisableDefaultLogin()
public String getNameIDFormat()
public Boolean getSignedRequest()
public Boolean getUserCreate()
public Boolean getForceAuthn()
public String getSslUrl()
public String getLoginType()
public String getRegexPattern()
public Boolean getEnableRegexPattern()
public String getSsoBindingType()
public String getSloBindingType()
public String getsPEntityID()
public String getAudienceURI()
public String getAcsURL()
public String getSpLogoutURL()
public String getBackdoorURL()
public String getUsernameCaseConversion()
public String getFullnameAttribute()
public Boolean getUserAttributeUpdate()
@NonNull public List<MoAttributeEntry> getSamlCustomAttributes()
public void setSamlCustomAttribute(List<MoAttributeEntry> samlCustomAttributes)
Copyright © 2016–2022. All rights reserved.