public class ContainerBasedAuthenticationFilter extends Object implements javax.servlet.Filter
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
API_ENGINE_PATTERN |
static Pattern |
API_PLUGIN_PATTERN |
static Pattern |
API_STATIC_PLUGIN_PATTERN |
static Pattern |
APP_PATTERN |
protected org.camunda.bpm.engine.rest.security.auth.AuthenticationProvider |
authenticationProvider |
protected AuthenticationService |
userAuthentications |
| Constructor and Description |
|---|
ContainerBasedAuthenticationFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected Authentication |
createAuthentication(org.camunda.bpm.engine.ProcessEngine processEngine,
String username,
List<String> groups,
List<String> tenants) |
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected boolean |
existisAuthentication(Authentications authentications,
String engineName,
String username) |
protected String |
extractEngineName(javax.servlet.http.HttpServletRequest request) |
protected org.camunda.bpm.engine.ProcessEngine |
getAddressedEngine(String engineName) |
protected String |
getRequestUri(javax.servlet.http.HttpServletRequest request) |
void |
init(javax.servlet.FilterConfig filterConfig) |
protected boolean |
isAuthenticated(Authentication authentication,
String engineName,
String username) |
public static Pattern APP_PATTERN
public static Pattern API_ENGINE_PATTERN
public static Pattern API_STATIC_PLUGIN_PATTERN
public static Pattern API_PLUGIN_PATTERN
protected org.camunda.bpm.engine.rest.security.auth.AuthenticationProvider authenticationProvider
protected AuthenticationService userAuthentications
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.Filterpublic void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterIOExceptionjavax.servlet.ServletExceptionprotected String getRequestUri(javax.servlet.http.HttpServletRequest request)
protected String extractEngineName(javax.servlet.http.HttpServletRequest request)
protected org.camunda.bpm.engine.ProcessEngine getAddressedEngine(String engineName)
protected boolean existisAuthentication(Authentications authentications, String engineName, String username)
protected boolean isAuthenticated(Authentication authentication, String engineName, String username)
Copyright © 2014–2019 camunda services GmbH. All rights reserved.