Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A4E618F38 for ; Mon, 16 Nov 2015 15:05:31 +0000 (UTC) Received: (qmail 19001 invoked by uid 500); 16 Nov 2015 15:05:31 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 18923 invoked by uid 500); 16 Nov 2015 15:05:30 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 18912 invoked by uid 99); 16 Nov 2015 15:05:30 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2015 15:05:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4BFF4E0901; Mon, 16 Nov 2015 15:05:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: <045f79b374144d7799fd5c279589b9a3@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cxf-fediz git commit: FEDIZ-134: prototyping an error form which will be used if something is wromg with a redirect uri Date: Mon, 16 Nov 2015 15:05:30 +0000 (UTC) Repository: cxf-fediz Updated Branches: refs/heads/master a92b6ed79 -> 562316478 FEDIZ-134: prototyping an error form which will be used if something is wromg with a redirect uri Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/56231647 Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/56231647 Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/56231647 Branch: refs/heads/master Commit: 562316478ae416409f186445a5e72a567728441d Parents: a92b6ed Author: Sergey Beryozkin Authored: Mon Nov 16 15:05:15 2015 +0000 Committer: Sergey Beryozkin Committed: Mon Nov 16 15:05:15 2015 +0000 ---------------------------------------------------------------------- .../main/webapp/WEB-INF/views/oAuthError.jsp | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/56231647/services/oidc/src/main/webapp/WEB-INF/views/oAuthError.jsp ---------------------------------------------------------------------- diff --git a/services/oidc/src/main/webapp/WEB-INF/views/oAuthError.jsp b/services/oidc/src/main/webapp/WEB-INF/views/oAuthError.jsp new file mode 100644 index 0000000..93c96c6 --- /dev/null +++ b/services/oidc/src/main/webapp/WEB-INF/views/oAuthError.jsp @@ -0,0 +1,35 @@ +<%@ page import="javax.servlet.http.HttpServletRequest, org.apache.cxf.rs.security.oauth2.common.OAuthError" %> + +<% + OAuthError error = (OAuthError)request.getAttribute("data"); + String basePath = request.getContextPath() + request.getServletPath(); + if (!basePath.endsWith("/")) { + basePath += "/"; + } +%> + + + Authorization Code Error Response + + + +
+ +

+Authorization error: <%= error.getError() %> +

+
+

+Back to Client Registration page +

+ +
+ + +