public class SAML2LogoutFilter extends org.picketlink.identity.federation.web.filters.SPFilter implements SSOInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.FilterConfig |
config
The filter configuration
|
static String |
COOKIE_NAME |
static String |
OAUTH_COOKIE_NAME |
static String |
SAML_LOGOUT_ATTRIBUTE |
protected String |
servletContextName
The Servlet context name
|
| Constructor and Description |
|---|
SAML2LogoutFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain) |
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
|
static boolean |
isPortalLogoutInProgress(javax.servlet.http.HttpServletRequest request) |
static boolean |
isSAMLLogoutInProgress(javax.servlet.http.HttpServletRequest request) |
protected boolean |
requirePortalEnvironment()
Indicates if it requires that a full portal environment must be set
|
decryptAssertion, destroy, handleSAMLResponse, isTrusted, sendRequestToIDP, sendToDestination, validate, verifySignaturepublic static final String SAML_LOGOUT_ATTRIBUTE
public static final String COOKIE_NAME
public static final String OAUTH_COOKIE_NAME
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.SPFilterjavax.servlet.ServletExceptionpublic void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterdoFilter in class org.picketlink.identity.federation.web.filters.SPFilterIOExceptionjavax.servlet.ServletExceptionpublic static boolean isPortalLogoutInProgress(javax.servlet.http.HttpServletRequest request)
public static boolean isSAMLLogoutInProgress(javax.servlet.http.HttpServletRequest request)
public 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 © 2019 JBoss by Red Hat. All Rights Reserved.