A company wants its identity provider to create accounts at a cloud payroll service before new staff first sign in, update them when staff change jobs, and delete them when staff leave.
Where the identity service runs: on-premises, cloud or both
An organisation that signs its staff in to outside services must decide where its own identity provider lives. It can run on the organisation's servers, with a cloud provider, or split between the two. No background is assumed. A security professional has to know what each choice costs, how accounts reach the outside service, and what keeps working after someone's account is disabled.
By the end of this unit you will be able to:
- Tell apart on-premises, cloud and hybrid identity providers by who runs them and where sign-in is checked
- Explain identity as a service and the risks it moves to a provider
- Tell apart just-in-time provisioning and pre-provisioning, and name SCIM
- Explain why disabling an account at the identity provider may not end access everywhere
- Put federation assurance levels FAL1 to FAL3 in order of strength
Disabled at nine, downloading at eleven
An illustrative example
A recruitment agency dismisses a consultant at nine in the morning. The office manager disables her account at once, and she can no longer sign in to email or the shared drive.
At eleven, the agency's cloud recruitment system records her exporting the full list of candidates. She did it from the system's app on her own phone, which she had signed in to the week before and never signed out of.
Her account was disabled two hours earlier. What let the export happen?
Three places an identity provider can run
In federation with a third-party service, the belongs to someone else: a cloud payroll system, a supplier's portal, a training site. The organisation's own identity provider vouches for its staff. Where that provider runs is a separate choice.
| Model | Who runs the identity provider | Main strength | Main risk |
|---|---|---|---|
| On-premises | The organisation, on its own servers, beside its directory | Full control of data, methods and | Its own staff must keep it available, patched and reachable from outside |
| Cloud | A provider, as a service the organisation subscribes to | Run, scaled and kept available by the provider | A provider outage or breach affects every service behind it |
| Hybrid | Both: an on-premises directory remains the source, linked to a cloud service | Keeps existing systems while adding cloud sign-in | Two places to protect, and accounts copied between them can fall out of step |
Whichever model is chosen, a trust agreement with each outside service still applies. It says which provider the service accepts, which keys sign the assertions, which attributes are sent, and what happens when an account closes.
Identity as a service
Identity as a service (IDaaS) is identity and access management delivered from the cloud. A provider runs the directory, the sign-in pages, and the federation connections. The systems it serves may be on-premises, in the cloud or both.
The organisation gains a service that is maintained and monitored by specialists, with ready-made connections to common cloud applications. Small organisations can have strong sign-in without running servers.
It moves rather than removing it. The provider becomes the single point of failure for every connected service, and a breach at the provider exposes many customers at once. The organisation still owns its accounts and policy: who is created, which methods are required, and how quickly leavers are removed. It also remains accountable for the result.
So the choice is a risk decision for management. It is backed by contract terms on , breach notification, where data is held, and the right to leave with the organisation's identity data.
Hybrid: three ways to check a password, and the cost of copying
A hybrid set-up usually keeps the on-premises directory as the source of truth. Accounts reach the by directory synchronisation, a scheduled process that copies new accounts, changes and deletions from one directory to another. Microsoft's hybrid service offers three ways to check the password.
- Password hash synchronisation
- of the passwords are copied to the cloud, and the cloud checks sign-ins itself. Sign-in survives an outage in the office. A disabled account can still sign in until the next synchronisation, up to 30 minutes later.
- Pass-through authentication
- The cloud passes each password to software agents in the office, which check it against the on-premises directory. A disabled or locked account is refused at once. If the office is unreachable, nobody signs in.
- Federation
- The cloud hands sign-in to an on-premises federation server, which authenticates the user and returns an assertion. It gives the most control and needs the most servers to keep running.
Synchronisation brings three risks. Changes arrive late, so for a while the two directories disagree. A copy of password data now lives in a second place. And the account that runs synchronisation needs rights in both directories, which makes it a valuable target.
Creating the account at the other end
The outside service still needs an account record to attach the user's data and permissions to. Provisioning is creating that record; deprovisioning is removing or disabling it.
- Just-in-time provisioning
- The relying party creates the account the first time it receives an assertion for a user it does not know, using the attributes inside. Nothing is set up in advance.
- Pre-provisioning
- The account is created before the user's first sign-in, usually by the identity provider through a provisioning interface. Permissions can be ready on day one.
Just-in-time provisioning has a gap: it creates accounts on arrival, but nothing removes them when the user leaves. Pre-provisioning through an interface can do both.
The System for Cross-domain Identity Management (SCIM) is the IETF standard for that interface. The identity provider creates, updates and deletes user and group records at the outside service over the web, in a common format. The Service Provisioning Markup Language (SPML) is an older XML standard from OASIS for the same purpose.
Just-in-time provisioning is different from , which grants extra rights for a short time and then removes them.
What still works after an account is disabled
Disabling the account at the identity provider stops new federated sign-ins. Three things can survive it.
- Sessions already open at relying parties. Each relying party runs its own sessions, separate from the identity provider's, and ending one does not end the others.
- Tokens already issued. A refresh token held by an app can keep producing access tokens until it expires or is revoked.
- Local accounts at the relying party: an account with its own password, created before federation or for an administrator, which never asks the identity provider.
The consultant's phone app in the opening case held the first two. The repair is to tell the relying parties. The identity provider should signal each relying party when an account is terminated, through a provisioning interface such as SCIM or a shared signal. The relying party then ends the account's sessions and tokens. Short session limits narrow the window, and a regular check for local accounts closes the third path.
Common misconception
“Disabling a leaver's account at the identity provider ends their access to every federated service.”
It ends new sign-ins only. Open sessions, issued tokens and local accounts at each service survive until they are ended there, so deprovisioning must reach every relying party.
How strongly an assertion is protected: FAL1 to FAL3
NIST sets three federation assurance levels (FAL) for how well an assertion is protected on its way to the relying party. A bearer assertion works for anyone who holds it. A holder-of-key assertion names a key or authenticator, and the user must also prove possession of it, so a stolen copy alone is useless. Assertion injection is an attacker slipping a stolen or forged assertion into a relying party.
| Level | Revision 4 | Revision 3 |
|---|---|---|
| FAL1 | Bearer assertion signed by the identity provider | Bearer assertion signed by the identity provider |
| FAL2 | Also for one relying party only, protected against injection, under a trust agreement set up in advance | Also to the relying party |
| FAL3 | Also holder-of-key, or bound to an authenticator the user must prove | Holder-of-key, signed and encrypted |
Each level includes everything below it. The level is chosen like any other control: from the harm a forged or stolen assertion would do at that relying party.
A question, worked through
A housing association copies its on-premises directory to a cloud identity service using password hash synchronisation. An audit finds that dismissed staff could still sign in to cloud email for up to half an hour after their accounts were disabled on-premises. The board wants a disabled account refused at its next sign-in attempt.
Which change BEST meets the board's requirement?
Decide on your answer, then open the reasoning
- The question asks how to make a disabled account fail at the very next sign-in. The cause is the delay before synchronisation carries the disabled state to the cloud.
- Rule out d: password age changes when passwords must be replaced. A dismissed member of staff with a current password is unaffected.
- Rule out c: a monthly review finds accounts that were missed. It does nothing about the half hour after a correct disable.
- Between a and b: multi-factor authentication is valuable, but a dismissed person often still holds the phone that provides the second factor.
- Pass-through authentication checks each password against the on-premises directory at the moment of sign-in, so a disabled account is refused at once. Option a is the best answer. Open sessions still need ending separately.
Answer: A. Check each cloud sign-in live against the on-premises directory
Choosing between good answers
- A question describes a leaver still using a cloud service after the account was disabled at the identity provider
- look for open sessions, unexpired tokens or a local account at that service. Choose deprovisioning that reaches the relying party.
- Accounts at an outside service are created the first time a user arrives with an assertion
- it is just-in-time provisioning. Creating them in advance through an interface such as SCIM is pre-provisioning.
- An organisation weighs moving identity to a cloud provider
- treat it as a risk decision for management: the provider becomes a single point of failure, while accountability stays with the organisation.
- A stolen assertion must be useless on its own
- choose FAL3, a holder-of-key assertion, which also requires proof of a key.
Check your understanding
5 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.
These questions are drafts that no named reviewer has approved yet.
Question 1 of 5
What to remember
- An on-premises identity provider is run by the organisation, a cloud one is bought as identity as a service, and hybrid links an on-premises directory to a cloud service.
- Hybrid synchronisation delays changes, copies password data to a second place and creates a powerful synchronisation account.
- Just-in-time provisioning creates the account on first sign-in; pre-provisioning creates it in advance, usually through SCIM, which can also remove it.
- Disabling an account at the identity provider stops new sign-ins only. Sessions, tokens and local accounts at each relying party must be ended there.
- FAL1 is a signed bearer assertion, FAL2 adds protection for one relying party, and FAL3 requires holder-of-key proof.
Say it from memory
What does running the identity provider on-premises mean for federation with a third-party service?
The organisation runs the identity provider and directory on its own servers and federates outward to the outside service. It keeps full control of data, methods and policy, and must itself keep the service available, patched and reachable. An on-premises outage stops sign-in to every federated service.
What is identity as a service, and what does it change about risk?
Identity and access management delivered from the cloud: a provider runs the directory, sign-in, multi-factor authentication and federation connections. The provider becomes a single point of failure and a shared breach target, so contract terms matter. The organisation keeps ownership of accounts and policy, and accountability.
What is a hybrid identity model, and what risks does synchronisation bring?
An on-premises directory stays the source and is copied to a cloud identity service, with passwords checked by hash synchronisation, pass-through or federation. Synchronisation delays changes such as a disabled account, puts password data in a second place, and creates a synchronisation account powerful in both directories.
How does just-in-time provisioning differ from pre-provisioning, and what is SCIM?
Just-in-time provisioning creates the account at the relying party the first time it receives an assertion for an unknown user; nothing removes it when the user leaves. Pre-provisioning creates the account before first sign-in, usually through a provisioning interface that can also remove it. SCIM is the IETF standard for that interface.
What three things can survive disabling an account at the identity provider, and what is the repair?
Sessions already open at relying parties, tokens already issued such as refresh tokens, and local accounts at the relying party that never ask the identity provider. The identity provider signals each relying party when an account is terminated, through SCIM or a shared signal, and the relying party ends its sessions and tokens. Short session limits and checks for local accounts help.
How does a bearer assertion differ from a holder-of-key assertion, and what does FAL3 require in revision 4?
A bearer assertion works for anyone who holds it. A holder-of-key assertion names a key or authenticator the user must also prove possession of, so a stolen copy alone is useless. FAL3 requires a holder-of-key assertion, or one bound to an authenticator the user must prove, on top of everything in FAL1 and FAL2.
Sources
- CISSP Student Glossary, ISC2Identity as a service as cloud-delivered identity and access management for systems on-premises, in the cloud or both.
- Authentication for Microsoft Entra hybrid identity solutions, MicrosoftPassword hash synchronisation, pass-through authentication and federation as hybrid sign-in methods; disabled accounts enforced with up to a 30-minute delay under hash synchronisation; immediate enforcement of on-premises account state with pass-through; dependence of pass-through and federation on on-premises infrastructure.
- NIST SP 800-63C-4: Federation and Assertions, NISTThe trust agreement; just-in-time, pre-provisioning and ephemeral provisioning; relying party sessions managed separately from the identity provider's; the identity provider signalling relying parties when an account is terminated; holder-of-key assertions; and the revision 4 FAL table.
- NIST SP 800-63C: Digital Identity Guidelines, Federation and Assertions (revision 3), National Institute of Standards and TechnologyRevision 3 federation assurance levels: bearer assertion signed by the identity provider, then also encrypted to the relying party, then holder-of-key.
- RFC 7643: System for Cross-domain Identity Management: Core Schema, IETFThe SCIM core schema for user and group records.
- RFC 7644: System for Cross-domain Identity Management: Protocol, IETFSCIM as an HTTP-based protocol for managing identities across domains, such as from an enterprise to cloud service providers.
- OASIS Provisioning Services Technical Committee (SPML), OASISSPML as an XML-based framework for exchanging user, resource and service provisioning information, defined by the OASIS Provisioning Services committee, now completed.
- RFC 6749: The OAuth 2.0 Authorization Framework, IETFRefresh tokens used to obtain new access tokens without the user.