class AuthnRequestFromTransactionHandler {

    public void restartJourney(final SessionId sessionId) {
        final RestartJourneyStateController stateController =
                (RestartJourneyStateController) sessionRepository.getStateController(sessionId, RestartJourneyState.class);
        stateController.transitionToSessionStartedState();
    }

    @Inject public  AuthnRequestFromTransactionHandler(
            SessionRepository sessionRepository,
            HubEventLogger hubEventLogger,
            PolicyConfiguration policyConfiguration,
            TransactionsConfigProxy transactionsConfigProxy,
            IdGenerator idGenerator);

}