org.aselect.server.request.handler.saml11
Class SAML11QueryRequestHandler

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

public class SAML11QueryRequestHandler
extends AbstractRequestHandler

SAML 1.1 Artifact request handler.

Description:
Request handler for the fowllowing SAML 1.1 Query Requests:



Concurrency issues:
-

Author:
Alfa & Ariss

Field Summary
 
Fields inherited from class org.aselect.server.request.handler.AbstractRequestHandler
_configManager, _oServletConfig, _oSessionManager, _systemLogger
 
Constructor Summary
SAML11QueryRequestHandler()
           
 
Method Summary
 void destroy()
          Removes class variables from memory

 void init(javax.servlet.ServletConfig oServletConfig, java.lang.Object oConfig)
          Initializes the SAML 1.1 Query Request Handler

Description:
Reads the following configuration:

<handler>
 <assertion expire='[expire]'/>
 <attribute namespace='[namespace]'/>
 <authentication_methods>
  <identifier authsp_id='[authsp_id]' uri='[uri]'/>
 </authentication_methods>
</handler>

expire - The assertion expire time in seconds namespace - The attribute namespace authsp_id - The A-Select AuthSP ID uri - The authentication method namespace uri
This function performs the following tasks:

1.
 RequestState process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Processes a SAML message inside a SOAP message containing a SAML Subject Query request.
 
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

SAML11QueryRequestHandler

public SAML11QueryRequestHandler()
Method Detail

init

public void init(javax.servlet.ServletConfig oServletConfig,
                 java.lang.Object oConfig)
          throws ASelectException
Initializes the SAML 1.1 Query Request Handler

Description:
Reads the following configuration:

<handler>
 <assertion expire='[expire]'/>
 <attribute namespace='[namespace]'/>
 <authentication_methods>
  <identifier authsp_id='[authsp_id]' uri='[uri]'/>
 </authentication_methods>
</handler>


This function performs the following tasks:

1. Read the A-Select Server ID from the A-Select Server basic config
2. Read the request handler configuration

Note: For every AuthSP configured in A-Select an identifier section must be configured

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)

process

public RequestState process(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws ASelectException
Processes a SAML message inside a SOAP message containing a SAML Subject Query request.


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 class variables from memory

See Also:
IRequestHandler.destroy()


Copyright © 2008 SURFnet BV. All Rights Reserved.