Prev Next

Tools / ForgeRock IAM interview questions

What are ForgeRock AM Policies and Policy Sets?

ForgeRock AM's policy engine provides fine-grained authorization (FGAC) — the ability to define rules that control which subjects can perform which actions on which resources, and under what conditions. This is distinct from authentication (proving who you are); policies govern what you are allowed to do once authenticated.

The policy model has three key components:

Policy Set (Application) — A container that groups related policies. Each policy set defines the resource type patterns it governs (e.g., URL patterns for web applications) and the actions that can be controlled (e.g., GET, POST, DELETE). Before creating individual policies, you must have a policy set that covers the resource type in question. AM ships with default policy sets for web agents (URL-based), OAuth2 scopes, and others.

Policy — An individual rule within a policy set. A policy specifies:

  • Resources — URL patterns or resource identifiers the policy applies to (e.g., https://app.example.com/api/*)
  • Actions — HTTP methods or custom actions and whether they are allowed or denied
  • Subjects — Who the policy applies to (authenticated users, specific groups, OAuth2 clients)
  • Conditions — Environmental or contextual constraints (IP range, time of day, authentication level, device trust)
  • Response Attributes — Additional attributes injected into the policy response that agents can use (e.g., user roles to pass as headers)

Policy Decision Point (PDP) vs Policy Enforcement Point (PEP) — AM acts as the PDP — it evaluates policies and returns decisions. Java agents, web agents, and IG act as PEPs — they intercept requests, call AM's policy endpoint, and enforce the decision by allowing or denying the request.

Policies are evaluated using AM's REST API: POST /json/policies?_action=evaluate. IG filters and AM Web/Java agents call this endpoint transparently on every protected request.

In ForgeRock AM's policy architecture, what is the difference between a Policy Decision Point (PDP) and a Policy Enforcement Point (PEP)?
What does the Conditions component of a ForgeRock AM policy control?

Invest now in Acorns!!! 🚀 Join Acorns and get your $5 bonus!

Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!

Earn passively and while sleeping

Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.

Invest now!!! Get Free equity stock (US, UK only)!

Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.

The Robinhood app makes it easy to trade stocks, crypto and more.


Webull! Receive free stock by signing up using the link: Webull signup.

More Related questions...

What is ForgeRock IAM and what are its core platform components? What is ForgeRock Access Management (AM) and what protocols does it support? What are Authentication Trees (Journeys) in ForgeRock AM and how do they differ from the older module-based authentication? What is a ForgeRock AM Realm and what is it used for? How does ForgeRock AM implement OAuth 2.0 and what grant types does it support? What is the Core Token Service (CTS) in ForgeRock AM and what does it store? What is ForgeRock Identity Management (IDM) and what is its role in the platform? What is ForgeRock Directory Services (DS) and how does it differ from a standard LDAP server? What is ForgeRock Identity Gateway (IG) and how does it protect legacy applications? What are Authentication Nodes in ForgeRock AM and can you name commonly used ones? What is OpenID Connect (OIDC) in ForgeRock AM and how does it differ from OAuth 2.0? What is SAML 2.0 federation in ForgeRock AM and how do you configure a Service Provider? What are ForgeRock AM Policies and Policy Sets? What are Java Agents and Web Agents in ForgeRock AM? How does ForgeRock AM handle Multi-Factor Authentication (MFA)? What is Social Authentication in ForgeRock AM and how does it work? What is ForgeRock AM scripting and what languages are supported? What is ForgeRock DS replication and how does it work? What is ForgeRock IDM reconciliation and how do you configure it? What are Managed Objects in ForgeRock IDM? What is ForgeRock AM's Session Management and what types of sessions exist? What is PKCE in ForgeRock AM and why is it important for public clients? What is ForgeRock Identity Cloud and how does it relate to ForgeRock Server? What is User Managed Access (UMA) in ForgeRock AM? How does ForgeRock AM support Adaptive Authentication? What is the ForgeRock Autonomous Identity product? What is the difference between Authentication Level and Authentication Context in ForgeRock AM? How does ForgeRock AM Token Exchange (RFC 8693) work? What is the ForgeRock Identity Gateway Route configuration and how does it work? What are ForgeRock IDM's password policy capabilities? What is the ForgeRock CDK (Cloud Deployment Kit) and what does it provide? What is the difference between AM 6.x authentication chains/modules and AM 7.x authentication trees?
Show more question and Answers...


Comments & Discussions