Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
titlecasLoginView.jsp
<%@ page session="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<!-- $Id: casLoginView.jsp,v 1.10 2005/05/24 18:57:18 sbattaglia Exp $ -->
	
		<!-- DOCUMENT TITLE: CHANGE TO NEW TITLE -->
		<title>JA-SIG  Central  Authentication  Service (CAS)</title>
		<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	
		<!-- KEYWORDS AND DESCRIPTIONS GO INTO THIS SECTION -->
	
		<meta name="keywords" content="Central Authentication Service,JA-SIG,CAS" />
		<meta name="description" content="The login page for the JA-SIG Central Authentication Service" />
		<meta name="author" content="Bart Grebowiec, Scott Battaglia" />
		
	
		<!-- THIS CODE PROVIDES THE FORMATTING FOR THE TEXT - PLEASE LEAVE INTACT -->
		<link rel="stylesheet" href="<spring:theme code="css" />" type="text/css" media="all" />
		<script src="js/common.js" type="text/javascript"></script>
	</head>


  <body onload="init();">
	<!-- HEADER -->
	<div id="header">
		<a id="top">Java Architecture Special Interest Group</a>
		<h1>JA-SIG Central  Authentication  Service</h1>
	</div>
	<!-- END HEADER -->

	<!-- CONTENT -->
	<div id="content">

		<div class="dataset clear" style="position: relative;">
			<h2 style="margin-bottom:0;">Please Log In</h2>

			<p style="margin-top:-.5em;border:1px solid #ccc;background-color:#ffc;color:#000;padding:5px;">
			  Congratulations on bringing CAS online!  
We've fronted this CAS 3 instance with authentication to CAS 2. <br />
			</p>

			<form method="post" action="">
							<p><input style="width:1.5em;border:0;padding:0;margin:0;" 
type="checkbox" id="warn" name="warn" value="true" tabindex="3" /> 
							   <label for="warn"  accesskey="w">
<span class="accesskey">W</span>arn me before logging me into other sites.</label></p>

							<input type="hidden" name="lt" value="${flowExecutionId}" />
  							<input type="hidden" name="_currentStateId" value="${currentStateId}" />
							<input type="hidden" name="_eventId" value="submit" />

							<p><input type="submit" 
class="button" accesskey="l" value="LOGIN" tabindex="4" /></p>
						</div>

					</div>
				</fieldset>
			</form>
		</div>
	</div><!-- END CONTENT -->

	<!-- FOOTER -->
   	<div id="footer">
		<hr />
		<p style="margin-top:1em;">
			Copyright &copy; 2005 JA-SIG.  All rights reserved.
		</p>
	</div>
	<!-- END FOOTER -->

</body>
</html>

Trying it out

Visit the CAS server explicitly specifying the /login on the path. You will CAS (2) authenticate and then be able to submit the CAS 3 login form. Specify a service and you'll get a ST which validates to authenticate your CAS 2 NetID.