Federation is the practice of creating trust relationships between separate systems or organizations so that authentication in one grants access to another. This topic covers trust direction, transitive trust, federated identity, how federation differs from single sign-on, and the protocols that support it.
Federation in Identity Management
It's becoming more and more common for us to interlink our systems together. We call that federation. Let's cover what federation is, trust direction, transitive trust, federation versus what SSO is, protocols, and then identity services.
The idea behind federation is creating a trust between different systems. Here we've got a system, let's say A, and a system B. We can create a trust between these so that when you authenticate with one, you actually are going to be trusted by another.
Let's come up with a little scenario as an example. Let's say we have company A here and they have just been purchased by company B. So you are part of company A, and when you log in to your company, you're logging on to company A's resources. But now that they're merged to company B, you need to access some of their resources as well. It creates a trust between these two entities, so that when you log on to company A's resources you also have access to company B, and you have that access because of this trust relationship.
A federation trust could either be one-way or two-way. One-way would just mean that one organization trusts another organization but the reverse is not true. A two-way obviously would be where they trust each other.
There's also something called a transitive trust. If company A trusts company B, and company B trusts company C, then company A trusts company C. If it's a non-transitive, that means that this would not be the case, that company A just trusts company B.
A federated ID is that you have an electronic ID and certain attributes that can be used to access multiple different entities' resources.
Let's look at a common example that's being created nowadays. Let's give a little scenario. You're setting up a bank of web servers and these are going to deliver some sort of service to your end user. However, one thing you don't want to do is you don't want to store people's usernames and passwords; you want to offload that to another entity. So what you can do is you can create a trust where you trust and create a relationship with a Google or a Facebook, or some big service, Microsoft, some service that offers these services. Then what will happen is when your users try to access your bank of servers here, you would send them to be authenticated with Facebook or Google, and then once authenticated they would have access to your services.
Now this may sound a little like single sign-on, and rightfully so. The two concepts are very similar and there's some overlap between the two. So what is the difference between single sign-on and these federated IDs?
With single sign-on, you're really dealing with a company, and that company may be the company you're working for. When you sign on to that company, they've set up single sign-on to have access to all their resources. Perhaps it's also dealing with another company or another entity outside the organization that they've created some sort of trust with, but it's still part of the resources that are available to this company; it's not a separate set of resources.
Whereas with a federated ID, it's the concept where this company, company A, may have no association with Facebook or Google, or whatever it is that they're using as this authenticator. So your federated ID is with this other company, and so when you try to log into company A's resources, they're just using the Google and Facebook for the authentication piece, and then you have access to company A.
Now there are quite a few protocols out there that are helping support all this. OpenID, SAML and shith are all examples of protocols that help create this scenario, create this ability.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →