Scrivio Interview library
LeadershipPrincipal6 min read · updated 12 November 2026

LDAP and Active Directory have been the identity backbone of your company for 25 years, but new SaaS tools and remote work demand cloud identity. As the senior technical leader, how would you plan the identity strategy?

I would move authentication to a cloud identity provider that becomes the authority for staff identity, speaking OIDC and SAML to applications and provisioning SaaS accounts with SCIM, federated with on-premises Active Directory at first and replacing it where possible. LDAP stays only for legacy systems that cannot change, served by a sync or an LDAP interface from the new provider. MFA and phishing-resistant authentication come first, joiner, mover and leaver processes are automated with regular access reviews, and the move is budgeted as a multi-year programme with retirement dates and tracked risks.

Why this question is asked

For many companies, Active Directory has been the answer to every identity question for decades: logins, groups, file shares, printers, VPN and hundreds of applications binding over LDAP. Remote work and SaaS have changed the shape of the problem, because users now sign in from home to tools that live outside the corporate network. Interviewers ask this leadership question to see whether a senior engineer can set a direction, keep the old world running, and sequence a migration that touches every employee. In this answer, we will look at what is changing, define the target, decide how legacy LDAP survives, put MFA first, automate the identity lifecycle, and plan the budget and timeline.

1What Has Changed and Why It Matters

Active Directory was designed for a world where users, computers and applications sit on one trusted network. Applications bind over LDAP or use Kerberos, and the network perimeter does much of the security work. Today a growing share of applications are SaaS, users work from anywhere, and the perimeter is no longer a meaningful boundary.

SaaS tools do not bind to our directory; they expect federation, single sign-on through SAML or OIDC, and automatic account creation through SCIM, the System for Cross-domain Identity Management, a standard API for creating and removing user accounts. Remote users need strong authentication on every login, not just on the VPN. These needs point to a cloud identity provider as the centre of identity, with the directory feeding it during the transition.

2Defining the Target

The target is a cloud identity provider that is the authority for authentication. Every application, SaaS or in-house, signs users in through it with OIDC or SAML. SaaS accounts are created and removed through SCIM, driven by the provider. Devices are joined to and managed by the cloud platform. The provider applies MFA and conditional access rules, such as requiring a managed device for sensitive applications.

At the start the provider is federated with, or synchronised from, the on-premises AD, so users keep one identity and one password while applications move. Over time the source of truth for identities moves from AD to the HR system and the cloud provider, and AD shrinks to what still needs it.

Step throughTarget identity architecture
  1. HR systemsource of truth for joiners, movers and leavers
  2. Cloud identity providerauthentication, MFA, conditional access, groups
  3. Protocols to applicationsOIDC and SAML for login, SCIM for provisioning
  4. SaaS and in-house applicationsno direct directory access
  5. Legacy bridgesync to remaining AD or an LDAP interface
  6. Legacy systemsLDAP and Kerberos until retired

6 layers, from the top down. Step through them one at a time.

3Keeping LDAP Only Where It Must Stay

Some systems will not change: old appliances, file servers, manufacturing systems and vendor products that only know LDAP or Kerberos. For them we keep a bridge rather than keep AD at the centre. Options include continuing to synchronise identities from the cloud provider into a smaller AD, or using an LDAP interface offered by the identity provider or a dedicated LDAP proxy.

Each legacy system gets an owner, a reason and a retirement or replacement date in a central list. The list shrinks every quarter; if it stops shrinking, that is a signal for leadership attention, because every LDAP dependency keeps the old infrastructure, and its attack surface, alive.

4MFA and Phishing Resistance First

The largest security gain of the move is strong authentication everywhere, so we do not wait for the last application to migrate before enforcing it. As each application moves to the provider, it gets MFA automatically. We make phishing-resistant methods, passkeys and hardware security keys, the standard for administrators and anyone with access to sensitive systems, and encourage them for everyone else.

We also close the paths that bypass MFA: legacy protocols that accept only a password, such as old email protocols and simple LDAP binds from the internet, and service accounts with passwords that never change. Service accounts move to managed identities or certificates where possible.

5Automating Joiners, Movers and Leavers

Identity is not just login. When someone joins, they need accounts in the right systems on day one. When they move to another team, they should gain the new team's access and lose the old team's, which is the step most companies get wrong, leaving people with years of accumulated access. When they leave, every account must be disabled the same day.

We drive this from the HR system: changes there flow to the identity provider, which updates groups and provisions or removes SaaS accounts through SCIM. Access to sensitive systems is reviewed regularly, for example quarterly, by managers who confirm or remove each person's access. These processes are often what auditors care about most, and automation makes them reliable.

Step throughA leaver, end to end
  1. HR records the leaving datesource of truth
  2. Identity provider disables the accountsame day, all sign-ins blocked
  3. SCIM removes SaaS accountsno orphaned access
  4. Sessions and tokens revokedincluding refresh tokens
  5. Legacy accounts disabled through the bridgeremaining AD and LDAP systems
  6. Report confirms nothing is leftreviewed by security

6 steps in order. Play them, or step through them one at a time.

6Budget, Timeline and Risk

A move like this takes several years in a large company: perhaps a year to establish the provider, MFA and the first wave of SaaS federation, another one or two to move in-house applications and automate the lifecycle, and a long tail for legacy systems. We budget for licences, for the platform team, for application teams' migration time and for running both worlds in parallel, which is the hidden cost.

We track risk explicitly: the number of applications still binding directly to AD, accounts without MFA, service accounts with static passwords, and legacy systems past their retirement date. Clear retirement dates for each piece of old infrastructure, agreed with leadership, are what turn the strategy into a finish line.

7Follow-up questions

Should we remove Active Directory entirely?

Only where nothing needs it. Many companies keep a smaller AD for years for file servers, Windows devices that are not yet cloud-managed and legacy applications. The goal is that AD is no longer the centre, not that it disappears on a fixed date at any cost.

How do we handle in-house applications that bind over LDAP?

Actively maintained ones move to OIDC with the identity provider, ideally through a shared library or Spring Boot starter. Unmaintained ones go behind an identity-aware proxy or use the legacy bridge until they are replaced.

What is the biggest risk during the transition?

Running two identity systems with gaps between them: a leaver disabled in one but not the other, or a legacy protocol that skips MFA. Automating the lifecycle across both and tracking bypasses closely is what keeps the transition safe.

8Conclusion

In this answer, we planned an identity strategy for a company leaving 25 years of LDAP and AD at the centre: a cloud identity provider as the authority for authentication with OIDC, SAML and SCIM, federated with AD at first; LDAP kept only for legacy systems through a bridge with retirement dates; MFA and phishing-resistant authentication enforced early; joiner, mover and leaver processes and access reviews automated from HR; and a multi-year budget with tracked risks.

What to say in the interviewAbout 90 seconds aloud

Open with

I would make a cloud identity provider the authority for authentication. Applications sign in through it with OIDC or SAML, SaaS accounts are provisioned and removed through SCIM, and it applies MFA and conditional access, for example requiring managed devices for sensitive apps.

Then, if they want more

At first it is federated with or synchronised from on-premises AD, so users keep one identity while applications move, and over time the HR system and the provider become the source of truth while AD shrinks.

LDAP stays only for systems that cannot change, served by a sync into a smaller AD or an LDAP interface from the provider, and each of those systems gets an owner and a retirement date in a central list.

I would put MFA first: every application moved to the provider gets it, administrators and sensitive access use phishing-resistant passkeys or security keys, and I close bypasses like legacy password-only protocols and static service account passwords.

Then the lifecycle: joiners, movers and leavers driven from HR through the provider and SCIM, with leavers disabled everywhere the same day and quarterly access reviews for sensitive systems.

I would budget this as a multi-year programme, including the cost of running both worlds, and track risks like apps still binding to AD, accounts without MFA and legacy systems past their dates.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Official documentation
Spring Security reference
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "LDAP and Active Directory have been the identity backbone of your company for 25 years...": https://scrivio-interview-library.netlify.app/spring-boot/authentication/49f25ddf33/