Class ConfigurableUrlVoter

  • All Implemented Interfaces:
    Voter, org.springframework.core.Ordered, org.springframework.integration.context.Orderable

    public class ConfigurableUrlVoter
    extends AbstractVoter
    • Field Detail

      • CONFIGURABLE_URL_PRECEDENCE

        public static final int CONFIGURABLE_URL_PRECEDENCE
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConfigurableUrlVoter

        public ConfigurableUrlVoter()
      • ConfigurableUrlVoter

        public ConfigurableUrlVoter​(int order)
    • Method Detail

      • getVote

        public Vote getVote​(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
      • matches

        protected boolean matches​(java.lang.String regexp,
                                  java.lang.String key)
      • addRecalculateActions

        protected void addRecalculateActions​(Vote vote,
                                             java.util.Collection<java.lang.String> actions)
      • getUrlPattern

        protected java.util.regex.Pattern getUrlPattern​(java.lang.String regex)
      • compilePattern

        protected java.util.regex.Pattern compilePattern​(java.lang.String regex)
      • actionExist

        protected boolean actionExist​(java.lang.String actionName)
      • setCxConfigurationService

        public void setCxConfigurationService​(CxConfigurationService cxConfigurationService)