Package ninja

Class BasicAuthFilter

  • All Implemented Interfaces:
    Filter

    public class BasicAuthFilter
    extends Object
    implements Filter
    A Ninja filter that implements HTTP BASIC Authentication.
    Author:
    James Moger
    • Method Detail

      • filter

        public Result filter​(FilterChain chain,
                             Context context)
        Description copied from interface: Filter
        Filter the request. Filters should invoke the filterChain.nextFilter() method if they wish the request to proceed.
        Specified by:
        filter in interface Filter
        Parameters:
        chain - The filter chain
        context - The context