public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain)
throws IOException, ServletException
{
HttpServletRequest httpRequest = (HttpServletRequest) request;
Principal user = httpRequest.getUserPrincipal();
// If there was a read-only context specified validate access
if( user == null && readOnlyContext != null )
{
// Extract the invocation
ServletInputStream sis = request.getInputStream();