Bug #12533
openTask #12481: 6.4.0 overall testing
User Peripherals Policy is not wokring
40%
Description
Prerequisites
Create a new policy
select android policy
Steps
create user peripherals policy and apply it to device
Description
When policy is applied then device sync stopped.
Then reset device and again enrolled as cope device.
Again when policy applied then policy applying shows as "pending" in operation log and device sync stopped.
Here is the error log file
[[https://docs.google.com/document/d/1NLlU0ixSJd8C1thagIdq-XHQtwQfm8yz2E39DLmH3GE/edit?tab=t.0]]
Files
Updated by Rajitha Kumara about 22 hours ago
- Status changed from New to Implementation
- % Done changed from 0 to 40
When constructing the policy payload for a USER_PERIPHERALS policy, claim http://wso2.org/claims/devices value is getting inject to the policy payload. The value of this claim should consists hardware addresses of paired devices (according to the logic).
In agent side when a USER_PERIPHERALS_PAYLOAD arrived, the code checks for the injected value.
The issue is there is no such wso2 claim called http://wso2.org/claims/devices is getting recorded.