org.aselect.server.request.handler.attributeprocessor
Class AttributeProcessorProceeder

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

public class AttributeProcessorProceeder
extends AbstractRequestHandler

Request handler for finishing the cross authentication process for the AttributeProcessor.

Description:
Issues a cross TGT if this handler is called by the AttributeProcessor component to finish the authentication process after user interaction with an external application.

Concurrency issues:
-

Author:
Alfa & Ariss

Field Summary
 
Fields inherited from class org.aselect.server.request.handler.AbstractRequestHandler
_configManager, _oServletConfig, _oSessionManager, _systemLogger
 
Constructor Summary
AttributeProcessorProceeder()
          Constructor.
 
Method Summary
 void destroy()
          Removes class variables from memory.
 void init(javax.servlet.ServletConfig oServletConfig, java.lang.Object oConfig)
          Initializes the request handler.
 RequestState process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Issues an cross TGT.
 
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

AttributeProcessorProceeder

public AttributeProcessorProceeder()
Constructor.

Description:
Retrieves the singletons:

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Method Detail

init

public void init(javax.servlet.ServletConfig oServletConfig,
                 java.lang.Object oConfig)
          throws ASelectException
Initializes the request handler.

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 initalization fails
See Also:
AbstractRequestHandler.init(javax.servlet.ServletConfig, java.lang.Object)

destroy

public void destroy()
Removes class variables from memory.

See Also:
IRequestHandler.destroy()

process

public RequestState process(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws ASelectException
Issues an cross TGT.
Issues a cross TGT if this handler is called by the AttributeProcessor component to finish the authentication process after user interaction with an external application.

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)


Copyright © 2008 SURFnet BV. All Rights Reserved.