configurable principle and service principle (for client)

This commit is contained in:
Chris Busbey
2013-11-20 14:01:16 -08:00
parent 4e6880ec95
commit 5441db3d7d
8 changed files with 52 additions and 22 deletions

View File

@@ -67,7 +67,7 @@ namespace zmq
// Acquire security context credentials from the
// underlying mechanism.
static int acquire_credentials (char * service_name_,
static int acquire_credentials (char * principle_name_,
gss_cred_id_t * cred_);
protected:
@@ -77,11 +77,11 @@ namespace zmq
// Opaque GSSAPI token for incoming data
gss_buffer_desc recv_tok;
// Opaque GSSAPI representation of service_name
// Opaque GSSAPI representation of principle
gss_name_t target_name;
// Human-readable service principal name
char * service_name;
// Human-readable principal name
char * principle_name;
// Status code returned by GSSAPI functions
OM_uint32 maj_stat;