53.3. Spring Boot Auto-Configuration
组件支持 17 个选项,如下所示。
名称 | 描述 | 默认 | 类型 |
---|---|---|---|
camel.component.box.configuration.access-token-cache | 用于存储和检索访问令牌的自定义访问令牌。 | IAccessTokenCache | |
camel.component.box.configuration.api-name | 要执行的操作种类 | BoxApiName | |
camel.component.box.configuration.authentication-type | 用于连接的验证类型。身份验证类型:STANDARD_AUTHENTICATION - OAuth 2.0 (3-legged) SERVER_AUTHENTICATION - 带有 JSON Web 令牌的 OAuth 2.0 | APP_USER_AUTHENTICATION | 字符串 |
camel.component.box.configuration.client-id | box 应用程序客户端 ID | 字符串 | |
camel.component.box.configuration.client-secret | box 应用程序客户端 secret | 字符串 | |
camel.component.box.configuration.enterprise-id | 用于 App Enterprise 的企业 ID。 | 字符串 | |
camel.component.box.configuration.http-params | 自定义 HTTP 参数用于代理主机等设置 | map | |
camel.component.box.configuration.method-name | 用于所选操作的子操作 | 字符串 | |
camel.component.box.configuration.private-key-file | 生成 JWT 签名的私钥。 | 字符串 | |
camel.component.box.configuration.private-key-password | 私钥的密码。 | 字符串 | |
camel.component.box.configuration.public-key-id | 验证 JWT 签名的公钥 ID。 | 字符串 | |
camel.component.box.configuration.ssl-context-parameters | 使用 SSLContextParameters 配置安全性。 | SSLContextParameters | |
camel.component.box.configuration.user-id | 用于应用程序用户的用户 ID。 | 字符串 | |
camel.component.box.configuration.user-name | box 用户名,提供 MUST | 字符串 | |
camel.component.box.configuration.user-password | box 用户密码,如果未设置 authSecureStorage,或者在第一次调用时返回 null,则需要提供 MUST | 字符串 | |
camel.component.box.enabled | 启用 box 组件 | true | 布尔值 |
camel.component.box.resolve-property-placeholders | 启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。 | true | 布尔值 |