More tips... maybe can help. I post information about my LDAP format in LDIF. # LDIF Export for: cn=Adjunts,ou=Groups,dc=htrueta,dc=intranet # Abast de la recerca: base # Filtre de recerca: (objectClass=*) # Total Entries: 1 dn: cn=Adjunts,ou=Groups,dc=htrueta,dc=intranet cn: Adjunts displayName: Facultatiu Adjunt gidNumber: 10028 objectClass: radiusprofile memberUid: exampleUser I would like that JasperServer creates the role "ROLE_ADJUNTS" when the "exampleUser" are logging. But it only happens when I modify the configuration file of JS passing directly the user, not {0}, as I explain in the main post.