org.aselect.authspserver.authsp.ip
Class IPAuthSP

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.aselect.system.servlet.ASelectHttpServlet
              extended by org.aselect.authspserver.authsp.ip.IPAuthSP
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class IPAuthSP
extends ASelectHttpServlet

A-Select IP AuthSP

Description:
This Authentication Service Provider (AuthSP) handles authentication requests based on valid IP Ranges

Author:
Alfa & Ariss
See Also:
Serialized Form

Constructor Summary
IPAuthSP()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
          Process requests for the HTTP GET method.
 void init(javax.servlet.ServletConfig oServletConfig)
          Initialization of the IP AuthSP.
protected  boolean isRestartableServlet()
          Determines whether or not the IP AuthsP is restartable.
 
Methods inherited from class org.aselect.system.servlet.ASelectHttpServlet
getModuleName, getWorkingDir, handleRestartRequest, isReinit, isRestartInProgress, restartServlets, service, setDisableCachingHttpHeaders, showErrorPage
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPAuthSP

public IPAuthSP()
Method Detail

init

public void init(javax.servlet.ServletConfig oServletConfig)
          throws javax.servlet.ServletException
Initialization of the IP AuthSP.

Description:
Performs the following steps to initialise the IPAuthSP:
Preconditions:

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class ASelectHttpServlet
Throws:
javax.servlet.ServletException
See Also:
Servlet.init(javax.servlet.ServletConfig)

doGet

protected void doGet(javax.servlet.http.HttpServletRequest servletRequest,
                     javax.servlet.http.HttpServletResponse servletResponse)
              throws javax.servlet.ServletException,
                     java.io.IOException
Process requests for the HTTP GET method.

Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

isRestartableServlet

protected boolean isRestartableServlet()
Determines whether or not the IP AuthsP is restartable.

Specified by:
isRestartableServlet in class ASelectHttpServlet
Returns:
true if the Servlet is restartable, otherwise false.
See Also:
ASelectHttpServlet.isRestartableServlet()


Copyright © 2008 SURFnet BV. All Rights Reserved.