@Named public class BasicApplicationAuthenticationFilter extends Object implements javax.servlet.Filter
As a performance enhancement the application name is saved in the session after a successful authentication. Password check is waived with consequent requests when the application name in the request matches the application name in the session. Clients wishing to take advantage of this feature must support cookies.
Constructor and Description |
---|
BasicApplicationAuthenticationFilter(ApplicationManager applicationManager,
ClientValidationManager clientValidationManager,
TokenAuthenticationManager tokenAuthenticationManager,
AuditLogContext auditLogContext,
AuthenticatedApplicationHolder authenticatedApplicationHolder) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
@Inject public BasicApplicationAuthenticationFilter(ApplicationManager applicationManager, ClientValidationManager clientValidationManager, TokenAuthenticationManager tokenAuthenticationManager, AuditLogContext auditLogContext, AuthenticatedApplicationHolder authenticatedApplicationHolder)
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2021 Atlassian. All rights reserved.