Added original casServiceValidationSuccess.jsp (cas-toolbox-3.4.7-1)
Benjamin Renard

Benjamin Renard commited on 2014-12-29 18:10:37
Showing 1 changed files, with 15 additions and 0 deletions.

... ...
@@ -0,0 +1,15 @@
1
+<%@ page session="false" %><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %><cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
2
+	<cas:authenticationSuccess>
3
+		<cas:user>${fn:escapeXml(assertion.chainedAuthentications[fn:length(assertion.chainedAuthentications)-1].principal.id)}</cas:user>
4
+<c:if test="${not empty pgtIou}">
5
+		<cas:proxyGrantingTicket>${pgtIou}</cas:proxyGrantingTicket>
6
+</c:if>
7
+<c:if test="${fn:length(assertion.chainedAuthentications) > 1}">
8
+		<cas:proxies>
9
+<c:forEach var="proxy" items="${assertion.chainedAuthentications}" varStatus="loopStatus" begin="0" end="${fn:length(assertion.chainedAuthentications)-2}" step="1">
10
+			<cas:proxy>${fn:escapeXml(proxy.principal.id)}</cas:proxy>
11
+</c:forEach>
12
+		</cas:proxies>
13
+</c:if>
14
+	</cas:authenticationSuccess>
15
+</cas:serviceResponse>
0 16
\ No newline at end of file
1 17