public class SamlSecurityRealm
extends hudson.security.SecurityRealm
| Modifier and Type | Class and Description |
|---|---|
static class |
SamlSecurityRealm.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSUMER_SERVICE_URL_PATH |
| Constructor and Description |
|---|
SamlSecurityRealm(String signOnUrl,
String idpMetadata,
String displayNameAttributeName,
String groupsAttributeName,
Integer maximumAuthenticationLifetime,
String usernameAttributeName,
SamlEncryptionData encryptionData) |
SamlSecurityRealm(String signOnUrl,
String idpMetadata,
String displayNameAttributeName,
String groupsAttributeName,
Integer maximumAuthenticationLifetime,
String usernameAttributeName,
SamlEncryptionData encryptionData,
String usernameCaseConversion)
Jenkins passes these parameters in when you update the settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsSignup() |
hudson.security.SecurityRealm.SecurityComponents |
createSecurityComponents() |
org.kohsuke.stapler.HttpResponse |
doCommenceLogin(org.kohsuke.stapler.StaplerRequest request,
String referer)
/securityRealm/commenceLogin
|
org.kohsuke.stapler.HttpResponse |
doFinishLogin(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
/securityRealm/finishLogin
|
org.kohsuke.stapler.HttpResponse |
doMetadata(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
/securityRealm/metadata
URL request service method to expose the SP metadata to the user so that
they can configure their IdP.
|
String |
getDisplayNameAttributeName() |
SamlEncryptionData |
getEncryptionData() |
String |
getGroupsAttributeName() |
String |
getIdpMetadata() |
String |
getKeystorePassword() |
String |
getKeystorePath() |
String |
getLoginUrl() |
Integer |
getMaximumAuthenticationLifetime() |
String |
getPrivateKeyPassword() |
String |
getSpMetadata() |
String |
getUsernameAttributeName() |
String |
getUsernameCaseConversion() |
void |
setIdpMetadata(String idpMetadata) |
void |
setUsernameAttributeName(String attribute) |
void |
setUsernameCaseConversion(String usernameCaseConversion) |
all, canLogOut, commenceSignup, createCliAuthenticator, createFilter, doCaptcha, doLogout, findBean, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getDescriptor, getGroupIdStrategy, getPostLogOutUrl, getSecurityComponents, getUserIdStrategy, loadGroupByGroupname, loadGroupByGroupname, loadUserByUsername, setCaptchaSupport, validateCaptchapublic static final String CONSUMER_SERVICE_URL_PATH
@DataBoundConstructor public SamlSecurityRealm(String signOnUrl, String idpMetadata, String displayNameAttributeName, String groupsAttributeName, Integer maximumAuthenticationLifetime, String usernameAttributeName, SamlEncryptionData encryptionData, String usernameCaseConversion)
public boolean allowsSignup()
allowsSignup in class hudson.security.SecurityRealmpublic hudson.security.SecurityRealm.SecurityComponents createSecurityComponents()
createSecurityComponents in class hudson.security.SecurityRealmpublic String getLoginUrl()
getLoginUrl in class hudson.security.SecurityRealmpublic org.kohsuke.stapler.HttpResponse doCommenceLogin(org.kohsuke.stapler.StaplerRequest request,
@Header(value="Referer")
String referer)
public org.kohsuke.stapler.HttpResponse doFinishLogin(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
public org.kohsuke.stapler.HttpResponse doMetadata(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
public String getIdpMetadata()
public void setIdpMetadata(String idpMetadata)
public String getUsernameAttributeName()
public void setUsernameAttributeName(String attribute)
public String getSpMetadata()
public String getDisplayNameAttributeName()
public String getGroupsAttributeName()
public Integer getMaximumAuthenticationLifetime()
public SamlEncryptionData getEncryptionData()
public String getKeystorePath()
public String getKeystorePassword()
public String getPrivateKeyPassword()
public String getUsernameCaseConversion()
public void setUsernameCaseConversion(String usernameCaseConversion)
Copyright © 2016. All rights reserved.