org.aselect.server.request.handler.aselect
Class ASelectAuthenticationProfile
java.lang.Object
org.aselect.server.request.handler.AbstractRequestHandler
org.aselect.server.request.handler.aselect.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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASelectAuthenticationProfile
public ASelectAuthenticationProfile()
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>
- server_id - The A-Select Server ID
- organization - The A-Select Server organization ID
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 servletoConfig
- 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 requestresponse
- 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.