Functions | |
AXIS2_EXTERN axis2_char_t * | rampart_get_property_from_ctx (const axutil_env_t *env, axis2_ctx_t *ctx, const axis2_char_t *key) |
AXIS2_EXTERN axutil_param_t * | rampart_get_security_param (const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx, axis2_char_t *parameter) |
AXIS2_EXTERN axiom_node_t * | rampart_get_security_token (const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx, axiom_soap_header_t *soap_header) |
AXIS2_EXTERN void | rampart_create_fault_envelope (const axutil_env_t *env, const axis2_char_t *sub_code, const axis2_char_t *reason_text, const axis2_char_t *detail_node_text, axis2_msg_ctx_t *msg_ctx) |
AXIS2_EXTERN axis2_status_t | rampart_validate_security_token (const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx, axiom_node_t *sec_node) |
AXIS2_EXTERN void * | rampart_get_rampart_configuration (const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx, axis2_char_t *param_name) |
AXIS2_EXTERN axis2_bool_t | rampart_is_rampart_engaged (const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx) |
AXIS2_EXTERN void rampart_create_fault_envelope | ( | const axutil_env_t * | env, | |
const axis2_char_t * | sub_code, | |||
const axis2_char_t * | reason_text, | |||
const axis2_char_t * | detail_node_text, | |||
axis2_msg_ctx_t * | msg_ctx | |||
) |
Creates a SOAP envelope based on params described below
env | pointer to environment struct | |
sub_code | the text of the Subcode element of a SOAP fault message | |
reason_text | the text in soapenv:Reason element | |
detail_node_text | the text in the soapenv:Detail element | |
msg_ctx | the msg_ctx |
AXIS2_EXTERN axis2_char_t* rampart_get_property_from_ctx | ( | const axutil_env_t * | env, | |
axis2_ctx_t * | ctx, | |||
const axis2_char_t * | key | |||
) |
Get properties from the axis2 context
env | pointer to environment struct | |
ctx | axis2 context | |
key | the property name |
AXIS2_EXTERN void* rampart_get_rampart_configuration | ( | const axutil_env_t * | env, | |
axis2_msg_ctx_t * | msg_ctx, | |||
axis2_char_t * | param_name | |||
) |
Get rampart configurations from the message context
env | pointer to environment struct | |
msg_ctx | message context | |
param_name | name of the parameter of the configuration |
AXIS2_EXTERN axutil_param_t* rampart_get_security_param | ( | const axutil_env_t * | env, | |
axis2_msg_ctx_t * | msg_ctx, | |||
axis2_char_t * | parameter | |||
) |
Get parameter for the given parameter name
env | pointer to environment struct | |
msg_ctx | message context | |
parameter | the parameter name |
AXIS2_EXTERN axiom_node_t* rampart_get_security_token | ( | const axutil_env_t * | env, | |
axis2_msg_ctx_t * | msg_ctx, | |||
axiom_soap_header_t * | soap_header | |||
) |
Get the security token from the header block
env | pointer to environment struct | |
msg_ctx | message context | |
soap | heamsg_ctxder |
AXIS2_EXTERN axis2_bool_t rampart_is_rampart_engaged | ( | const axutil_env_t * | env, | |
axis2_msg_ctx_t * | msg_ctx | |||
) |
Check wether rampart is engaged or not
env | pointer to environment struct | |
msg_ctx | message context |
AXIS2_EXTERN axis2_status_t rampart_validate_security_token | ( | const axutil_env_t * | env, | |
axis2_msg_ctx_t * | msg_ctx, | |||
axiom_node_t * | sec_node | |||
) |
Validates a security header elements
env | pointer to environment struct | |
msg_ctx | the msg_ctx | |
sec_node | the reference to the security node |