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, doFilterpublic void init(javax.servlet.FilterConfig config)
init in interface javax.servlet.Filterinit in class AbstractLoginFilterprotected Credentials getCredentials(javax.servlet.http.HttpServletRequest request)
getCredentials in class AbstractLoginFilterCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.