AdminConfig
Configuration data for administrative HTTP endpoints exposed by GenericService and GenericKtorService.
Controls whether the admin servlet group is enabled and defines the port, bind address, filters, and URL paths for standard operational endpoints (ping, version, health check, thread dump). Paths may be given with or without a leading slash.
The endpoints are served without authentication unless filters add it, and they reveal a good deal: the thread dump shows every thread's stack, and the health check names each check and whether it passes. So the admin server binds only loopback unless host says otherwise, and binding every interface logs a WARN.
Constructors
Properties
Servlet filters that every request to the admin server passes through, in list order, before it reaches an endpoint: the built-in ones and those the init method's servlet block adds. A filter can answer a request itself, for example with a 401, to require authentication. Empty by default. On GenericKtorService's server they wrap each servlet, so a request for a path no servlet serves, or for a route the initKtor block adds, does not pass through them. A filter instance given to both this and MetricsConfig.filters is initialized and destroyed by each server.
The URL path for the health check endpoint.
The URL path for the thread dump endpoint.
The URL path for the version information endpoint.