Package hudson.security.csrf
Class CrumbIssuerDescriptor<T extends CrumbIssuer>
- Direct Known Subclasses:
DefaultCrumbIssuer.DescriptorImpl
Describes global configuration for crumb issuers. Create subclasses to specify
additional global configuration for custom crumb issuers.
- Author:
- dty
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
ModifierConstructorDescriptionprotected
CrumbIssuerDescriptor
(String salt, String crumbRequestField) Crumb issuers always take a salt and a request field name. -
Method Summary
Modifier and TypeMethodDescriptionGets the request parameter name that contains the crumb generated from a previous response.Get the salt value.void
setCrumbRequestField
(String requestField) Set the request parameter name.void
setCrumbSalt
(String salt) Set the salt value.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
CrumbIssuerDescriptor
Crumb issuers always take a salt and a request field name.- Parameters:
salt
- Salt valuecrumbRequestField
- Request parameter name containing crumb from previous response
-
-
Method Details
-
getCrumbSalt
Get the salt value. -
setCrumbSalt
Set the salt value. Must not be null. -
getCrumbRequestField
Gets the request parameter name that contains the crumb generated from a previous response. -
setCrumbRequestField
Set the request parameter name. Must not be null.
-