etf.org/rfc/rfc2617.txt).
If the request requires a secure connection and the {@code getScheme}method in the request does not return 'https' or some other acceptable secure protocol, then this method should set the status in the response object to Forbidden(403) and return {@code false}.
When this method returns {@code false}, the Http Service will send the response back to the client, thereby completing the request. When this method returns {@code true}, the Http Service will proceed with servicing the request.
If the specified request has been authenticated, this method must set the {@link #AUTHENTICATION_TYPE} request attribute to the type ofauthentication used, and the {@link #REMOTE_USER} request attribute tothe remote user (request attributes are set using the {@code setAttribute} method on the request). If this method does notperform any authentication, it must not set these attributes.
If the authenticated user is also authorized to access certain resources, this method must set the {@link #AUTHORIZATION} request attribute to the{@code Authorization} object obtained from the{@code org.osgi.service.useradmin.UserAdmin} service.
The servlet responsible for servicing the specified request determines the authentication type and remote user by calling the {@code getAuthType} and {@code getRemoteUser} methods, respectively, onthe request.
@param request the HTTP request
@param response the HTTP response
@return {@code true} if the request should be serviced, {@code false} ifthe request should not be serviced and Http Service will send the response back to the client.
@throws java.io.IOException may be thrown by this method. If this occurs,the Http Service will terminate the request and close the socket.