@Component(value="blFormProcessor")
@ConditionalOnTemplating
public class FormProcessor
extends org.broadleafcommerce.presentation.dialect.AbstractBroadleafModelModifierProcessor
<form> element which adds a CSRF token input field to forms that are submitted
via anything but GET. This is required to properly bypass the CsrfFilter.CsrfFilter}| Modifier and Type | Field and Description |
|---|---|
protected ExploitProtectionService |
eps |
protected StaleStateProtectionService |
spps |
| Constructor and Description |
|---|
FormProcessor() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.presentation.model.BroadleafTemplateModelModifierDTO |
getInjectedModelAndTagAttributes(String rootTagName,
Map<String,String> rootTagAttributes,
org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) |
String |
getName() |
int |
getPrecedence() |
boolean |
reprocessModel() |
protected ExploitProtectionService eps
protected StaleStateProtectionService spps
public String getName()
public int getPrecedence()
getPrecedence in interface org.broadleafcommerce.presentation.dialect.BroadleafProcessorgetPrecedence in class org.broadleafcommerce.presentation.dialect.AbstractBroadleafModelModifierProcessorpublic org.broadleafcommerce.presentation.model.BroadleafTemplateModelModifierDTO getInjectedModelAndTagAttributes(String rootTagName, Map<String,String> rootTagAttributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)
public boolean reprocessModel()
reprocessModel in interface org.broadleafcommerce.presentation.dialect.BroadleafModelModifierProcessorreprocessModel in class org.broadleafcommerce.presentation.dialect.AbstractBroadleafModelModifierProcessorCopyright © 2023. All rights reserved.