Inferring Dynamic Credentials for Role-based Trust Management