HI Filipe Vieira,
I am also getting same error:
13:33:30,361 DEBUG [RealmBase] Checking roles GenericPrincipal[310138760()]
13:33:30,361 DEBUG [RealmBase] Username 310138760 does NOT have role code1
13:33:30,361 DEBUG [RealmBase] No role found: code1
13:33:30,361 DEBUG [AuthenticatorBase] Failed accessControl()
test
I am not sure what roles needs to be given in web.xml
My username : 310138760 in AD is listed below.
"CN=310138760,OU=Users,OU=INGBTCPIC7,OU=CODE,DC=code1,DC=emi,DC=myorg,DC=com"
Can you please reply based on your findings.
Thanks.