Class NullLoginFilter

  • All Implemented Interfaces:

    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.
    Apache Jackrabbit 1.6
    • Constructor Detail

      • NullLoginFilter

        public NullLoginFilter()
    • Method Detail

      • getCredentials

        protected Credentials getCredentials​(javax.servlet.http.HttpServletRequest request)
        Always returns null.
        Specified by:
        getCredentials in class AbstractLoginFilter
        request - ignored
        null credentials