nl.gezondheidsmeter.SSO
Class SiamGezondheidsmeter

java.lang.Object
  extended by nl.knowledgeplaza.securityfilter.SSO.SSOHandler
      extended by nl.gezondheidsmeter.SSO.SiamGezondheidsmeter

public class SiamGezondheidsmeter
extends nl.knowledgeplaza.securityfilter.SSO.SSOHandler

Author:
Administrator

This class handles the Single Sign On for Gezondheidsmeter on a Siam Server.

In the configuration the following parameters are needed:
SharedSecret: The shared secret code
aSelectServer: The name of the SIAM aSelect server, not the URI
ApplicationID: The id of the application that needs the Single Sign On
ApllicationURL: The URL where SIAM should redirect the user after a successful login
Protocol: The protocol to be used with the SIAM aSelect Server
Host: The host to be used with the SIAM aSelect Server
Port: The port to be used with the SIAM aSelect Server
Path: The path to be used with the SIAM aSelect Server

Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
SiamGezondheidsmeter()
           
 
Method Summary
 void announce(nl.knowledgeplaza.securityfilter.SecurityFilter lSecurityFilter, javax.servlet.http.HttpServletRequest lRequest, javax.servlet.http.HttpServletResponse lResponse, Principal expiredPrincipal)
           
 Calendar getTimestamp(javax.servlet.http.HttpSession session)
           
 Principal handleUnknownPrincipal(nl.knowledgeplaza.securityfilter.SecurityFilter lSecurityFilter, javax.servlet.http.HttpServletRequest lRequest, javax.servlet.http.HttpServletResponse lResponse, Principal expiredPrincipal)
           
 void logout(nl.knowledgeplaza.securityfilter.SecurityFilter lSecurityFilter, javax.servlet.http.HttpServletRequest lRequest, javax.servlet.http.HttpServletResponse lResponse)
           
 void setConfig(Map config)
           
 void updateTimeout(nl.knowledgeplaza.securityfilter.SecurityFilter lSecurityFilter, javax.servlet.http.HttpServletRequest lRequest, javax.servlet.http.HttpServletResponse lResponse)
           
 void updateTimestamp(javax.servlet.http.HttpSession session)
           
 Principal verify(nl.knowledgeplaza.securityfilter.SecurityFilter lSecurityFilter, javax.servlet.http.HttpServletRequest lRequest, javax.servlet.http.HttpServletResponse lResponse, Principal expiredPrincipal)
           
 
Methods inherited from class nl.knowledgeplaza.securityfilter.SSO.SSOHandler
getConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
Constructor Detail

SiamGezondheidsmeter

public SiamGezondheidsmeter()
Method Detail

setConfig

public void setConfig(Map config)
Overrides:
setConfig in class nl.knowledgeplaza.securityfilter.SSO.SSOHandler

announce

public void announce(nl.knowledgeplaza.securityfilter.SecurityFilter lSecurityFilter,
                     javax.servlet.http.HttpServletRequest lRequest,
                     javax.servlet.http.HttpServletResponse lResponse,
                     Principal expiredPrincipal)
              throws javax.servlet.ServletException
Specified by:
announce in class nl.knowledgeplaza.securityfilter.SSO.SSOHandler
Throws:
javax.servlet.ServletException

verify

public Principal verify(nl.knowledgeplaza.securityfilter.SecurityFilter lSecurityFilter,
                        javax.servlet.http.HttpServletRequest lRequest,
                        javax.servlet.http.HttpServletResponse lResponse,
                        Principal expiredPrincipal)
                 throws javax.servlet.ServletException
Specified by:
verify in class nl.knowledgeplaza.securityfilter.SSO.SSOHandler
Throws:
javax.servlet.ServletException

handleUnknownPrincipal

public Principal handleUnknownPrincipal(nl.knowledgeplaza.securityfilter.SecurityFilter lSecurityFilter,
                                        javax.servlet.http.HttpServletRequest lRequest,
                                        javax.servlet.http.HttpServletResponse lResponse,
                                        Principal expiredPrincipal)
                                 throws javax.servlet.ServletException
Specified by:
handleUnknownPrincipal in class nl.knowledgeplaza.securityfilter.SSO.SSOHandler
Throws:
javax.servlet.ServletException

logout

public void logout(nl.knowledgeplaza.securityfilter.SecurityFilter lSecurityFilter,
                   javax.servlet.http.HttpServletRequest lRequest,
                   javax.servlet.http.HttpServletResponse lResponse)
            throws javax.servlet.ServletException
Specified by:
logout in class nl.knowledgeplaza.securityfilter.SSO.SSOHandler
Throws:
javax.servlet.ServletException

updateTimeout

public void updateTimeout(nl.knowledgeplaza.securityfilter.SecurityFilter lSecurityFilter,
                          javax.servlet.http.HttpServletRequest lRequest,
                          javax.servlet.http.HttpServletResponse lResponse)
Specified by:
updateTimeout in class nl.knowledgeplaza.securityfilter.SSO.SSOHandler

updateTimestamp

public void updateTimestamp(javax.servlet.http.HttpSession session)

getTimestamp

public Calendar getTimestamp(javax.servlet.http.HttpSession session)


Copyright © 2011 KnowledgePlaza. All Rights Reserved.