• Jim Garlick's avatar
    gssapi: fail if client sets wrong principal · 4e22dd0e
    Jim Garlick authored
    Problem: if client sets ZMQ_GSSAPI_PRINCIPAL to a name
    for which credentials cannot be obtained, authentication
    proceeds with default credentials.
    
    Solution: Before initializing the security context, check
    whether there was a failed attempt to acquire credentials
    for a specific principal and bail out if so.
    
    Fixes #2531
    4e22dd0e
gssapi_client.cpp 6.37 KB