Skip to main content

Configuration property reference

This page consolidates the jEAP-specific configuration property prefixes contributed by the starters. Each starter is only active when its dependency is on the classpath. For details and defaults, follow the per-module page linked in each section. Standard Spring Boot / Spring Security / Togglz / Spring Cloud Vault properties are not repeated here.

Security — resource server (jeap.security.oauth2.resourceserver.*)​

See Security starter.

PropertyDefaultDescription
resource-id${spring.application.name}Id of this resource, checked against the aud claim of access tokens
strict-audience-validationoffUSER/SYS tokens without aud claim: off accepts, warn accepts and logs, on rejects
system-name—Activates semantic-role authorization when set
introspection.mode— (unset; introspection disabled)NONE/EXPLICIT/ALWAYS/LIGHTWEIGHT/CUSTOM
authorization-server.issuer—Single-auth-server issuer (required)
authorization-server.jwk-set-uri{issuer}/protocol/openid-connect/certsJWKS endpoint
authorization-server.authentication-contexts[USER, SYS]Allowed authentication contexts
authorization-server.claim-set-converter-name—Bean name of a custom JWT claim set converter
authorization-server.jwks-connect-timeout-in-millis15000Connect timeout for fetching the JWKS
authorization-server.jwks-read-timeout-in-millis15000Read timeout for fetching the JWKS
authorization-server.introspection.uri{issuer}/protocol/openid-connect/token/introspectToken introspection endpoint
authorization-server.introspection.client-idresource-idIntrospection client id
authorization-server.introspection.client-secret—Introspection client secret (required when introspection is active)
authorization-server.introspection.connect-timeout-in-millis15000Connect timeout for introspection requests
authorization-server.introspection.read-timeout-in-millis15000Read timeout for introspection requests
authorization-server.introspection.mode—NONE excludes this auth server from introspection (only allowed value)
authorization-server.introspection.cache.enabledfalseCache the introspection responses of this auth server locally (any introspection mode)
authorization-server.introspection.cache.maximum-size1000Maximum number of cached introspection responses
authorization-server.introspection.cache.time-to-live5mMaximum time a cached response is kept; an entry additionally expires with its token
auth-servers[*].*—Additional trusted auth servers (same fields as authorization-server)
b2b-gateway.issuer—B2B gateway issuer (required)
b2b-gateway.jwk-set-uri—B2B gateway JWKS endpoint (required, not derived from the issuer)
b2b-gateway.authentication-contexts[B2B]Allowed contexts for the B2B gateway
b2b-gateway.claim-set-converter-name—Bean name of a custom JWT claim set converter
b2b-gateway.jwks-connect-timeout-in-millis15000Connect timeout for fetching the JWKS
b2b-gateway.jwks-read-timeout-in-millis15000Read timeout for fetching the JWKS
b2b-gateway.introspection.*—Same fields as authorization-server.introspection.*
log-user-accessfalseLog each authenticated user's access (servlet filter)
log.authentication-failure.enabledfalseLog failed authentications (invalid or missing bearer token)
log.access-denied.enabledfalseLog authorization failures (authenticated but not permitted)
log.access-denied.debugfalseDebug details in access-denied logs (needs log.access-denied.enabled)

Current-user endpoint: jeap.security.oauth2.current-user-endpoint.enabled, jeap.security.oauth2.current-user-endpoint.path (/api/current-user).

OAuth2 client (jeap-spring-boot-security-client-starter) uses standard spring.security.oauth2.client.* properties — see Security client starter.

Logging (jeap.logging.*, jeap.rest.tracing.*)​

See Logging starter and REST request tracing.

PropertyDefaultDescription
jeap.logging.rest.unhandled-exception-logging.enabledfalseLog unhandled exceptions via a filter
jeap.rest.tracing.header-maskedAuthorization, Cookie, Set-Cookie, Set-Cookie2, x-jwt-assertionHeaders masked in traces
jeap.rest.tracing.header-blacklist(empty)Headers excluded from traces
jeap.rest.tracing.uri-filter-pattern.*/actuator/.*URIs excluded from tracing

Monitoring (jeap.monitor.*, jeap.health.*)​

See Monitoring starter.

PropertyDefaultDescription
jeap.monitor.prometheus.user / .password—Prometheus endpoint Basic-auth credentials
jeap.monitor.prometheus.securetrueSecure the Prometheus endpoint
jeap.monitor.actuator.user / .password—Admin actuator Basic-auth credentials
jeap.monitor.actuator.enable-admin-endpointsfalseEnable sensitive/admin actuator endpoints
jeap.health.metric.update-rate-seconds120Health metric refresh interval
jeap.health.metric.contributor-metrics.enabledfalsePer-component health metrics

Secrets & data (jeap.vault.*, jeap.datasource.*, jeap.s3.client.*)​

See Vault starter, PostgreSQL AWS starter, Object storage starter and Transaction routing.

PropertyDefaultDescription
jeap.vault.url—Vault server URL
jeap.vault.system-name—System identifier for the secret path
jeap.vault.app-role.role-id / .secret-id—Vault AppRole credentials
jeap.datasource.aws.regioneu-central-2AWS region for RDS
jeap.datasource.aws.hostname / .port / .database-name— / 5432 / —RDS endpoint, port, database
jeap.datasource.replica.enabledfalseEnable a read-replica datasource
jeap.s3.client.enabledtrueCreate the S3Client bean
jeap.s3.client.endpoint-url / .region / .tls— / AWS_GLOBAL / trueS3 endpoint, region, HTTPS

Web, Swagger & feature flags (jeap.web.headers.*, jeap.swagger.*, togglz.*)​

See Web config starter, Swagger / Swagger starter and Feature flag starter.

PropertyDefaultDescription
jeap.web.headers.additional-content-sources—Extra CSP-allowed URLs
jeap.web.headers.skip-path-prefixes/api, /actuatorPaths without security/caching headers
jeap.swagger.statusDISABLEDSwagger access mode
jeap.swagger.enforce-server-base-httpstrueForce HTTPS in server URLs
togglz.features.*—Togglz feature-flag definitions