Class ContainerLoginFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class ContainerLoginFilter
    extends AbstractLoginFilter
    Login filter that relies on container authentication to provide the authenticated username of a request. This username is associated with a dummy password (empty by default, configurable through the init parameter "password") in a 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.

    Since:
    Apache Jackrabbit 1.6
    • Constructor Detail

      • ContainerLoginFilter

        public ContainerLoginFilter()