try {
saveRequest(request, session);
} catch (IOException ioe) {
log.tracef("Request body too big to save during authentication");
try {
response.sendError(HttpServletResponse.SC_FORBIDDEN, sm.getString("authenticator.requestBodyTooBig"));
} catch (IOException e) {
log.errorf("Caught Exception in Form authentication: %s", e.getLocalizedMessage());
throw new AuthException(e.getLocalizedMessage());
}
return (AuthStatus.FAILURE);