Sha256: 4fb77de201d027a9f8b5c9fc1d55359bcb6c1c80221977a8f35d9ecdf101dc5a

Contents?: true

Size: 893 Bytes

Versions: 1

Compression:

Stored size: 893 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
masover-castronaut-0.5.0.1 app/views/proxy_validate.erb