@incollection{eprints2319, booktitle = {Trustworthy Global Computing}, author = {Pedro Baltazar and Luis Caires and Vasco Thudichum Vasconcelos and Hugo Torres Vieira}, publisher = {Springer}, note = {7th International Symposium, TGC 2012, Newcastle upon Tyne, UK, September 7-8, 2012, Revised Selected Papers}, year = {2013}, series = {Lecture Notes in Computer Science}, title = {A type system for flexible role assignment in multiparty communicating systems}, number = {8191}, pages = {82--96}, abstract = {Communication protocols in distributed systems often specify the roles of the parties involved in the communications, namely for enforcing security policies or task assignment purposes. Ensuring that implementations follow role-based protocol specifications is challenging, especially in scenarios found, e.g., in business processes and web applications, where multiple peers are involved, single peers impersonate several roles, or single roles are carried out by several peers. We present a type-based analysis for statically verifying role-based multi-party interactions, based on a simple {\ensuremath{\pi}}-calculus model and prior work on conversation types. Our main result ensures that well-typed systems follow the role-based protocols prescribed by the types, including systems where roles are flexibly assigned to processes.}, url = {http://eprints.imtlucca.it/2319/} }