mirror of
https://gitee.com/openharmony/useriam_user_auth_framework
synced 2024-11-27 01:40:49 +00:00
xml改成json
Signed-off-by: lin-yuqiang666 <linyuqiang@huawei.com> Change-Id: Iace28308cffdc4c687ff82e035d2d62e3c9d5453 Signed-off-by: lin-yuqiang666 <linyuqiang@huawei.com>
This commit is contained in:
parent
f43a3f8602
commit
4532942c20
12
sa_profile/901.json
Normal file
12
sa_profile/901.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"process": "useriam",
|
||||
"systemability": [
|
||||
{
|
||||
"name": 901,
|
||||
"libpath": "libuserauthservice.z.so",
|
||||
"run-on-create": true,
|
||||
"distributed": false,
|
||||
"dump_level": 1
|
||||
}
|
||||
]
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<info>
|
||||
<process>useriam</process>
|
||||
<systemability>
|
||||
<name>901</name>
|
||||
<libpath>libuserauthservice.z.so</libpath>
|
||||
<run-on-create>true</run-on-create>
|
||||
<distributed>false</distributed>
|
||||
<dump-level>1</dump-level>
|
||||
</systemability>
|
||||
</info>
|
12
sa_profile/921.json
Normal file
12
sa_profile/921.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"process": "useriam",
|
||||
"systemability": [
|
||||
{
|
||||
"name": 921,
|
||||
"libpath": "libuserauthservice.z.so",
|
||||
"run-on-create": true,
|
||||
"distributed": false,
|
||||
"dump_level": 1
|
||||
}
|
||||
]
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<info>
|
||||
<process>useriam</process>
|
||||
<systemability>
|
||||
<name>921</name>
|
||||
<libpath>libuserauthservice.z.so</libpath>
|
||||
<run-on-create>true</run-on-create>
|
||||
<distributed>false</distributed>
|
||||
<dump-level>1</dump-level>
|
||||
</systemability>
|
||||
</info>
|
12
sa_profile/931.json
Normal file
12
sa_profile/931.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"process": "useriam",
|
||||
"systemability": [
|
||||
{
|
||||
"name": 931,
|
||||
"libpath": "libuserauthservice.z.so",
|
||||
"run-on-create": true,
|
||||
"distributed": false,
|
||||
"dump_level": 1
|
||||
}
|
||||
]
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<info>
|
||||
<process>useriam</process>
|
||||
<systemability>
|
||||
<name>931</name>
|
||||
<libpath>libuserauthservice.z.so</libpath>
|
||||
<run-on-create>true</run-on-create>
|
||||
<distributed>false</distributed>
|
||||
<dump-level>1</dump-level>
|
||||
</systemability>
|
||||
</info>
|
@ -16,9 +16,9 @@ import("//build/ohos/sa_profile/sa_profile.gni")
|
||||
|
||||
ohos_sa_profile("userauth_sa_profile") {
|
||||
sources = [
|
||||
"901.xml",
|
||||
"921.xml",
|
||||
"931.xml",
|
||||
"901.json",
|
||||
"921.json",
|
||||
"931.json",
|
||||
]
|
||||
|
||||
part_name = "user_auth_framework"
|
||||
|
@ -8,7 +8,7 @@
|
||||
],
|
||||
"services" : [{
|
||||
"name" : "useriam",
|
||||
"path" : ["/system/bin/sa_main", "/system/profile/useriam.xml"],
|
||||
"path" : ["/system/bin/sa_main", "/system/profile/useriam.json"],
|
||||
"uid" : "useriam",
|
||||
"gid" : ["useriam", "shell"],
|
||||
"apl" : "system_basic",
|
||||
|
@ -8,7 +8,7 @@
|
||||
],
|
||||
"services" : [{
|
||||
"name" : "useriam",
|
||||
"path" : ["/system/bin/sa_main", "/system/profile/useriam.xml"],
|
||||
"path" : ["/system/bin/sa_main", "/system/profile/useriam.json"],
|
||||
"uid" : "ohos_useriam",
|
||||
"gid" : ["ohos_useriam", "shell"],
|
||||
"apl" : "system_basic",
|
||||
|
Loading…
Reference in New Issue
Block a user