diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/impl/PolicyInformationPointImpl.java b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/impl/PolicyInformationPointImpl.java index 441d66bf29..b80854b798 100644 --- a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/impl/PolicyInformationPointImpl.java +++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/impl/PolicyInformationPointImpl.java @@ -72,6 +72,7 @@ public class PolicyInformationPointImpl implements PolicyInformationPoint { pipDevice.setDeviceType(deviceType); pipDevice.setDeviceIdentifier(deviceIdentifier); pipDevice.setUserId(device.getOwner()); + pipDevice.setOwnershipType(device.getOwnership()); // TODO : Find a way to retrieve the timestamp and location (lat, long) of the device // pipDevice.setLongitude();