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 usesnull
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
-
-
Constructor Summary
Constructors Constructor Description NullLoginFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Credentials
getCredentials(javax.servlet.http.HttpServletRequest request)
Always returnsnull
.-
Methods inherited from class org.apache.jackrabbit.servlet.login.AbstractLoginFilter
destroy, doFilter, init
-
-
-
-
Method Detail
-
getCredentials
protected Credentials getCredentials(javax.servlet.http.HttpServletRequest request)
Always returnsnull
.- Specified by:
getCredentials
in classAbstractLoginFilter
- Parameters:
request
- ignored- Returns:
null
credentials
-
-