Determines whether a user associated with an HTTP request possesses
a particular role. This method simply delegates to
javax.servlet.http.HttpServletRequest.isUserInRole(String) by converting the Principal's name to a String.
Parameters: request - the HTTP request Parameters: role - the role to check true if the user is considered to be in the role,false otherwise