// set temporary per-request authentication
SecurityContextHolder.getContext().setAuthentication(authResult);
// clear system alert
AppUtil.getSystemAlert();
} else {
TargetUrlResolver resolver = getTargetUrlResolver();
if (resolver instanceof TargetUrlResolverImpl) {
((TargetUrlResolverImpl)resolver).setJustUseSavedRequestOnGet(true);
}