7. An apparatus comprising a processor and a memory storing computer program code, wherein the memory and stored computer program code are configured, with the processor, to cause the apparatus to at least: receive current context information related to a first device; access a context profile and a security profile associated with the first device; and develop a composite context tree based on at least a portion of the current context information related to the first device and context information related to at least one other device based at least in part on the context profile defining, for a current context of the first device, aspects of the current context information to be utilized for the developing of the composite context tree, wherein the apparatus being caused to develop the composite context tree comprises generating a schema based on the security profile and the context profile in which the schema defines the portion of the current context information and applying the schema to a context tree including the current context information such that only a portion of the context tree defined by the schema is visible to an entity developing the composite context tree; determine a context change has occurred with respect to the first device; determine whether the context change to the composite context tree is allowed based on the security profile and the context profile; wherein in an instance in which the context change is determined to be allowed, the context tree is updated for the context change; and wherein in an instance in which the context change is determined to not be allowed, the context tree is not updated for the context change.
10. The apparatus of claim 7 , wherein the processor is configured to access the context profile by determining whether the context profile is a dynamic profile and, if the context profile is a dynamic profile, building an updated context profile based on the current context information.