Sha256: bd8fd82aa2877e2de609db6177b0e0f68ccc710760997be81a06568caf7301a8

Contents?: true

Size: 727 Bytes

Versions: 1

Compression:

Stored size: 727 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
3mix-castronaut-0.5.0.2 app/views/service_validate.erb