Sha256: 766e7bfeab9376fca66d7ce95c86eae5d3e38ff2251df4044a95d464f9fcd9c7

Contents?: true

Size: 719 Bytes

Versions: 1

Compression:

Stored size: 719 Bytes

Contents

<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
<% if presenter.service_ticket_result.valid? %>
  <cas:authenticationSuccess>
    <cas:user><%= presenter.identifier.to_s.to_xs %></cas:user>
    <% if presenter.proxy_granting_ticket_iou %>
    <cas:proxyGrantingTicket><%= presenter.proxy_granting_ticket_iou.to_s.to_xs %></cas:proxyGrantingTicket>
    <% end %>
    
    <% unless presenter.extra_xml.blank? %>
      <%= presenter.extra_xml %>
    <% end %>
  </cas:authenticationSuccess>
<% else %>
  <cas:authenticationFailure code="<%= presenter.service_ticket_result.message_category %>">
  <%= presenter.service_ticket_result.message %>
  </cas:authenticationFailure>
<% end %>
</cas:serviceResponse>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
masover-castronaut-0.5.0.1 app/views/service_validate.erb