projects
/
mod_auth_gssapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Properly check return error when filtering mechs
[mod_auth_gssapi.git]
/
src
/
mod_auth_gssapi.h
diff --git
a/src/mod_auth_gssapi.h
b/src/mod_auth_gssapi.h
index
97ba2c8
..
2e05bb0
100644
(file)
--- a/
src/mod_auth_gssapi.h
+++ b/
src/mod_auth_gssapi.h
@@
-55,12
+55,14
@@
struct mag_config {
gss_key_value_set_desc *cred_store;
#endif
struct seal_key *mag_skey;
gss_key_value_set_desc *cred_store;
#endif
struct seal_key *mag_skey;
+
bool use_basic_auth;
gss_OID_set_desc *allowed_mechs;
bool use_basic_auth;
gss_OID_set_desc *allowed_mechs;
+ gss_OID_set_desc *basic_mechs;
};
struct mag_conn {
};
struct mag_conn {
- apr_pool_t *p
arent
;
+ apr_pool_t *p
ool
;
gss_ctx_id_t ctx;
bool established;
const char *user_name;
gss_ctx_id_t ctx;
bool established;
const char *user_name;
@@
-68,6
+70,9
@@
struct mag_conn {
time_t expiration;
int auth_type;
bool delegated;
time_t expiration;
int auth_type;
bool delegated;
+ struct databuf basic_hash;
};
#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
};
#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
+
+struct mag_conn *mag_new_conn_ctx(apr_pool_t *pool);