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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T07:25:37+00:00 2026-05-24T07:25:37+00:00

Target I have 2 webapps (in the future can be more) on the company

  • 0

Target

I have 2 webapps (in the future can be more) on the company server. User accounts in the first are different from those for the second webapp, but I can define a mapping among them.

My aim is to allow the user to login only once and gain access for both webapps. The solution is obviously the Single sign-on. I need a SSO webapp and the other webapps must rely on it to authenticate the users. I think I’ll follow this good pattern.

I work on Tomcat 7.0.

Users and mapping

  • Users for webapp1 are in a DB.
  • Users for webapp2 should come from a mapping of the former ones.

E.g. user ‘Alice’ in webapp1 corresponds to user ‘Lisa’ in webapp2; so the SSO should communicate that the user who has just logged in is ‘Alice’ to webapp1 and ‘Lisa’ to webapp2).

Question

Is it better to write my home made SSO webapp or is there any useful open source webapp ready to use (also with a little customization) that can do SSO?

I also read about SAML, but I can’t figure out if it’s worth to implement such a protocol for my use case.

Thanks!

  • 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-24T07:25:38+00:00Added an answer on May 24, 2026 at 7:25 am

    At the end I realized it’s better to build an home-made solution, even if you have to put attention on the security, because the task is not so hard and it’s so difficult to find something that suits to my simple case without an overhead of too many features.

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

Sidebar

Related Questions

Let's consider the below example. There, I have: target MAIN calls target t and
I have the Target Framework set to 2.0 on my windows application, yet when
I have this msbuild target in my csproj file: <Target Name=AfterBuild Condition= '$(Configuration)' ==
I have set the target of the pic_form to a div (pic_target). The form
I have an ant target that echo's the content of an eclipse .project file,
I have the following target: <target name=promptforchoice> <input addproperty=choice> Copy the file?. [Y, n]
I have a ant target where I successfully use a sshexec-task to install a
I have some example target = $this.attr('data-target') || e.preventDefault() || (href = $this.attr('href')) &&
I have a UIButton which fires a target action causing one view to transition
I have the following PHONY target in Makefile install: echo /usr/bin/shelldecrypt must be writable

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.