dcm4chee Archive Roles and Keycloak Realm Boundaries
The dcm4chee Archive 5 is a Java enterprise application with DICOM, HL7, HTTP, RESTful and web UI services. Its data and administration paths can be extensive. When the archive is secured with Keycloak, the identity provider becomes part of the archive boundary, and realm roles become part of the authorization model.
The ZoomEye title query title="dcm4chee" returned 7 matches on November 26, 2026, using sub_type=all, page 1 and page size 1. The application query returned zero. Seven is a small public observation, not a claim that only seven archives exist. It may reflect a title-specific fingerprint and limited product visibility. The app query's zero result is a clear limitation to record.
The dcm4che project documentation describes the archive as a WildFly application that stores DICOM objects in a separate storage backend. RESTful services and the web UI can be secured with OpenID Connect using Keycloak. The archive role documentation distinguishes a required authentication role for UI and REST access from other roles and reports a configurable super-user role with unrestricted UI access. The conformance statement describes user-authentication audit messages when the archive is secured.
Inventory the archive host, WildFly management interface, Keycloak realm, OIDC client, and storage backend as separate assets. Verify which of them are reachable from user networks. The archive UI may be protected while the WildFly administration console or direct REST endpoints remain exposed through a route that bypasses the identity-aware proxy.
Map Keycloak clients and realm roles to archive permissions. Identify every account or service identity with the super-user role. Review the authentication role, role-to-group mappings, and the archive's UI permission configuration. Test a regular authenticated user against REST operations and UI actions that should require elevated authority. Confirm that the Keycloak token audience matches the archive client and that the archive rejects tokens minted for another application in the realm.
Check audit and storage separately. A successful login is not proof that object retrieval was authorized or audited. Review system-log and audit destinations, retention, and access control. Confirm that the storage backend cannot be reached directly by a client that lacks the archive policy. For DICOM and HL7 traffic, verify the intended TLS and peer identity controls.
The external count is useful mainly as a small-footprint discovery signal. Keep the exact title query, timestamp, and observed zero app count. Pair it with the organization's own DICOM endpoint inventory. The security conclusion should rest on Keycloak role mapping, endpoint reachability, direct storage access, and validated audit evidence.
References
- dcm4chee secure archive users and roles: https://github.com/dcm4che/dcm4chee-arc-light/wiki/Secure-Archive-Users-and-Roles
- dcm4chee application data flow: https://dcm4chee-arc-cs.readthedocs.io/en/latest/networking/model/dataflow.html
- dcm4chee user-authentication audit: https://dcm4chee-arc-cs.readthedocs.io/en/latest/security/audit/user-authentication.html
- ZoomEye agent guidance: https://www.zoomeye.ai/agent.md
