Results 1 to 2 of 2

Thread: Support for PATCH HTTP method?

Hybrid View

  1. #1

    Default Support for PATCH HTTP method?

    I noticed that in the security XML config you cannot put "PATCH" as the HTTP method (just the regular POST, GET, PUT, DELETE), etc.

    Code:
    <intercept-url pattern="/**" access="ROLE_UPDATE" method="PATCH"/>
    Are there any plans to allow the new PATCH method in the XML schema?

    RoR has already moved to PATCH as their primary HTTP method for update operations:
    http://weblog.rubyonrails.org/2012/2...d-for-updates/

    and it is trivial to add PATCH support to JAX-RS as well:

    Code:
    @Target({ ElementType.METHOD })
    @Retention(RetentionPolicy.RUNTIME)
    @HttpMethod("PATCH")
    public @interface PATCH {}

  2. #2
    Join Date
    Jan 2008
    Posts
    1,826

    Default

    This is not currently supported. Please create a JIRA if you would like to see this feature.
    Rob Winch - @rob_winch
    Spring Security Lead
    Pivotal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •