Package org.mockserver.scim
Class ScimProviderGenerator
java.lang.Object
org.mockserver.scim.ScimProviderGenerator
Generates MockServer
Expectations that serve a complete SCIM 2.0 provider: CRUD over
Users and Groups plus the SCIM discovery endpoints
(/ServiceProviderConfig, /ResourceTypes, /Schemas).
Mirrors OidcProviderGenerator: dynamic endpoints are served by
HttpClassCallbacks that resolve their state from ScimResourceStore, while the
static discovery documents are served by plain response() expectations. Every expectation
carries a stable withId(...) keyed by base path, so re-running PUT /mockserver/scim
upserts rather than duplicates.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(ScimProviderConfiguration config) Generates SCIM provider expectations from the given configuration and registers the backing Users/Groups stores inScimResourceStore.
-
Constructor Details
-
ScimProviderGenerator
public ScimProviderGenerator()
-
-
Method Details
-
generate
Generates SCIM provider expectations from the given configuration and registers the backing Users/Groups stores inScimResourceStore.- Parameters:
config- the provider configuration (must not be null)- Returns:
- the generated expectations (never empty)
-