Changeset 60

Show
Ignore:
Timestamp:
01/24/07 20:27:31 (2 years ago)
Author:
paulhethmon
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • AcmeIdp/trunk/web/header.html

    r58 r60  
    22<tr> 
    33  <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> 
    55</tr> 
    66<tr> 
    7   <td class="slogan">When only the best will do!</td> 
     7  <td class="slogan">The Identity Experts</td> 
    88</tr> 
    99</table> 
  • AcmeIdp/trunk/web/index.jsp

    r58 r60  
    1111    <head> 
    1212        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
    13         <title>Acme MLS</title> 
     13        <title>ACME Idp</title> 
    1414        <link rel="stylesheet" type="text/css" href="main.css"> 
    1515    </head> 
     
    1717<%@include file="header.html"%> 
    1818 
    19     <h1>Acme MLS Login Page</h1> 
     19    <h1>ACME Idp Login Page</h1> 
    2020     
    2121    <form name="login" method="POST" action="login.jsp"> 
    2222    <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>MLS Password:</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> 
    2525      <tr><td colspan="2"><input type="submit" name="submit" value="Login"></td></tr> 
    2626    </table> 
  • AcmeIdp/trunk/web/login.jsp

    r58 r60  
    55<% 
    66    String  
    7       mlsLoginId, 
     7      idpLoginId, 
    88      password; 
    99 
    10     mlsLoginId = request.getParameter("mlsloginid"); 
     10    idpLoginId = request.getParameter("idploginid"); 
    1111    password = request.getParameter("password"); 
    1212 
    13     if ( (mlsLoginId.equalsIgnoreCase("acme") == true) && 
     13    if ( (idpLoginId.equalsIgnoreCase("acme") == true) && 
    1414         (password.equalsIgnoreCase("acme") == true)      ) { 
    1515      // successful login, save the session 
    16       session.setAttribute(_credentials, mlsLoginId); 
     16      session.setAttribute(_credentials, idpLoginId); 
    1717    } 
    1818    else { 
    19       session.setAttribute(_loginerror, "Bad MLS Login Id or Password Given"); 
     19      session.setAttribute(_loginerror, "Bad Idp Login Id or Password Given"); 
    2020      response.sendRedirect(response.encodeRedirectURL("index.jsp")); 
    2121      return; 
     
    2828    <head> 
    2929        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
    30         <title>Acme MLS Login</title> 
     30        <title>ACME Idp Login</title> 
    3131        <link rel="stylesheet" type="text/css" href="main.css"> 
    3232    </head> 
     
    3434<%@include file="header.html"%> 
    3535 
    36     <h1>Welcome to ACME MLS, you are now logged in.</h1> 
     36    <h1>Welcome to ACME Idp, you are now logged in.</h1> 
    3737    <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> 
    4240    </table> 
    4341     
  • AcmeIdp/trunk/web/logout.jsp

    r58 r60  
    88  <head> 
    99    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
    10     <title>AcmeMLS Logout</title> 
     10    <title>ACME Idp Logout</title> 
    1111    <link rel="stylesheet" type="text/css" href="main.css"> 
    1212  </head> 
     
    2020  <table class="section" cellspacing="5" cellpadding="5" align="center" width="60%"> 
    2121    <tr> 
    22       <td align="center">You have been logged out of AcmeMLS</td> 
     22      <td align="center">You have been logged out of ACME Idp</td> 
    2323    </tr> 
    2424  </table> 
    2525   
    2626    <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> 
    3028    </table> 
    3129     
  • AcmeIdp/trunk/web/xalan.jsp

    r58 r60  
    77    <head> 
    88        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
    9         <title>Xalan Page</title> 
     9        <title>Xalan Test Page</title> 
    1010    </head> 
    1111    <body> 
    1212 
    13     <h1>Xalan Page</h1> 
     13    <h1>Xalan Test Page</h1> 
    1414     
    1515<% 
    1616 // 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"); 
    1818 
    1919 java.io.StringWriter sw = new java.io.StringWriter(); 
     
    2424 s = s.replace("\n", "<br>"); 
    2525 s = s.replace("\r", "<br>"); 
    26  out.println(" EnvironmentCheck = " + s); 
     26 out.println(" EnvironmentCheck = <p>\r\n" + s); 
    2727   %>     
    2828    </body>