PicketLink Federation Server Bindings for Apache Tomcat 5/6 2.1.3.1-redhat-1

org.picketlink.identity.federation.bindings.tomcat.idp
Class IDPWebBrowserSSOValve

java.lang.Object
  extended by org.apache.catalina.valves.ValveBase
      extended by org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve
          extended by org.picketlink.identity.federation.bindings.tomcat.idp.IDPWebBrowserSSOValve
All Implemented Interfaces:
MBeanRegistration, org.apache.catalina.Contained, org.apache.catalina.Lifecycle, org.apache.catalina.Valve

public class IDPWebBrowserSSOValve
extends AbstractIDPValve
implements org.apache.catalina.Lifecycle

Generic Web Browser SSO valve for the IDP Handles both the SAML Redirect as well as Post Bindings Note: Most of the work is done by IDPWebRequestUtil

Since:
May 18, 2009
Author:
Anil.Saldhana@redhat.com

Field Summary
protected  org.apache.catalina.util.LifecycleSupport lifecycle
          The lifecycle event support for this component.
 
Fields inherited from class org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve
auditHelper, configProvider, enableAudit, idpConfiguration, picketLinkConfiguration
 
Fields inherited from class org.apache.catalina.valves.ValveBase
container, controller, domain, info, mserver, next, oname, sm
 
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, INIT_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT
 
Constructor Summary
IDPWebBrowserSSOValve()
           
 
Method Summary
 void addLifecycleListener(org.apache.catalina.LifecycleListener listener)
          Add a lifecycle event listener to this component.
 org.apache.catalina.LifecycleListener[] findLifecycleListeners()
          Get the lifecycle listeners associated with this lifecycle.
protected  String getContextPath()
           
 void removeLifecycleListener(org.apache.catalina.LifecycleListener listener)
          Remove a lifecycle event listener from this component.
 void start()
          Prepare for the beginning of active use of the public methods of this component.
 void stop()
          Gracefully terminate the active use of the public methods of this component.
 
Methods inherited from class org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve
cleanUpSessionNote, determineLoginType, getConfiguration, getContext, getIdentityURL, getIgnoreIncomingSignatures, getKeyManager, getSignOutgoingMessages, handleSAML11, initHandlersChain, initIdentityServer, initIDPConfiguration, initKeyManager, initSTSConfiguration, invoke, processSAMLRequestMessage, processSAMLResponseMessage, recycle, sendErrorResponseToSP, setAttributeList, setAuditHelper, setConfigProvider, setConfigProvider, setIdentityParticipantStack, setIgnoreAttributesGeneration, setIgnoreIncomingSignatures, setRoleGenerator, setSamlHandlerChainClass, setSignOutgoingMessages, setStrictPostBinding, setValidatingAliasToTokenIssuer, startPicketLink
 
Methods inherited from class org.apache.catalina.valves.ValveBase
backgroundProcess, createObjectName, event, getContainer, getContainerName, getController, getDomain, getInfo, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lifecycle

protected org.apache.catalina.util.LifecycleSupport lifecycle
The lifecycle event support for this component.

Constructor Detail

IDPWebBrowserSSOValve

public IDPWebBrowserSSOValve()
Method Detail

addLifecycleListener

public void addLifecycleListener(org.apache.catalina.LifecycleListener listener)
Add a lifecycle event listener to this component.

Specified by:
addLifecycleListener in interface org.apache.catalina.Lifecycle
Parameters:
listener - The listener to add

findLifecycleListeners

public org.apache.catalina.LifecycleListener[] findLifecycleListeners()
Get the lifecycle listeners associated with this lifecycle. If this Lifecycle has no listeners registered, a zero-length array is returned.

Specified by:
findLifecycleListeners in interface org.apache.catalina.Lifecycle

removeLifecycleListener

public void removeLifecycleListener(org.apache.catalina.LifecycleListener listener)
Remove a lifecycle event listener from this component.

Specified by:
removeLifecycleListener in interface org.apache.catalina.Lifecycle
Parameters:
listener - The listener to add

start

public void start()
           throws org.apache.catalina.LifecycleException
Prepare for the beginning of active use of the public methods of this component. This method should be called after configure(), and before any of the public methods of the component are utilized.

Specified by:
start in interface org.apache.catalina.Lifecycle
Throws:
org.apache.catalina.LifecycleException - if this component detects a fatal error that prevents this component from being used

stop

public void stop()
          throws org.apache.catalina.LifecycleException
Gracefully terminate the active use of the public methods of this component. This method should be the last one called on a given instance of this component.

Specified by:
stop in interface org.apache.catalina.Lifecycle
Throws:
org.apache.catalina.LifecycleException - if this component detects a fatal error that needs to be reported

getContextPath

protected String getContextPath()
Specified by:
getContextPath in class AbstractIDPValve

PicketLink Federation Server Bindings for Apache Tomcat 5/6 2.1.3.1-redhat-1

Copyright © 2012 JBoss Inc.. All Rights Reserved.