org.aselect.server.request.handler.saml11.websso
Interface IWebSSOProfile

All Known Implementing Classes:
AbstractWebSSOProfile, BrowserArtifact, BrowserPost

public interface IWebSSOProfile

Interface for SAML 1.1 websso profile reponse handlers.

Description:
Interface that describes the methods that a WebSSO Profile response handler class must implement

Concurrency issues:
-

Author:
Alfa & Ariss

Method Summary
 void destroy()
          Removes class variables from memory.
 java.lang.String getID()
          Returns the value of the configured id parameter in the profile section.
 void init(java.lang.Object oConfig, long lAssertionExpireTime, java.lang.String sAttributeNamespace, boolean bSendAttributeStatement)
          Initializes the profile handler.
 void process(java.util.Hashtable htInfo, javax.servlet.http.HttpServletResponse response, java.lang.String sIP, java.lang.String sHost)
          processes a request and sends a websso response.
 

Method Detail

init

void init(java.lang.Object oConfig,
          long lAssertionExpireTime,
          java.lang.String sAttributeNamespace,
          boolean bSendAttributeStatement)
          throws ASelectException
Initializes the profile handler.

Description:
Reads configuration and sets class variables to a default value

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Parameters:
oConfig - object containing the configuration used by the A-Select ConfigManager
lAssertionExpireTime - the configured assertion expire time
sAttributeNamespace - the configured attribute namespace that will be used for creating attributes
bSendAttributeStatement - TRUE if the Attribute Statement must be send direclty
Throws:
ASelectException - if initialization fails

process

void process(java.util.Hashtable htInfo,
             javax.servlet.http.HttpServletResponse response,
             java.lang.String sIP,
             java.lang.String sHost)
             throws ASelectException
processes a request and sends a websso response.

Description:
Sends a SAML 1.1 WebSSO response

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Parameters:
htInfo - containing the A-Select verify_credentials response items
response - the HttpServletResponse were to the SAML response will be sent
sIP - the client IP address
sHost - the host representation of the clients IP address
Throws:
ASelectException - if processing fails

destroy

void destroy()
Removes class variables from memory.


getID

java.lang.String getID()
Returns the value of the configured id parameter in the profile section.

Description:
The ID must be unique.

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Returns:
String containing the profile class id


Copyright © 2008 SURFnet BV. All Rights Reserved.