public class PortalIDPWebBrowserSSOFilter extends org.picketlink.identity.federation.web.filters.IDPFilter implements SSOInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.FilterConfig |
config
The filter configuration
|
static String |
ORIGINAL_HTTP_SERVLET_REQUEST_PARAM |
protected String |
servletContextName
The Servlet context name
|
| Constructor and Description |
|---|
PortalIDPWebBrowserSSOFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected String |
getInitParameter(String paramName)
Read init parameter (works for both kernel initialization or Servlet API
initialization)
|
protected javax.servlet.ServletContext |
getServletContext() |
void |
init(javax.servlet.FilterConfig config) |
protected void |
initImpl()
This method needs to be implemented by conrete filter.
|
void |
initWithParams(org.exoplatform.container.xml.InitParams params,
org.exoplatform.container.ExoContainerContext containerContext)
Method is invoked if we are performing initialization through exo kernel
|
protected boolean |
requirePortalEnvironment()
Indicates if it requires that a full portal environment must be set
|
cleanUpSessionNote, destroy, determineLoginType, getConfigProvider, getConfiguration, getIdentityURL, handleSAML11UnsolicitedResponse, initHandlersChain, initIdentityServer, initIDPConfiguration, initKeyManager, initSTSConfiguration, processSAMLRequestMessage, processSAMLResponseMessage, sendErrorResponseToSP, startPicketLinkpublic static final String ORIGINAL_HTTP_SERVLET_REQUEST_PARAM
protected javax.servlet.FilterConfig config
protected String servletContextName
public final void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterinit in class org.picketlink.identity.federation.web.filters.IDPFilterjavax.servlet.ServletExceptionpublic void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterdoFilter in class org.picketlink.identity.federation.web.filters.IDPFilterIOExceptionjavax.servlet.ServletExceptionpublic final void initWithParams(org.exoplatform.container.xml.InitParams params,
org.exoplatform.container.ExoContainerContext containerContext)
initWithParams in interface SSOInterceptorprotected void initImpl()
throws javax.servlet.ServletException
getInitParameter(String). This
works in both types of initialization (Case1: Filter initialization through
kernel, Case2: initialization through servlet API)javax.servlet.ServletException - an init exception happens when calling super class init methodprotected String getInitParameter(String paramName)
paramName - parameter nameprotected boolean requirePortalEnvironment()
true if it requires the portal environment
false otherwise.protected javax.servlet.ServletContext getServletContext()
ServletContextCopyright © 2020 JBoss by Red Hat. All Rights Reserved.