org.aselect.authspserver.sam
Class SAMService

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.aselect.system.sam.service.SAMServiceServlet
              extended by org.aselect.authspserver.sam.SAMService
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SAMService
extends SAMServiceServlet

The A-Select AuthSP Server SAM Service servlet.

Description:
The SAM Servlet that is used for monitoring the A-Select AuthSP Server.

Concurrency issues:
-

Author:
Alfa & Ariss
See Also:
Serialized Form

Field Summary
static java.lang.String MODULE
          The module name.
 
Fields inherited from class org.aselect.system.sam.service.SAMServiceServlet
_htOIDs, _sSAMServiceForm, _sSAMServiceStatusForm, _sWorkingDir
 
Constructor Summary
SAMService()
           
 
Method Summary
 void destroy()
          Calls the super class destroy method.
protected  java.util.Hashtable getSAMInfo()
          Returns all information that can be resolved from this A-Select AuthSP Server that is usefull for monitoring.
protected  java.lang.String getSysDescr()
          Returns the A-Select AuthSP Server discription represented as a String.
protected  SystemLogger getSystemLogger()
          Returns the AuthSP Server system logger, used for logging.
protected  java.lang.String getVersion()
          Returns the A-Select AuthSP Server version number.
 void init(javax.servlet.ServletConfig oServletConfig)
          Initialize method for this Servlet, that starts the initialize of the super class and loads all specific A-Select Server OID's to the _htOIDs Hashtable

protected  int operational()
          Checks if the A-Select AuthSP Server Servlet is operational.
 
Methods inherited from class org.aselect.system.sam.service.SAMServiceServlet
getCommonSAMInfo, getContextUrl, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
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

MODULE

public static final java.lang.String MODULE
The module name.

See Also:
Constant Field Values
Constructor Detail

SAMService

public SAMService()
Method Detail

init

public void init(javax.servlet.ServletConfig oServletConfig)
          throws javax.servlet.ServletException
Initialize method for this Servlet, that starts the initialize of the super class and loads all specific A-Select Server OID's to the _htOIDs Hashtable

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

destroy

public void destroy()
Calls the super class destroy method.

Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class SAMServiceServlet
See Also:
SAMServiceServlet.destroy()

getSAMInfo

protected java.util.Hashtable getSAMInfo()
Returns all information that can be resolved from this A-Select AuthSP Server that is usefull for monitoring.

At this moment no specific AuthSP Server monitoring information is available. Only the common SAM information will be returned.

Specified by:
getSAMInfo in class SAMServiceServlet
Returns:
Hashtable that contains the OID (as key) and the OID value (as value).
See Also:
SAMServiceServlet.getSAMInfo()

getSystemLogger

protected SystemLogger getSystemLogger()
Returns the AuthSP Server system logger, used for logging.

Specified by:
getSystemLogger in class SAMServiceServlet
Returns:
the SystemLogger object
See Also:
SAMServiceServlet.getSystemLogger()

operational

protected int operational()
Checks if the A-Select AuthSP Server Servlet is operational.

Specified by:
operational in class SAMServiceServlet
Returns:
int that represents if the servlet is operational (1) or not (-1).
See Also:
SAMServiceServlet.operational()

getSysDescr

protected java.lang.String getSysDescr()
Returns the A-Select AuthSP Server discription represented as a String.

Specified by:
getSysDescr in class SAMServiceServlet
Returns:
String that contains a description of the system.
See Also:
SAMServiceServlet.getSysDescr()

getVersion

protected java.lang.String getVersion()
Returns the A-Select AuthSP Server version number.

Specified by:
getVersion in class SAMServiceServlet
Returns:
String containing version information
See Also:
SAMServiceServlet.getVersion()


Copyright © 2008 SURFnet BV. All Rights Reserved.