# File lib/casclient/frameworks/merb/strategy.rb, line 72
      def read_ticket
        ticket = request.params[:ticket]

        return nil unless ticket

        log.debug("Request contains ticket #{ticket.inspect}.")

        if ticket =~ /^PT-/
          ProxyTicket.new(ticket, service_url, request.params[:renew])
        else
          ServiceTicket.new(ticket, service_url, request.params[:renew])
        end
      end