Changeset 60
- Timestamp:
- 01/24/07 20:27:31 (2 years ago)
- Files:
-
- AcmeIdp/trunk/web/header.html (modified) (1 diff)
- AcmeIdp/trunk/web/idp-request.jsp (added)
- AcmeIdp/trunk/web/index.jsp (modified) (2 diffs)
- AcmeIdp/trunk/web/login.jsp (modified) (3 diffs)
- AcmeIdp/trunk/web/logout.jsp (modified) (2 diffs)
- AcmeIdp/trunk/web/visit-acme-mls.jsp (moved) (moved from AcmeIdp/trunk/web/protected.jsp)
- AcmeIdp/trunk/web/xalan.jsp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
AcmeIdp/trunk/web/header.html
r58 r60 2 2 <tr> 3 3 <td rowspan="2"><img src="images/acme-anvil.png" alt="ACME Anvil"></td> 4 <td class="logo">ACME MLS</td>4 <td class="logo">ACME Idp</td> 5 5 </tr> 6 6 <tr> 7 <td class="slogan"> When only the best will do!</td>7 <td class="slogan">The Identity Experts</td> 8 8 </tr> 9 9 </table> AcmeIdp/trunk/web/index.jsp
r58 r60 11 11 <head> 12 12 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 13 <title>A cme MLS</title>13 <title>ACME Idp</title> 14 14 <link rel="stylesheet" type="text/css" href="main.css"> 15 15 </head> … … 17 17 <%@include file="header.html"%> 18 18 19 <h1>A cme MLSLogin Page</h1>19 <h1>ACME Idp Login Page</h1> 20 20 21 21 <form name="login" method="POST" action="login.jsp"> 22 22 <table class="section"> 23 <tr><td> MLS Login ID:</td><td><input type="text" name="mlsloginid" id="mlsloginid" size="30"></td></tr>24 <tr><td> MLSPassword:</td><td><input type="text" name="password" id="password" size="30"></td></tr>23 <tr><td>Idp Login ID:</td><td><input type="text" name="idploginid" id="idploginid" size="30"></td></tr> 24 <tr><td>Idp Password:</td><td><input type="text" name="password" id="password" size="30"></td></tr> 25 25 <tr><td colspan="2"><input type="submit" name="submit" value="Login"></td></tr> 26 26 </table> AcmeIdp/trunk/web/login.jsp
r58 r60 5 5 <% 6 6 String 7 mlsLoginId,7 idpLoginId, 8 8 password; 9 9 10 mlsLoginId = request.getParameter("mlsloginid");10 idpLoginId = request.getParameter("idploginid"); 11 11 password = request.getParameter("password"); 12 12 13 if ( ( mlsLoginId.equalsIgnoreCase("acme") == true) &&13 if ( (idpLoginId.equalsIgnoreCase("acme") == true) && 14 14 (password.equalsIgnoreCase("acme") == true) ) { 15 15 // successful login, save the session 16 session.setAttribute(_credentials, mlsLoginId);16 session.setAttribute(_credentials, idpLoginId); 17 17 } 18 18 else { 19 session.setAttribute(_loginerror, "Bad MLSLogin Id or Password Given");19 session.setAttribute(_loginerror, "Bad Idp Login Id or Password Given"); 20 20 response.sendRedirect(response.encodeRedirectURL("index.jsp")); 21 21 return; … … 28 28 <head> 29 29 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 30 <title>A cme MLSLogin</title>30 <title>ACME Idp Login</title> 31 31 <link rel="stylesheet" type="text/css" href="main.css"> 32 32 </head> … … 34 34 <%@include file="header.html"%> 35 35 36 <h1>Welcome to ACME MLS, you are now logged in.</h1>36 <h1>Welcome to ACME Idp, you are now logged in.</h1> 37 37 <table> 38 <tr><td><a href="protected.jsp">View a protected page</a></td></tr> 39 <tr><td><a href="visit-acme-tms.jsp">Visit ACME TMS</a></td></tr> 40 <tr><td><a href="logout.jsp">Logout of ACME MLS</a></td></tr> 41 <tr><td><a href="xalan.jsp">View Xalan page</a></td></tr> 38 <tr><td><a href="visit-acme-mls.jsp">Visit ACME MLS</a></td></tr> 39 <tr><td><a href="logout.jsp">Logout of ACME Idp</a></td></tr> 42 40 </table> 43 41 AcmeIdp/trunk/web/logout.jsp
r58 r60 8 8 <head> 9 9 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 10 <title>A cmeMLSLogout</title>10 <title>ACME Idp Logout</title> 11 11 <link rel="stylesheet" type="text/css" href="main.css"> 12 12 </head> … … 20 20 <table class="section" cellspacing="5" cellpadding="5" align="center" width="60%"> 21 21 <tr> 22 <td align="center">You have been logged out of A cmeMLS</td>22 <td align="center">You have been logged out of ACME Idp</td> 23 23 </tr> 24 24 </table> 25 25 26 26 <table> 27 <tr><td><a href="protected.jsp">View a protected page</a></td></tr> 28 <tr><td><a href="visit-acme-tms.jsp">Visit ACME TMS</a></td></tr> 29 <tr><td><a href="index.jsp">Login into ACME MLS</a></td></tr> 27 <tr><td><a href="index.jsp">Login into ACME Idp</a></td></tr> 30 28 </table> 31 29 AcmeIdp/trunk/web/xalan.jsp
r58 r60 7 7 <head> 8 8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 9 <title>Xalan Page</title>9 <title>Xalan Test Page</title> 10 10 </head> 11 11 <body> 12 12 13 <h1>Xalan Page</h1>13 <h1>Xalan Test Page</h1> 14 14 15 15 <% 16 16 // See which version of Xalan we have loaded... 17 out.println(" xalan version = " + org.apache.xalan.Version.getVersion() + "<br>");17 out.println("Xalan version = " + org.apache.xalan.Version.getVersion() + "<p>\r\n"); 18 18 19 19 java.io.StringWriter sw = new java.io.StringWriter(); … … 24 24 s = s.replace("\n", "<br>"); 25 25 s = s.replace("\r", "<br>"); 26 out.println(" EnvironmentCheck = " + s);26 out.println(" EnvironmentCheck = <p>\r\n" + s); 27 27 %> 28 28 </body>
