@Extension
public final class NegotiateSSO
extends jenkins.model.GlobalConfiguration
| Constructor and Description |
|---|
NegotiateSSO()
Initializes and starts the filter, if enabled.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
When submit is pressed on the global config page and any settings for
this plugin are changed, this method is called.
|
hudson.util.ListBoxModel |
doFillPrincipalFormatItems()
Used by groovy for data-binding.
|
hudson.util.ListBoxModel |
doFillProtocolsItems()
Used by groovy for data-binding.
|
hudson.util.ListBoxModel |
doFillProvidersItems()
Used by groovy for data-binding.
|
hudson.util.ListBoxModel |
doFillRoleFormatItems()
Used by groovy for data-binding.
|
jenkins.model.GlobalConfigurationCategory |
getCategory()
Get the proper category for the settings location
|
String |
getDisplayName()
The Plugin Display name
|
boolean |
getEnabled()
Used by groovy for data-binding.
|
static NegotiateSSO |
getInstance()
Fetches the singleton instance of this plugin.
|
String |
getPrincipalFormat()
Used by groovy for data-binding.
|
String |
getProtocols()
Used by groovy for data-binding.
|
String |
getProviders()
Used by groovy for data-binding.
|
String |
getRedirect()
Used by groovy for data-binding.
|
String |
getRoleFormat()
Used by groovy for data-binding.
|
boolean |
isAllowImpersonate()
Used by groovy for data-binding.
|
boolean |
isAllowLocalhost()
Used by groovy for data-binding.
|
boolean |
isRedirectEnabled()
Used by groovy for data-binding.
|
void |
setPrincipalFormat(String format)
Used by groovy for data-binding.
|
void |
setProtocols(String protocol)
Used by groovy for data-binding.
|
void |
setProviders(String provider)
Used by groovy for data-binding.
|
void |
setRedirect(String redirect)
Used by groovy for data-binding.
|
void |
setRoleFormat(String format)
Used by groovy for data-binding.
|
void |
start()
Starts the plugin.
|
all, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic NegotiateSSO()
public static NegotiateSSO getInstance()
public jenkins.model.GlobalConfigurationCategory getCategory()
getCategory in class jenkins.model.GlobalConfigurationpublic String getDisplayName()
getDisplayName in class jenkins.model.GlobalConfigurationpublic void start()
throws javax.servlet.ServletException
javax.servlet.ServletException - if the Waffle NTLM/Kerberos filter cannot be added to
Jenkins.public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>req - the Stapler Request to serve.formData - the JSON data containing the new configuration.Descriptor.FormException - if any data in the form is wrong.public boolean getEnabled()
public String getRoleFormat()
public void setRoleFormat(String format)
format - set the role formatpublic String getPrincipalFormat()
public void setPrincipalFormat(String format)
format - set the principal formatpublic String getProtocols()
public void setProtocols(String protocol)
protocol - set the principal formatpublic String getProviders()
public void setProviders(String provider)
provider - set the principal formatpublic boolean isAllowImpersonate()
public boolean isAllowLocalhost()
public boolean isRedirectEnabled()
public String getRedirect()
public void setRedirect(String redirect)
redirect - the site to redirect topublic hudson.util.ListBoxModel doFillRoleFormatItems()
public hudson.util.ListBoxModel doFillPrincipalFormatItems()
public hudson.util.ListBoxModel doFillProtocolsItems()
public hudson.util.ListBoxModel doFillProvidersItems()
Copyright © 2016. All rights reserved.