Apply spring security filter only on rest pattern
Otherwise CXF continuations will not work.