hudson.security.csrf
Class GlobalCrumbIssuerConfiguration

java.lang.Object
  extended by hudson.model.Descriptor<GlobalConfiguration>
      extended by jenkins.model.GlobalConfiguration
          extended by hudson.security.csrf.GlobalCrumbIssuerConfiguration
All Implemented Interfaces:
ExtensionPoint, Describable<GlobalConfiguration>, Saveable

@Extension(ordinal=195.0)
public class GlobalCrumbIssuerConfiguration
extends GlobalConfiguration

Show the crumb configuration to the system config page.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
GlobalCrumbIssuerConfiguration()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
          Invoked when the global configuration page is submitted.
 GlobalConfigurationCategory getCategory()
          Every GlobalConfiguration belongs to a specific category.
 
Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getDisplayName, getGlobalConfigPage
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, 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, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalCrumbIssuerConfiguration

public GlobalCrumbIssuerConfiguration()
Method Detail

getCategory

public GlobalConfigurationCategory getCategory()
Description copied from class: GlobalConfiguration
Every GlobalConfiguration belongs to a specific category.

Overrides:
getCategory in class GlobalConfiguration
Returns:
never null, always the same value for a given instance of GlobalConfiguration.

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject json)
                  throws Descriptor.FormException
Description copied from class: Descriptor
Invoked when the global configuration page is submitted. Can be overriden to store descriptor-specific information.

Overrides:
configure in class Descriptor<GlobalConfiguration>
json - The JSON object that captures the configuration data for this Descriptor. See http://wiki.jenkins-ci.org/display/JENKINS/Structured+Form+Submission
Returns:
false to keep the client in the same config page.
Throws:
Descriptor.FormException


Copyright © 2004-2013. All Rights Reserved.