debugging cas role mapping