LassoIdWsf2Profile

LassoIdWsf2Profile

Synopsis

                    LassoIdWsf2Profile;
gint                lasso_idwsf2_profile_build_request_msg
                                                        (LassoIdWsf2Profile *profile,
                                                         const char *security_mech_id);
gint                lasso_idwsf2_profile_build_response_msg
                                                        (LassoIdWsf2Profile *profile);
LassoNode *         lasso_idwsf2_profile_get_name_identifier
                                                        (LassoIdWsf2Profile *idwsf2_profile);

Description

Details

LassoIdWsf2Profile

typedef struct {
	LassoProfile parent;
} LassoIdWsf2Profile;

lasso_idwsf2_profile_build_request_msg ()

gint                lasso_idwsf2_profile_build_request_msg
                                                        (LassoIdWsf2Profile *profile,
                                                         const char *security_mech_id);

Serialize and sign, if needed, the SOAP request message, put the result in

LASSO_PROFILE(profile)->msg_body

.

FIXME: really do sign messages.

profile :

a LassoIdWsf2Profile object

Returns :

0 if successful, LASSO_PROFILE_ERROR_BUILDING_REQUEST_FAILED.

lasso_idwsf2_profile_build_response_msg ()

gint                lasso_idwsf2_profile_build_response_msg
                                                        (LassoIdWsf2Profile *profile);

Serialize and sign the SOAP, if needed, the response message, put the result in

LASSO_PROFILE(profile)->msg_body

.

idwsf2_profile :

a LassoIdWsf2Profile object

Returns :

0 if successful, LASSO_PROFILE_ERROR_BUILDING_RESPONSE_FAILED otherwise.

lasso_idwsf2_profile_get_name_identifier ()

LassoNode *         lasso_idwsf2_profile_get_name_identifier
                                                        (LassoIdWsf2Profile *idwsf2_profile);

Return the NameIdentifier found in a WS-Security authentication token, when Bearer or SAML security mechanism is used.

idwsf2_profile :

a LassoIdWsf2Profile object

Returns :

a LassoNode object or NULL.. allow-none.