On 07/28/2016 05:01 AM, gambol wrote: > Assuming you have a realm with x client defined and each have a APP-USER > role. Is there a way to authenticate a user only if the user have the > role associated? ... Authentication is the process of proving an identity. You can't know what roles a user has until after authentication. -- John