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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:13:30+00:00 2026-05-16T11:13:30+00:00

What are the strategies for implementing single sign-on in web applications?

  • 0

What are the strategies for implementing single sign-on in web applications?

  • 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-16T11:13:31+00:00Added an answer on May 16, 2026 at 11:13 am

    You added j2ee as a tag so I’m going to assume this is a java question. You can implement single sign on in code by… well… writing code. Use the built in j2ee authentication or roll your own.

    See this answer for possibilities: Single sign-on in Java EE

    The basic strategy is to invent some kind of shared cookie strategy that all of the web sites can read. For example, if you are developing a single sign-on solution for xyz.company.com and abc.company.com, then deliver a session cookie of some kind from with a path of company.com. Both sites can access this session and see “Oh this guy has logged in before.”

    There are also strategies for web single sign on when you are authenticating users to totally distinct sites like MySiteA.com and MySiteB.com.

    To prevent replay attacks, you will need to carry a common session store of some kind that your web pages can validate this cookie with on every page request. You didn’t tag this .NET, but in .NET this means you have to move session state out of the IIS worker process, which is not the default when you select File > New Project… for web applications.

    Your application will have to guard every incoming web request because you are now trusting that cookie as a “ticket” or “proof of entry.” You will need a strategy to deauthorize that cookie (on logout or timeout or other).

    Most web frameworks, including J2EE, .NET, or application servers like WebSphere, have solutions for this. You will have to research them and get familiar with the techniques you need.

    You can also buy third party access software such as CA Siteminder. In this case, you write no authentication and access code and you let their web agents stand guard in front of your app. They also have single sign-on solutions for multiple web sites that may or may not share a common higher level domain.

    I am not explicitly recommending this product. I am saying you have asked a very very big question and that you can use java to solve your problem or buy third party products that try to do the same.

    This is a HUGE topic that I have NOT attempted to cover in detail. This is not a sufficient answer. The point is that you will need to select more pieces of your architecture before you can get more specific help and guidance.

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

Sidebar

Related Questions

I am looking for any strategies people use when implementing server applications that service
I'm wondering what strategies people use for reduced sign on with legacy applications and
What are some strategies to achieve code separation in AJAX applications? I am building
I am implementing a few strategies (Strategy Pattern) which have some common behavior and
My mate and I are designing/implementing a web based media application. It will provide
What are the best approaches to implementing monads in C#? Are there particular implementation-strategies
What strategies do you use to internationalize web application written in ZK? I'm currently
What are some effective strategies for preventing the use of my proprietary images? I'm
What are some strategies that people have had success with for maintaining a change
Do you have any strategies for retrofitting unit tests onto a code base that

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.