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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:38:52+00:00 2026-06-13T03:38:52+00:00

At work we are developing multiple systems that are highly modular and should not

  • 0

At work we are developing multiple systems that are highly modular and should not have hard dependencies on each other. Now we need these systems to share a common mechanism for authentication and security – or in other words – SSO (Single Sign-On). It is obvious that we will have to make another module that deals with managing authorization, authentication and security – a SSO module. The point is to have it properly integrated with our other systems.

The two approaches I can think of are:

1) Expose a RESTful service(s) from the SSO that allow the authentication and authorization operations to be performed by the the other two systems.

2) Expose a common API for authentication and authorization that will wrap our SSO functionality and have the two systems reference the API and use it directly.

At the moment we are not considering using any third-party solutions in this area, and we have already done some work on the would be SSO module, so we would prefer to stick to a simple solution that would best utilize the existing efforts.

Which approach should we choose and why? What are the significant benefits of each one over the other? Is there a better alternative?

  • 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-13T03:38:53+00:00Added an answer on June 13, 2026 at 3:38 am

    “should I expose it to REST or have it wrapped in an API?”

    Go for the best of both worlds.

    1. Expose the authentication & authorization module as a RESTful service to allow the greatest interoperability regardless of the language, framework, or platform chosen for each of the modules. Anything that can communicate over HTTP could use it.
    2. Then develop a library in your language(s) of choice that communicate with your RESTful service; this will make it easier for multiple modules to use a centralized auth mechanism. So you’ll have small clients written in ruby, java, etc. depending on the languages you use for your modules.

    This sort of code reuse is one of the key tenants of a service-oriented architecture, and is the way to go in my opinion. A few colleagues and I described this in more depth in a recent presentation based on our experiences at BrightTag and other companies.

    Many “enterprise” SSO systems like CAS use a very similar approach (though the CAS protocol isn’t RESTful). If you want more advanced features, I would definitely give CAS a look.

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

Sidebar

Related Questions

I have this web page I'm developing that displays multiple images of one product
I have to work with another team that is developing in php, when I'm
I have 5 years of work experience in developing WEB and WIN application using
I am developing a Framework for the company that I work for that they
I'm developing web app that user can save his/her work to server. The data
I'm developing a simple php mvc that'll do the bare minimum but work how
Here at work we have a very large application with multiple sub applications. (500
I am developing an application that requires multiple webcams. In order to make sure
I am developing a website that has some sort of realtime update. Now the
I'm developing a project that has multiple programs that share a single, lazy loaded

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.