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 8700023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:05:32+00:00 2026-06-13T02:05:32+00:00

We are using Spring 3 framework and we have a SSO (Single sign on)

  • 0

We are using Spring 3 framework and we have a SSO (Single sign on) provider which redirects to our app passing special tokens in the request to indicate the user is authenticated.

I would like to use Spring security to handle stuff like denying access to pages unless the user is authenticated, but I’d also like to be able to bypass this on my local machine while developing the application.

So in the production scenario, I expect the SSO to redirect to our app, specifically to a “/login.html” target which is supposed to somehow trigger a custom class I write to pull the expected login info from request and load up the user’s info from our database and put it in session for the rest of the app to use.

Then in the development scenario I need to bypass SSO by just being able to create a session using a custom login page and then load the user’s info from database just as above.

I am trying to figure out how to do it myself but I can’t seem to wrap my head around all of it.

Any info on how to accomplish this even just high level kind of road map would be a huge help

  • 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-06-13T02:05:33+00:00Added an answer on June 13, 2026 at 2:05 am

    If you write a custom AuthenticationProvider for Spring Security to authenticate with your SSO provider, then you could have two Spring Security configurations, one that wires up your custom AuthenticationProvider for production and one for development that uses a standard authentication provider.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Greetings all i have a j2ee app using spring framework and while debugging on
I have a portlet application. It is configured using Spring framework IoC container. I
I have this web application using Spring Web Flow framework. In my main page
Our application is developed using Spring framework. Is it good practice to check null
I have a massive GWT project with using of spring framework. It's running on
I have an application that is already using the Spring Framework and Spring JDBC
Hi have this j2ee web application developed using spring framework. I have a problem
I have a java web application which uses spring webflow as framework. I have
I am using Spring Framework transactional annotations for transaction managing and I have an
I have a Java servlet container using the Spring Framework. Pages are generated from

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.