public class KeycloakAuthenticatedActionsFilter
extends org.springframework.web.filter.GenericFilterBean
implements org.springframework.context.ApplicationContextAware
AuthenticatedActionsHandler
as a Spring Security filter.Constructor and Description |
---|
KeycloakAuthenticatedActionsFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected void |
initFilterBean() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected void initFilterBean() throws javax.servlet.ServletException
initFilterBean
in class org.springframework.web.filter.GenericFilterBean
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
destroy
in interface org.springframework.beans.factory.DisposableBean
destroy
in class org.springframework.web.filter.GenericFilterBean
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2017 JBoss by Red Hat. All rights reserved.