edu.yale.its.tp.cas.proxy
Class ProxyTicketReceptor

java.lang.Object
  |
  +--HttpServlet
        |
        +--edu.yale.its.tp.cas.proxy.ProxyTicketReceptor

public class ProxyTicketReceptor
extends HttpServlet

Receives and keeps track fo PGTs and serial PGT identifiers (IOUs) sent by CAS in response to a ServiceValidate request.

See Also:
Serialized Form

Constructor Summary
ProxyTicketReceptor()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
 void doPost(HttpServletRequest request, HttpServletResponse response)
           
static java.lang.String getProxyTicket(java.lang.String pgtIou, java.lang.String target)
          Retrieves a proxy ticket using the PGT that corresponds to the given PGT IOU.
 void init(ServletConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyTicketReceptor

public ProxyTicketReceptor()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
ServletException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   java.io.IOException
ServletException
java.io.IOException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  java.io.IOException
ServletException
java.io.IOException

getProxyTicket

public static java.lang.String getProxyTicket(java.lang.String pgtIou,
                                              java.lang.String target)
                                       throws java.io.IOException
Retrieves a proxy ticket using the PGT that corresponds to the given PGT IOU.

java.io.IOException