Loading…
Topic
LDAP
2 posts about LDAP. Every summary links to the original.
- 2 posts
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Advanced authentication for Data Grid in Red Hat OpenShift 4: LDAP and LDAPS
This article, part 2 of a series on securing Red Hat Data Grid on OpenShift 4, explains direct LDAP and LDAPS authentication against directory services using the Data Grid operator. The operator references a ConfigMap via spec.configMapName on the Infinispan custom resource to define LDAP server URLs, principal credentials, search DNs, and user role mappings. For LDAPS, the operator imports the directory server certificate into the pod truststore via a secret referenced by spec.security.endpointEncryption.clientCertSecretName, with clientCert set to None, Validate, or Authenticate to control mutual TLS. A test setup deploys OpenLDAP using a Helm chart and configures the security realm; the example uses hardcoded plaintext credentials, but production deployments should use encrypted keystores or OpenShift secrets. The author recommends LDAPS for production to encrypt credentials in transit and positions direct LDAP as a lean alternative to deploying a centralized SSO identity provider like Keycloak.
From hours to minutes: Optimizing Red Hat Developer Hub performance testing with immutable LDAP images
Red Hat Developer Hub performance testing became slow and unreliable as runtime generation of large user and group catalogs stretched environment setup and introduced synchronization failures. Previously, the framework created entries through serialized Keycloak Admin REST API operations, then waited for paginated synchronization into the Developer Hub database; concurrency could not eliminate timeouts, rate limits, or incomplete catalogs. The replacement uses immutable, pre-built LDAP container images selected by an RBAC_POLICY-USER_COUNTu-GROUP_COUNTg convention, with slapadd loading seed data directly into offline LMDB files in a multi-stage build. LDAP starts with 10,000-plus indexed users, while Keycloak serves as an authentication gateway and Developer Hub waits for its initial catalog sync. Reported population time fell from 22-plus hours to 2 minutes 8 seconds for 10,000 users and 150,000 groups, while the immutable approach made tests deterministic, reduced flaky failures, stabilized baselines, and enabled larger reproducible scenarios.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.