Nuxeo ECM Projects 5.6-RC1

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

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by edu.yale.its.tp.cas.proxy.ProxyTicketReceptor
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

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 String getProxyTicket(String pgtIou, String target)
          Retrieves a proxy ticket using the PGT that corresponds to the given PGT IOU.
 void init(ServletConfig config)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyTicketReceptor

public ProxyTicketReceptor()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Throws:
ServletException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   IOException
Overrides:
doPost in class HttpServlet
Throws:
ServletException
IOException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException

getProxyTicket

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

Throws:
IOException

Nuxeo ECM Projects 5.6-RC1

Copyright © 2012 Nuxeo SA. All Rights Reserved.