|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.aselect.system.servlet.ASelectHttpServlet
org.aselect.authspserver.authsp.db.DBAuthSP
public class DBAuthSP
An A-Select AuthSP that uses a database as back-end.
Description:
The A-Select DB AuthSP uses a database back-end to validate user/password
combinations. The DB AuthSP retrieves the following components and attributes
from the A-Select AuthSP Server:
friendly_name
working_dir
Field Summary | |
---|---|
static java.lang.String |
MODULE
The name of this module, that is used in the system logging. |
static java.lang.String |
VERSION
The version. |
Constructor Summary | |
---|---|
DBAuthSP()
|
Method Summary | |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
Process requests for the HTTP GET method. |
protected void |
doPost(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
Process requests for the HTTP POST method. |
void |
init(javax.servlet.ServletConfig oConfig)
Initialization of the DB AuthSP. |
protected boolean |
isRestartableServlet()
Determines whether or not a Servlet 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, 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 |
Field Detail |
---|
public static final java.lang.String MODULE
public static final java.lang.String VERSION
Constructor Detail |
---|
public DBAuthSP()
Method Detail |
---|
public void init(javax.servlet.ServletConfig oConfig) throws javax.servlet.ServletException
AuthSP
:
init
in interface javax.servlet.Servlet
init
in class ASelectHttpServlet
javax.servlet.ServletException
Servlet.init(javax.servlet.ServletConfig)
protected boolean isRestartableServlet()
ASelectHttpServlet
true
if the Servlet
is restartable, false
otherwise.
isRestartableServlet
in class ASelectHttpServlet
true
if the Servlet is restartable, otherwise
false
.protected void doGet(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse) throws java.io.IOException
GET
method.
doGet
in class javax.servlet.http.HttpServlet
java.io.IOException
HttpServlet.doGet(
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
protected void doPost(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse) throws java.io.IOException
POST
method.
doPost
in class javax.servlet.http.HttpServlet
java.io.IOException
HttpServlet.doPost(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |