A Role and Attribute-Based Access Control Model with Trust Management