class RestAuthenticationHandler {

    public JsonValue initiateAuthentication(HttpServletRequest request, HttpServletResponse response,
            String authIndexType, String indexValue, String sessionUpgradeSSOTokenId) throws RestAuthException {
        return authenticate(request, response, null, authIndexType, indexValue, sessionUpgradeSSOTokenId);
    }

    @Inject public  RestAuthenticationHandler(LoginAuthenticator loginAuthenticator,
            RestAuthCallbackHandlerManager restAuthCallbackHandlerManager,
            AMAuthErrorCodeResponseStatusMapping amAuthErrorCodeResponseStatusMapping, AuthIdHelper authIdHelper);

}