Behind a TLS edge
For platforms that terminate TLS for you with a publicly trusted certificate.
- A plaintext HTTP handler on an unprivileged port serves only the AuthZEN Adapter, and the platform's edge adds TLS in front of it.
- The admin configuration and directory REST servlets stay off that handler, so the public port exposes the AuthZEN API and nothing else.
- Set a bearer
api-keyto guard every endpoint except the two discovery documents. Without it, the adapter admits any caller. - The metadata document honours
X-Forwarded-Proto,-Hostand-Port, so clients discover your public URLs rather than the container's.
dsconfig set-connection-handler-prop \ --handler-name "HTTP Connection Handler" \ --set enabled:true --set listen-port:1080 \ --set "http-servlet-extension:AuthZEN Adapter"