/** * Validate SAML request * * @param samlRequest * @param isPost * @return ValidatedItemDTO array * @throws AxisFault */ public ValidatedItemDTO[] validate(String samlRequest, boolean isPost) throws AxisFault { try { return stub.validateAuthnRequest(samlRequest, isPost); } catch (RemoteException e) { log.error("Error validating SAML request", e); throw new AxisFault(e.getMessage(), e); } }