bundles/org.eclipse.packagedrone.repo.channel/src/org/eclipse/packagedrone/repo/channel/servlet/AbstractChannelServiceServlet.java
protected boolean authenticate ( final By by, final HttpServletRequest request, final HttpServletResponse response ) throws IOException
    {
        if ( isAuthenticated ( by, request ) )
        {
            return true;
        }

        BasicAuthentication.request ( response, "channel", "Please authenticate" );

        return false;
    }
protected boolean authenticate ( final By by, final HttpServletRequest request, final HttpServletResponse response ) throws IOException
    {
        if ( isAuthenticated ( by, request ) )
        {
            return true;
        }

        BasicAuthentication.request ( response, "channel", "Please authenticate" );

        return false;
    }
Authenticate the request is authenticated against the deploy keys
<p>
If the request could not be authenticated a basic authentication request
is sent back and the {@link HttpServletResponse} will be committed.
</p>

@param by
the channel locator
@param request
the request
@param response
the response
@return <code>false</code> if the request was not authenticated and the
response got committed, <code>true</code> otherwise
@throws IOException
in case on a IO error