From 5beac9d50d4e146924fa938cb6b6ae88b043c7e2 Mon Sep 17 00:00:00 2001
From: Amanda Anganes
Date: Thu, 8 Aug 2013 13:18:14 -0400
Subject: [PATCH] Fixed formatting in JSPs
---
.../src/main/webapp/WEB-INF/views/approve.jsp | 80 ++++++++-----------
.../src/main/webapp/WEB-INF/views/home.jsp | 3 +-
.../src/main/webapp/WEB-INF/views/login.jsp | 6 +-
3 files changed, 38 insertions(+), 51 deletions(-)
diff --git a/openid-connect-server/src/main/webapp/WEB-INF/views/approve.jsp b/openid-connect-server/src/main/webapp/WEB-INF/views/approve.jsp
index 09426bd96..5d4777c7e 100644
--- a/openid-connect-server/src/main/webapp/WEB-INF/views/approve.jsp
+++ b/openid-connect-server/src/main/webapp/WEB-INF/views/approve.jsp
@@ -1,11 +1,7 @@
-<%@ page
- import="org.springframework.security.core.AuthenticationException"%>
-<%@ page
- import="org.springframework.security.oauth2.common.exceptions.UnapprovedClientAuthenticationException"%>
-<%@ page
- import="org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter"%>
-<%@ taglib prefix="authz"
- uri="http://www.springframework.org/security/tags"%>
+<%@ page import="org.springframework.security.core.AuthenticationException"%>
+<%@ page import="org.springframework.security.oauth2.common.exceptions.UnapprovedClientAuthenticationException"%>
+<%@ page import="org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter"%>
+<%@ taglib prefix="authz" uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="o" tagdir="/WEB-INF/tags"%>
@@ -15,9 +11,8 @@
×
-
- Access could not be granted. (<%= ((AuthenticationException) session.getAttribute(AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY)).getMessage() %>
- )
+
Access could not be granted.
+ (<%= ((AuthenticationException) session.getAttribute(AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY)).getMessage() %>)
<% } %>
@@ -52,30 +47,29 @@
- Do you authorize "
-
+ Do you authorize
+ "
-
- " to sign you into their site using your identity?
+ "
+ to sign you into their site using your identity?
-
- ${client.clientDescription}
+
+ ${client.clientDescription}
+
- Redirect URI:
-
+
+ Redirect URI:
@@ -85,13 +79,12 @@
-
+
+
+
-
+
+
${ scope.description }
@@ -107,15 +100,16 @@
Remember this decision:
- remember this
- decision until I revoke it
-
+
+
+ remember this decision until I revoke it
+
+
+
remember this decision for one hour
-
+
+
+
prompt me again next time
@@ -123,21 +117,17 @@
-
-
+
+
+
-
diff --git a/openid-connect-server/src/main/webapp/WEB-INF/views/home.jsp b/openid-connect-server/src/main/webapp/WEB-INF/views/home.jsp
index beddcf322..799555409 100644
--- a/openid-connect-server/src/main/webapp/WEB-INF/views/home.jsp
+++ b/openid-connect-server/src/main/webapp/WEB-INF/views/home.jsp
@@ -1,7 +1,6 @@
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="o" tagdir="/WEB-INF/tags"%>
-<%@ taglib prefix="security"
- uri="http://www.springframework.org/security/tags"%>
+<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"%>
diff --git a/openid-connect-server/src/main/webapp/WEB-INF/views/login.jsp b/openid-connect-server/src/main/webapp/WEB-INF/views/login.jsp
index 6cf35785d..b60079825 100644
--- a/openid-connect-server/src/main/webapp/WEB-INF/views/login.jsp
+++ b/openid-connect-server/src/main/webapp/WEB-INF/views/login.jsp
@@ -1,5 +1,4 @@
-<%@ taglib prefix="authz"
- uri="http://www.springframework.org/security/tags"%>
+<%@ taglib prefix="authz" uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="o" tagdir="/WEB-INF/tags"%>
@@ -18,8 +17,7 @@ $(document).ready(function() {
Login with Username and Password
- The system was unable to log you
- in. Please try again.
+ The system was unable to log you in. Please try again.