org.aselect.server.request.handler.sfs
Class ASelectAuthenticationProfile

java.lang.Object
  extended by org.aselect.server.request.handler.AbstractRequestHandler
      extended by org.aselect.server.request.handler.sfs.ASelectAuthenticationProfile
All Implemented Interfaces:
IRequestHandler

public class ASelectAuthenticationProfile
extends AbstractRequestHandler

The A-Select Authentication Profile.

Description:
The A-Select Server Authentication Profile for legacy A-Select request handlers (> A-Select 1.4).

Concurrency issues:
-

Author:
Alfa & Ariss

Field Summary
 
Fields inherited from class org.aselect.server.request.handler.AbstractRequestHandler
_configManager, _oServletConfig, _oSessionManager, _systemLogger
 
Constructor Summary
ASelectAuthenticationProfile()
           
 
Method Summary
 void destroy()
          Removes the class variables from memory.
 void init(javax.servlet.ServletConfig oServletConfig, java.lang.Object oConfig)
          Init function.
 RequestState process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Main process function.
 
Methods inherited from class org.aselect.server.request.handler.AbstractRequestHandler
getID, getPattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASelectAuthenticationProfile

public ASelectAuthenticationProfile()
Method Detail

init

public void init(javax.servlet.ServletConfig oServletConfig,
                 java.lang.Object oConfig)
          throws ASelectException
Init function.

Description:
Initializes the request handler by reading the following configuration:

<aselect>
 <server_id>[server_id]</server_id>
 <organization>[organization]</organization>
  ...
</aselect>

Initializes the A-Select Legacy Request Handler factory

Specified by:
init in interface IRequestHandler
Overrides:
init in class AbstractRequestHandler
Parameters:
oServletConfig - Servlet Config of the Parent servlet
oConfig - Object containing the RequestHandler configuration
Throws:
ASelectException - If initialization fails.
See Also:
AbstractRequestHandler.init(javax.servlet.ServletConfig, java.lang.Object)

process

public RequestState process(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws ASelectException
Main process function.

Description:
Processes all A-Select Server requests by creating a specific request handler for the supplied request.

Note: The restart request should be handled by one Servlet in the context.

Concurrency issues:
-

Preconditions:
RequestHandlerFactory != null

Postconditions:
-

Parameters:
request - HttpServletRequest containing the request
response - HttpServletResponse containing the response
Returns:
RequestState containing the request handling state
Throws:
ASelectException - if the request couldn't be processed
See Also:
IRequestHandler.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

destroy

public void destroy()
Removes the class variables from memory.

See Also:
IRequestHandler.destroy()


Copyright © 2008 SURFnet BV. All Rights Reserved.