web/src/main/java/org/springframework/security/web/csrf/LazyCsrfTokenRepository.java
@Override
	public CsrfToken generateToken(HttpServletRequest request) {
		return wrap(request, this.delegate.generateToken(request));
	}
@Override
	public CsrfToken generateToken(HttpServletRequest request) {
		return wrap(request, this.delegate.generateToken(request));
	}
Generates a new token
@param request the {@link HttpServletRequest} to use. The
{@link HttpServletRequest} must have the {@link HttpServletResponse} as an
attribute with the name of <code>HttpServletResponse.class.getName()</code>