Sha256: 337f093d6dea6d2f2071a7897c34be41fde9ffdddaa8e70e5ef9d81459930dd4

Contents?: true

Size: 903 Bytes

Versions: 1

Compression:

Stored size: 903 Bytes

Contents

<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
<% if @presenter.proxy_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 %>
    <% if @presenter.proxies %>
    <cas:proxies>
    <% @presenter.proxies.each do |proxy| %>
    <cas:proxy><%= proxy %></cas:proxy>
    <% end %>
    </cas:proxies>
    <% end %>
    
    <% unless @presenter.extra_xml.blank? %>
      <%= @presenter.extra_xml %>
    <% end %>
  </cas:authenticationSuccess>
<% else %>
  <cas:authenticationFailure code="<%= @presenter.proxy_ticket_result.message_category %>">
  <%= @presenter.proxy_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/proxy_validate.erb