class JWSHttpServletRequestWrapper extends SecurityContextHolderAwareRequestWrapper {

	@Override
	public ServletInputStream getInputStream() throws IOException {
		final ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(body.getBytes());

		ServletInputStream inputStream = new ServletInputStream() {
			@Override
			public int read() throws IOException {
				return byteArrayInputStream.read();
			}
		};

		return inputStream;
	}

	public  JWSHttpServletRequestWrapper(final HttpServletRequest request, final String rolePrefix);

}