ef268f9 RESPONDER: Wrap up the code to setup the idle timeout

2 files Authored by fidencio 7 years ago, Committed by jhrozek 7 years ago,
    RESPONDER: Wrap up the code to setup the idle timeout
    
    As secrets responder will make use of this very same code in the future,
    let's wrap it up into a new function in order to avoid code duplication.
    
    Related:
    https://pagure.io/SSSD/sssd/issue/3316
    
    Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com>
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
    Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>