org.picketlink.identity.federation.bindings.tomcat.idp
Class IDPWebBrowserSSOValve
java.lang.Object
org.apache.catalina.util.LifecycleBase
org.apache.catalina.util.LifecycleMBeanBase
org.apache.catalina.valves.ValveBase
org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve
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
IDP Valve for Apache Tomcat 7 and beyond
- Author:
- anil saldhana
Field Summary |
protected org.apache.catalina.util.LifecycleSupport |
lifecycle
The lifecycle event support for this component. |
Fields inherited from class org.apache.catalina.valves.ValveBase |
asyncSupported, container, containerLog, info, next, sm |
Fields inherited from class org.apache.catalina.util.LifecycleMBeanBase |
mserver |
Fields inherited from interface org.apache.catalina.Lifecycle |
AFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT |
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. |
protected void |
startInternal()
Prepare for the beginning of active use of the public methods of this component. |
protected void |
stopInternal()
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, event, getContainer, getDomainInternal, getInfo, getNext, getObjectNameKeyProperties, initInternal, isAsyncSupported, setAsyncSupported, setContainer, setNext, toString |
Methods inherited from class org.apache.catalina.util.LifecycleMBeanBase |
destroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister |
Methods inherited from class org.apache.catalina.util.LifecycleBase |
destroy, fireLifecycleEvent, getState, getStateName, init, setState, setState, start, stop |
Methods inherited from interface org.apache.catalina.Lifecycle |
destroy, getState, getStateName, init, start, stop |
lifecycle
protected org.apache.catalina.util.LifecycleSupport lifecycle
- The lifecycle event support for this component.
IDPWebBrowserSSOValve
public IDPWebBrowserSSOValve()
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
- Overrides:
addLifecycleListener
in class org.apache.catalina.util.LifecycleBase
- 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
- Overrides:
findLifecycleListeners
in class org.apache.catalina.util.LifecycleBase
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
- Overrides:
removeLifecycleListener
in class org.apache.catalina.util.LifecycleBase
- Parameters:
listener
- The listener to add
startInternal
protected void startInternal()
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.
- Overrides:
startInternal
in class org.apache.catalina.valves.ValveBase
- Throws:
org.apache.catalina.LifecycleException
- if this component detects a fatal error that prevents this component from being used
stopInternal
protected void stopInternal()
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.
- Overrides:
stopInternal
in class org.apache.catalina.valves.ValveBase
- 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
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.