Sha256: 8f7bbc8d1767c3bf9b528720cc36f5f0a70c06388634ebddcf427c42949d519c

Contents?: true

Size: 797 Bytes

Versions: 1

Compression:

Stored size: 797 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 %>
  </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.4.4.5 app/views/proxy_validate.erb