Interface PermissionRuntimeConfig
@ConfigRoot(phase=RUN_TIME)
@ConfigMapping(prefix="onecx.permissions")
public interface PermissionRuntimeConfig
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanallowAll()Allow all permissionsPermissions application ID.booleanEnable interface mappingTenant client URL configuration.booleanenabled()Enable interface mappingPermissions resource action separator.mock()Mock configurationname()Permissions prefix name.Permissions principal token header parameter.Product name.Permissions access token header parameter.
-
Method Details
-
clientUrl
Tenant client URL configuration. This property is alias for rest-client generated configuration property `quarkus.rest-client.onecx_permission.url` -
enabled
@WithName("enabled") @WithDefault("true") boolean enabled()Enable interface mapping -
cacheEnabled
@WithName("cache-enabled") @WithDefault("true") boolean cacheEnabled()Enable interface mapping -
allowAll
@WithName("allow-all") @WithDefault("false") boolean allowAll()Allow all permissions -
productName
Product name. -
applicationId
Permissions application ID. -
name
Permissions prefix name. -
requestTokenHeaderParam
@WithName("request-token-from-header-param") @WithDefault("Authorization") String requestTokenHeaderParam()Permissions access token header parameter. -
principalTokenHeaderParam
@WithName("token-header-param") @WithDefault("${tkit.rs.context.token.header-param:apm-principal-token}") String principalTokenHeaderParam()Permissions principal token header parameter. -
keySeparator
Permissions resource action separator. -
mock
Mock configuration
-