certs = (X509Certificate[]) request.getAttribute(CERTIFICATES_ATTR);
}
if ((certs == null) || (certs.length < 1)) {
log.debugf("No certificates included with this request");
try {
response.sendError(HttpServletResponse.SC_UNAUTHORIZED, sm.getString("authenticator.certificates"));
} catch (IOException e) {
log.errorf("Caught Exception: %s", e.getLocalizedMessage());
}
return (AuthStatus.FAILURE);
}