Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove or tidy jsps and update README

  • Loading branch information...
commit 28afa21ca7c51ac1a5cc007f86ad5e3377b6a2c0 1 parent ea658fc
@dsyer dsyer authored
View
4 README.md
@@ -1,3 +1,4 @@
+<link href="https://raw.github.com/clownfart/Markdown-CSS/master/markdown.css" rel="stylesheet"></link>
# CloudFoundry User Account and Authentication (UAA) Server
## Quick Start
@@ -58,6 +59,9 @@ command line in one go with
$ mvn tomcat:run -Dmaven.tomcat.fork=true test
+(This might require an initial `mvn install` from the parent directory
+to get the wars in your local repo first.)
+
## Inventory
There are actually several projects here:
View
1  app/src/main/webapp/tree.jsp
@@ -1,5 +1,4 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
-<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<html>
<head>
View
18 uaa/src/main/webapp/WEB-INF/jsp/login.jsp
@@ -1,4 +1,3 @@
-<%@ page import="org.springframework.security.web.WebAttributes" %>
<%@ taglib prefix="authz"
uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
@@ -17,25 +16,10 @@
<body>
- <h1>Authorization</h1>
+ <h1>UAA Login</h1>
<div id="content">
- <%
- if (session.getAttribute(WebAttributes.AUTHENTICATION_EXCEPTION) != null) {
- %>
- <div class="error">
- <h2>Woops!</h2>
-
- <p>
- Your login attempt was not successful. (<%=((Exception) session
- .getAttribute(WebAttributes.AUTHENTICATION_EXCEPTION))
- .getMessage()%>)
- </p>
- </div>
- <%
- }
- %>
<c:remove scope="session" var="SPRING_SECURITY_LAST_EXCEPTION" />
<authz:authorize ifNotGranted="ROLE_USER">
View
43 uaa/src/main/webapp/WEB-INF/jsp/openid_authorize.jsp
@@ -1,43 +0,0 @@
-<%@ 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"%>
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<title>OpenID Authorization</title>
-<link type="text/css" rel="stylesheet"
- href="<c:url value="/resources/style.css"/>" />
-</head>
-
-<body>
-
- <h1>OpenID Attribute Authorization</h1>
-
- <div id="content">
-
- <p>
- The site
- <pre>${openid.site}</pre>
- is asking to retrieve your email and fullname from the OpenID
- provider:
- <pre>${openid.identity}</pre>
- </p>
-
- <form id="loginForm" name="loginForm"
- action="<c:url value="/openid/authorize"/>" method="POST">
- <p>
- <input name="approve" value="Approve" type="submit" /> <input
- name="deny" value="Deny" type="submit" />
- </p>
- </form>
- </div>
-
- <div id="footer">Demo only</div>
-
-
-</body>
-</html>
Please sign in to comment.
Something went wrong with that request. Please try again.