org.apache.jackrabbit.servlet.login
Class NullLoginFilter
java.lang.Object
org.apache.jackrabbit.servlet.login.AbstractLoginFilter
org.apache.jackrabbit.servlet.login.NullLoginFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class NullLoginFilter
- extends AbstractLoginFilter
Login filter that always uses null
credentials for logging in
to the content repository. This is useful for example for public web sites
where all repository access is performed using anonymous sessions. Another
use case for this login filter is when login information is made available
to the content repository through JAAS or some other out-of-band mechanism.
- Since:
- Apache Jackrabbit 1.6
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullLoginFilter
public NullLoginFilter()
getCredentials
protected Credentials getCredentials(javax.servlet.http.HttpServletRequest request)
- Always returns
null
.
- Specified by:
getCredentials
in class AbstractLoginFilter
- Parameters:
request
- ignored
- Returns:
null
credentials
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.