public class ConfigurableUrlVoter extends AbstractVoter
| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIGURABLE_URL_PRECEDENCE |
| Constructor and Description |
|---|
ConfigurableUrlVoter() |
ConfigurableUrlVoter(int order) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
actionExist(java.lang.String actionName) |
protected void |
addRecalculateActions(Vote vote,
java.util.Collection<java.lang.String> actions) |
protected java.util.regex.Pattern |
compilePattern(java.lang.String regex) |
protected CxConfigurationService |
getCxConfigurationService() |
protected java.util.regex.Pattern |
getUrlPattern(java.lang.String regex) |
Vote |
getVote(HttpServletRequest request,
HttpServletResponse response) |
protected boolean |
matches(java.lang.String regexp,
java.lang.String key) |
void |
setCxConfigurationService(CxConfigurationService cxConfigurationService) |
getDefaultVote, getOrder, setOrderpublic static final int CONFIGURABLE_URL_PRECEDENCE
public ConfigurableUrlVoter()
public ConfigurableUrlVoter(int order)
public Vote getVote(HttpServletRequest request, HttpServletResponse response)
protected boolean matches(java.lang.String regexp,
java.lang.String key)
protected void addRecalculateActions(Vote vote, java.util.Collection<java.lang.String> actions)
protected java.util.regex.Pattern getUrlPattern(java.lang.String regex)
protected java.util.regex.Pattern compilePattern(java.lang.String regex)
protected boolean actionExist(java.lang.String actionName)
protected CxConfigurationService getCxConfigurationService()
public void setCxConfigurationService(CxConfigurationService cxConfigurationService)
Copyright © 2018 SAP SE. All Rights Reserved.