org.camunda.bpm.webapp.impl.security.auth
Class AuthenticationFilter
java.lang.Object
org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class AuthenticationFilter
- extends Object
- implements javax.servlet.Filter
Servlet Filter implementation responsible for populating the
Authentications.getCurrent() thread-local (ie. binding the current
set of authentications to the current thread so that it may easily be obtained
by application parts not having access to the current session.
- Author:
- Daniel Meyer, nico.rehwaldt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationFilter
public AuthenticationFilter()
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Specified by:
doFilter in interface javax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
clearProcessEngineAuthentications
protected void clearProcessEngineAuthentications(Authentications authentications)
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Filter
Copyright © 2018 camunda services GmbH. All rights reserved.