/*
- * Copyright (c) 2010, JANET(UK)
+ * Copyright (c) 2011, JANET(UK)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
gss_eap_radius_attr_provider(void);
~gss_eap_radius_attr_provider(void);
- bool initFromExistingContext(const gss_eap_attr_ctx *source,
+ bool initWithExistingContext(const gss_eap_attr_ctx *source,
const gss_eap_attr_provider *ctx);
- bool initFromGssContext(const gss_eap_attr_ctx *source,
+ bool initWithGssContext(const gss_eap_attr_ctx *source,
const gss_cred_id_t cred,
const gss_ctx_id_t ctx);
void releaseAnyNameMapping(gss_buffer_t type_id,
gss_any_t input) const;
- void exportToBuffer(gss_buffer_t buffer) const;
- bool initFromBuffer(const gss_eap_attr_ctx *ctx,
- const gss_buffer_t buffer);
+ const char *prefix(void) const;
+ const char *name(void) const;
+ bool initWithJsonObject(const gss_eap_attr_ctx *manager,
+ JSONObject &obj);
+ JSONObject jsonRepresentation(void) const;
bool getAttribute(uint32_t attribute,
int *authenticated,
struct rs_error *err);
#define RS_CONFIG_FILE SYSCONFDIR "/radsec.conf"
-#define RS_DICT_FILE DATAROOTDIR "/freeradius/dictionary"
#define VENDORPEC_MS 311 /* RFC 2548 */
#define PW_SAML_AAA_ASSERTION 132
#define IS_RADIUS_ERROR(code) ((code) >= ERROR_TABLE_BASE_rse && \
- (code) <= ERROR_TABLE_BASE_rse + RSE_SOME_ERROR)
+ (code) <= ERROR_TABLE_BASE_rse + RSE_TIMEOUT_IO)
#ifdef __cplusplus
}