Changeset 319
- Timestamp:
- 10/07/07 10:56:11 (1 year ago)
- Files:
-
- AcmeIdp/trunk/nbproject/ant-deploy.xml (added)
- AcmeIdp/trunk/nbproject/build-impl.xml (added)
- AcmeIdp/trunk/web/auth-secure.jsp (modified) (3 diffs)
- AcmeIdp/trunk/web/auth-user.jsp (modified) (2 diffs)
- AcmeIdp/trunk/web/copyright.html (added)
- AcmeIdp/trunk/web/footer.html (modified) (1 diff)
- AcmeIdp/trunk/web/header (added)
- AcmeIdp/trunk/web/header/idp.acmeidp.com.header.html (added)
- AcmeIdp/trunk/web/header/idp.acmemls.com.header.html (added)
- AcmeIdp/trunk/web/header/idp.acmesp.com.header.html (added)
- AcmeIdp/trunk/web/header/idp.hethmon.com.header.html (added)
- AcmeIdp/trunk/web/header/idp.hethmon.us.header.html (added)
- AcmeIdp/trunk/web/header/local.acmeidp.com.header.html (added)
- AcmeIdp/trunk/web/header/www.acmeidp.com.header.html (added)
- AcmeIdp/trunk/web/include.jsp (modified) (1 diff)
- AcmeIdp/trunk/web/index.jsp (modified) (1 diff)
- AcmeIdp/trunk/web/keys.jsp (modified) (1 diff)
- AcmeIdp/trunk/web/logout.jsp (modified) (2 diffs)
- AcmeIdp/trunk/web/recv-authnrequest-direct.jsp (modified) (1 diff)
- AcmeIdp/trunk/web/recv-authnrequest.jsp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
AcmeIdp/trunk/web/auth-secure.jsp
r290 r319 93 93 rsp.setAuthnRequest(auth); 94 94 rsp.setLoginId(idpLoginId); 95 String issuerName = (request.isSecure()==true?"https://":"http://") + request.getServerName(); // + ":" + request.getServerPort() + "/recv-saml.jsp";95 String issuerName = (request.isSecure()==true?"https://":"http://") + request.getServerName(); 96 96 rsp.setIssuerName( issuerName ); 97 97 rsp.setPrivateKeyCache(pkCache); … … 110 110 <head> 111 111 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 112 <title> ACME IdpLogin</title>112 <title><%out.print(pageTitle);%> Login</title> 113 113 <link rel="stylesheet" type="text/css" href="main.css"> 114 114 </head> … … 138 138 <head> 139 139 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 140 <title> ACME IdpLogin</title>140 <title><%out.print(pageTitle);%> Login</title> 141 141 <link rel="stylesheet" type="text/css" href="main.css"> 142 142 </head> 143 143 <body> 144 <%@include file="header.html"%>144 <jsp:include page="<%=headerPath%>" /> 145 145 146 <h1>Welcome to ACME Idp, you are now logged in.</h1>146 <h1>Welcome to <%out.print(pageTitle);%>, you are now logged in.</h1> 147 147 <table> 148 148 <tr><td><a href="visit-acme-mls.jsp">Visit ACME MLS</a></td></tr> AcmeIdp/trunk/web/auth-user.jsp
r290 r319 93 93 <head> 94 94 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 95 <title> ACME IdpLogin</title>95 <title><%out.print(pageTitle);%> Login</title> 96 96 <link rel="stylesheet" type="text/css" href="main.css"> 97 97 </head> … … 121 121 <head> 122 122 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 123 <title> ACME IdpLogin</title>123 <title><%out.print(pageTitle);%> Login</title> 124 124 <link rel="stylesheet" type="text/css" href="main.css"> 125 125 </head> 126 126 <body> 127 < %@include file="header.html"%>127 <jsp:include page="<%=headerPath%>" /> 128 128 129 <h1>Welcome to ACME Idp, you are now logged in.</h1>129 <h1>Welcome to <%out.print(pageTitle);%>, you are now logged in.</h1> 130 130 <table> 131 131 <tr><td><a href="visit-acme-mls.jsp">Visit ACME MLS</a></td></tr> AcmeIdp/trunk/web/footer.html
r58 r319 1 <p class="note"> Copyright Clareity Security, LLC</p>1 <p class="note"><a href="copyright.html">Copyright (C) 2007 National Association of REALTORS(R)</a></p> AcmeIdp/trunk/web/include.jsp
r259 r319 9 9 _privatekeyfile = "privatekeyfile"; 10 10 11 String 12 webhost, 13 pageTitle = "ACME IdP", 14 headerPath = "header/www.acmeidp.com.header.html", 15 providerName = "ACMEIdP"; 16 // Determine our identity and set some values based on it. 17 webhost = request.getServerName(); 18 webhost = webhost.toLowerCase(); 19 20 if (webhost.equals("local.acmeidp.com") == true) { 21 pageTitle = "ACME IdP"; 22 headerPath = "header/local.acmeidp.com.header.html"; 23 providerName = "ACMEIdP"; 24 } else if (webhost.equals("www.acmeidp.com") == true) { 25 pageTitle = "ACME IdP"; 26 headerPath = "header/www.acmeidp.com.header.html"; 27 providerName = "ACMEIdP"; 28 } else if (webhost.equals("idp.acmeidp.com") == true) { 29 pageTitle = "ACME IdP"; 30 headerPath = "header/idp.acmeidp.com.header.html"; 31 providerName = "ACMEIdP"; 32 } else if (webhost.equals("idp.acmemls.com") == true) { 33 pageTitle = "ACME MLS IdP"; 34 headerPath = "header/idp.acmemls.com.header.html"; 35 providerName = "ACMEMLSIdP"; 36 } else if (webhost.equals("idp.acmesp.com") == true) { 37 pageTitle = "ACME SP IdP"; 38 headerPath = "header/idp.acmesp.com.header.html"; 39 providerName = "ACMESPIdP"; 40 } else if (webhost.equals("idp.hethmon.com") == true) { 41 pageTitle = "Hethmon.com IdP"; 42 headerPath = "header/idp.hethmon.com.header.html"; 43 providerName = "HethmonComIdP"; 44 } else if (webhost.equals("idp.hethmon.us") == true) { 45 pageTitle = "Hethmon.us IdP"; 46 headerPath = "header/idp.hethmon.us.header.html"; 47 providerName = "HethmonUsIdP"; 48 } 11 49 12 50 AcmeIdp/trunk/web/index.jsp
r185 r319 29 29 <head> 30 30 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 31 <title> ACME Idp</title>31 <title><%out.print(pageTitle);%></title> 32 32 <link rel="stylesheet" type="text/css" href="main.css"> 33 33 </head> 34 34 <body> 35 < %@include file="header.html"%>35 <jsp:include page="<%=headerPath%>" /> 36 36 37 <h1> ACME IdpLogin Page</h1>37 <h1><%out.print(pageTitle);%> Login Page</h1> 38 38 39 39 <form name="login" method="POST" action="login.jsp"> AcmeIdp/trunk/web/keys.jsp
r287 r319 29 29 </head> 30 30 <body> 31 < %@include file="header.html"%>31 <jsp:include page="<%=headerPath%>" /> 32 32 33 33 <h1>How To Create Self-Signed Public/Private Keys</h1> AcmeIdp/trunk/web/logout.jsp
r185 r319 26 26 <head> 27 27 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 28 <title> ACME IdpLogout</title>28 <title><%out.print(pageTitle);%> Logout</title> 29 29 <link rel="stylesheet" type="text/css" href="main.css"> 30 30 </head> 31 31 <body> 32 < %@include file="header.html"%>32 <jsp:include page="<%=headerPath%>" /> 33 33 <% 34 34 session.setAttribute(_credentials, null); … … 38 38 <table class="section" cellspacing="5" cellpadding="5" align="center" width="60%"> 39 39 <tr> 40 <td align="center">You have been logged out of ACME Idp</td>40 <td align="center">You have been logged out of <%out.print(pageTitle);%></td> 41 41 </tr> 42 42 </table> 43 43 44 44 <table> 45 <tr><td><a href="index.jsp">Login into ACME Idp</a></td></tr>45 <tr><td><a href="index.jsp">Login into <%out.print(pageTitle);%></a></td></tr> 46 46 </table> 47 47 AcmeIdp/trunk/web/recv-authnrequest-direct.jsp
r185 r319 85 85 <head> 86 86 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 87 <title> ACME IdpAuthnRequest</title>87 <title><%out.print(pageTitle);%> AuthnRequest</title> 88 88 <link rel="stylesheet" type="text/css" href="main.css"> 89 89 </head> 90 90 <body> 91 < %@include file="header.html"%>91 <jsp:include page="<%=headerPath%>" /> 92 92 93 94 95 <h1>ACME Idp AuthnRequest Received</h1> 93 <h1><%out.print(pageTitle);%> AuthnRequest Received</h1> 96 94 <table> 97 95 <tr><td><% out.println( messageXML );%></td></tr> 98 96 </table> 99 97 100 <h1> ACME IdpLogin Page</h1>98 <h1><%out.print(pageTitle);%> Login Page</h1> 101 99 102 100 <form name="login" method="POST" action="login.jsp"> AcmeIdp/trunk/web/recv-authnrequest.jsp
r279 r319 61 61 <head> 62 62 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 63 <title> ACME IdpAuthnRequest</title>63 <title><%out.print(pageTitle);%> AuthnRequest</title> 64 64 <link rel="stylesheet" type="text/css" href="main.css"> 65 65 </head> 66 66 <body> 67 < %@include file="header.html"%>67 <jsp:include page="<%=headerPath%>" /> 68 68 69 70 71 <h1>ACME Idp AuthnRequest Received</h1> 69 <h1><%out.print(pageTitle);%> AuthnRequest Received</h1> 72 70 <table> 73 71 <tr><td><% out.println( messageXML );%></td></tr> 74 72 </table> 75 73 76 <h1> ACME IdpLogin Page</h1>74 <h1><%out.print(pageTitle);%> Login Page</h1> 77 75 78 76 <form name="login" method="POST" action="<% out.print( action );%>">
