Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7158761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:07:11+00:00 2026-05-28T13:07:11+00:00

We just recently upgraded from Spring Security version 3.0 to version 3.1. Our old

  • 0

We just recently upgraded from Spring Security version 3.0 to version 3.1. Our old configuration file was apparently using a deprecated feature where you can disable security for <intercept-url> blocks within the <http> block using the ‘filter=”none”‘ option. Here’s a snippet from our old applicationContext-security.xml file:

<http ...>
    <intercept-url pattern="/resetPassword" filter="none" requires-channel="https" />
</http>

Spring Security 3.1 forces you to define additional <http> blocks to turn off security for certain URL patterns:

<http security="none" pattern="/resetPassword" />

Question: How do I force the HTTPS channel for this new <http> block?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:07:12+00:00Added an answer on May 28, 2026 at 1:07 pm

    The configuration you were using was not actually requiring https, because filters=”none” means that Spring Security should not pay attention to that request. Instead for both Spring Security 3 and 3.1 you should use something like:

      <http use-expressions="true" ...>
        <intercept-url pattern="/resetPassword" access="permitAll" requires-channel="https" />
      </http>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We just recently upgraded from VS2008 to VS2010. Our project compiles fine; but when
I am using visual studio 2008 on vista business. We just recently upgraded from
I've just recently upgraded to SQL Server 2008 from 2005 and when I attempt
We just recently migrated our web application from .NET 1.1 to .NET 2.0. The
I just recently upgraded from VS2008 to VS2010. Because I do a lot of
I've recently upgraded from NHibernate 1.2 to 3.1 in an old code base. I've
I have a project using DevExpress 8.3 (2008.3) which I just recently upgraded to
I recently upgraded my computer, and moved from XP to Win7. We have old
We just recently upgraded from VS2005 to VS2010. I've noticed that unlike VS2005, when
We just recently upgraded our application and noticed that we're getting runtime errors on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.