<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> <cas:authenticationSuccess> <cas:user th:text="${principal.id}"/> <cas:proxyGrantingTicket th:if="${pgtIou}" th:text="${pgtIou}"/> <cas:proxies th:if="${not #lists.isEmpty(chainedAuthentications)}"> <cas:proxy th:each="proxy : ${chainedAuthentications}" th:text="${proxy.principal.id}"/> </cas:proxies> <cas:attributes th:if="${not #lists.isEmpty(formattedAttributes)}"> <div th:each="attr : ${formattedAttributes}" th:remove="tag"> <div th:utext="${attr}" th:remove="tag"/> </div> </cas:attributes> </cas:authenticationSuccess> </cas:serviceResponse>