| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- {
- "groups": [
- {
- "name": "jt.security",
- "type": "com.jt.cloud.framework.security.config.SecurityProperties",
- "sourceType": "com.jt.cloud.framework.security.config.SecurityProperties"
- }
- ],
- "properties": [
- {
- "name": "jt.security.mock-enable",
- "type": "java.lang.Boolean",
- "description": "mock 模式的开关",
- "sourceType": "com.jt.cloud.framework.security.config.SecurityProperties",
- "defaultValue": false
- },
- {
- "name": "jt.security.mock-secret",
- "type": "java.lang.String",
- "description": "mock 模式的密钥 一定要配置密钥,保证安全性",
- "sourceType": "com.jt.cloud.framework.security.config.SecurityProperties",
- "defaultValue": "test"
- },
- {
- "name": "jt.security.password-encoder-length",
- "type": "java.lang.Integer",
- "description": "PasswordEncoder 加密复杂度,越高开销越大",
- "sourceType": "com.jt.cloud.framework.security.config.SecurityProperties",
- "defaultValue": 4
- },
- {
- "name": "jt.security.permit-all-urls",
- "type": "java.util.List<java.lang.String>",
- "description": "免登录的 URL 列表",
- "sourceType": "com.jt.cloud.framework.security.config.SecurityProperties"
- },
- {
- "name": "jt.security.token-header",
- "type": "java.lang.String",
- "description": "HTTP 请求时,访问令牌的请求 Header",
- "sourceType": "com.jt.cloud.framework.security.config.SecurityProperties",
- "defaultValue": "Authorization"
- },
- {
- "name": "jt.security.token-parameter",
- "type": "java.lang.String",
- "description": "HTTP 请求时,访问令牌的请求参数 初始目的:解决 WebSocket 无法通过 header 传参,只能通过 token 参数拼接",
- "sourceType": "com.jt.cloud.framework.security.config.SecurityProperties",
- "defaultValue": "token"
- }
- ],
- "hints": []
- }
|