In management module of my application I need to check if particular user belongs to particular role. The problem is that application runs under manager's user name, so I cannot user standart isCallerInRole, etc. How can I do it under JBoss?
Second functionality needed is to list all members of the group (just their user names). Is it doable? Any hints are highly appreciated.