org.wso2.carbon.identity.thrift.authentication
Class AuthenticatorServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.thrift.server.TServlet
              extended by org.wso2.carbon.identity.thrift.authentication.AuthenticatorServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class AuthenticatorServlet
extends org.apache.thrift.server.TServlet

Servlet that registers Thrift Authentication Service in OSGi HTTPService.

See Also:
Serialized Form

Constructor Summary
AuthenticatorServlet(org.apache.thrift.TProcessor processor, org.apache.thrift.protocol.TProtocolFactory protocolFactory)
           
AuthenticatorServlet(org.apache.thrift.TProcessor processor, org.apache.thrift.protocol.TProtocolFactory inProtocolFactory, org.apache.thrift.protocol.TProtocolFactory outProtocolFactory)
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.apache.thrift.server.TServlet
addCustomHeader, setCustomHeaders
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatorServlet

public AuthenticatorServlet(org.apache.thrift.TProcessor processor,
                            org.apache.thrift.protocol.TProtocolFactory inProtocolFactory,
                            org.apache.thrift.protocol.TProtocolFactory outProtocolFactory)

AuthenticatorServlet

public AuthenticatorServlet(org.apache.thrift.TProcessor processor,
                            org.apache.thrift.protocol.TProtocolFactory protocolFactory)
Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws IOException,
                     javax.servlet.ServletException
Overrides:
doGet in class org.apache.thrift.server.TServlet
Throws:
IOException
javax.servlet.ServletException

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException,
                      IOException
Overrides:
doPost in class org.apache.thrift.server.TServlet
Throws:
javax.servlet.ServletException
IOException


Copyright © 2015 WSO2. All rights reserved.