public class ContainerLoginFilter extends AbstractLoginFilter
SimpleCredentials
object that is
used to log in to the underlying content repository. If no authenticated
user is found, then null
credentials are used.
It is expected that the underlying repository is configured to simply trust the given username. If the same repository is also made available for direct logins, then a special secret password that allows logins with any username could be configured just for this filter.
Constructor and Description |
---|
ContainerLoginFilter() |
Modifier and Type | Method and Description |
---|---|
protected Credentials |
getCredentials(javax.servlet.http.HttpServletRequest request) |
void |
init(javax.servlet.FilterConfig config) |
destroy, doFilter
public void init(javax.servlet.FilterConfig config)
init
in interface javax.servlet.Filter
init
in class AbstractLoginFilter
protected Credentials getCredentials(javax.servlet.http.HttpServletRequest request)
getCredentials
in class AbstractLoginFilter
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.