private boolean skipResource ( HttpServletRequest request , HttpServletResponse response ) { String path = request . getServletPath ( ) ; if ( path . contains ( "." ) ) { path = path . substring ( 0 , path . lastIndexOf ( "." ) ) ; } boolean skip = path . startsWith ( FACES_RESOURCES ) || shouldIgnoreResource ( path ) || response . getStatus ( ) == HttpServletResponse . SC_INTERNAL_SERVER_ERROR ; return skip ; }
skips faces - resources index error or logon pages