1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | { "services": [ { "name": "SAMPLE", "identities": [ { "name": "sample1", "principal": { "value": "sample1/_HOST@${realm}", "type" : "user", "configuration": "sample-env/sample1.principals", "local_username" : "root" }, "keytab": { "file": "${keytab_dir}/sample1.keytab", "owner": { "name": "root", "access": "r" }, "group": { "name": "${cluster-env/user_group}", "access": "" }, "configuration": "sample-env/sample1.keytab" } }, { "name": "sample2", "principal": { "value": "sample2/_HOST@${realm}", "type" : "service", "configuration": "sample-env/sample2.principals", "local_username" : "root" }, "keytab": { "file": "${keytab_dir}/sample2.keytab", "owner": { "name": "root", "access": "r" }, "group": { "name": "${cluster-env/user_group}", "access": "" }, "configuration": "sample-env/sample2.keytab" } } ], "configurations": [ { "sample-env": { "mysample.kerberos.enabled": "true" } } ], "components": [ { "name": "MY_MASTER", "identities": [ { "name": "my_master", "principal": { "value": "sample/master@${realm}", "type" : "service", "configuration": "sample-env/mymaster.principals", "local_username" : "root" }, "keytab": { "file": "${keytab_dir}/mymaster.keytab", "owner": { "name": "root", "access": "r" }, "group": { "name": "${cluster-env/user_group}", "access": "" }, "configuration": "sample-env/mymaster.keytab" } } ] } ] } ] } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <configuration supports_final="true" xmlns:xi="http://www.w3.org/2001/XInclude"> <property> <name>mymaster.principals</name> <display-name>master principals</display-name> <value>none</value> </property> <property> <name>mymaster.keytab</name> <value>none</value> </property> <property> <name>sample1.principals</name> <value>none</value> </property> <property> <name>sample1.keytab</name> <value>none</value> </property> <property> <name>sample2.principals</name> <value>none</value> </property> <property> <name>sample2.keytab</name> <value>none</value> </property> </configuration> |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |