public void callHandlerChain(SAML2Object samlObject, SAML2HandlerRequest saml2HandlerRequest, SAML2HandlerResponse saml2HandlerResponse, HTTPContext httpContext, Lock chainLock) throws ProcessingException, IOException { try { chainLock.lock(); // Deal with handler chains for (SAML2Handler handler : handlers) { if (saml2HandlerResponse.isInError()) { httpContext.getResponse().sendError(saml2HandlerResponse.getErrorCode()); break; } if (samlObject instanceof RequestAbstractType) { handler.handleRequestType(saml2HandlerRequest, saml2HandlerResponse); } else { handler.handleStatusResponseType(saml2HandlerRequest, saml2HandlerResponse); } } } finally { chainLock.unlock(); } } }
httpContext.getResponse().sendError(saml2HandlerResponse.getErrorCode()); break;
httpContext.getResponse().sendError(saml2HandlerResponse.getErrorCode()); break;
if (saml2HandlerResponse.isInError()) httpContext.getResponse().sendError(saml2HandlerResponse.getErrorCode()); break;
if (saml2HandlerResponse.isInError()) httpContext.getResponse().sendError(saml2HandlerResponse.getErrorCode()); break;
public void callHandlerChain(SAML2Object samlObject, SAML2HandlerRequest saml2HandlerRequest, SAML2HandlerResponse saml2HandlerResponse, HTTPContext httpContext, Lock chainLock) throws ProcessingException, IOException { try { if (this.configuration.getHandlers().isLocking()) { chainLock.lock(); } // Deal with handler chains for (SAML2Handler handler : handlers) { if (saml2HandlerResponse.isInError()) { httpContext.getResponse().sendError(saml2HandlerResponse.getErrorCode()); break; } if (samlObject instanceof RequestAbstractType) { handler.handleRequestType(saml2HandlerRequest, saml2HandlerResponse); } else { handler.handleStatusResponseType(saml2HandlerRequest, saml2HandlerResponse); } } } finally { if (this.configuration.getHandlers().isLocking()) { chainLock.unlock(); } } } }
public void callHandlerChain(SAML2Object samlObject, SAML2HandlerRequest saml2HandlerRequest, SAML2HandlerResponse saml2HandlerResponse, HTTPContext httpContext, Lock chainLock) throws ProcessingException, IOException { try { if (this.configuration.getHandlers().isLocking()) { chainLock.lock(); } // Deal with handler chains for (SAML2Handler handler : handlers) { if (saml2HandlerResponse.isInError()) { httpContext.getResponse().sendError(saml2HandlerResponse.getErrorCode()); break; } if (samlObject instanceof RequestAbstractType) { handler.handleRequestType(saml2HandlerRequest, saml2HandlerResponse); } else { handler.handleStatusResponseType(saml2HandlerRequest, saml2HandlerResponse); } } } finally { if (this.configuration.getHandlers().isLocking()) { chainLock.unlock(); } } } }
handler.reset(); if (saml2HandlerResponse.isInError()) { httpContext.getResponse().sendError(saml2HandlerResponse.getErrorCode()); break;
if (saml2HandlerResponse.isInError()) response.sendError(saml2HandlerResponse.getErrorCode()); break; response.sendError(saml2HandlerResponse.getErrorCode()); break; response.sendError(saml2HandlerResponse.getErrorCode()); break;
handler.reset(); if (saml2HandlerResponse.isInError()) { response.sendError(saml2HandlerResponse.getErrorCode()); break; response.sendError(saml2HandlerResponse.getErrorCode()); break; response.sendError(saml2HandlerResponse.getErrorCode()); break;
if (saml2HandlerResponse.isInError()) response.sendError(saml2HandlerResponse.getErrorCode()); break; response.sendError(saml2HandlerResponse.getErrorCode()); break; response.sendError(saml2HandlerResponse.getErrorCode()); break;
handler.reset(); if (saml2HandlerResponse.isInError()) { response.sendError(saml2HandlerResponse.getErrorCode()); break; response.sendError(saml2HandlerResponse.getErrorCode()); break; response.sendError(saml2HandlerResponse.getErrorCode()); break;
httpContext.getResponse().sendError(saml2HandlerResponse.getErrorCode()); break;
httpContext.getResponse().sendError(saml2HandlerResponse.getErrorCode()); break;