| Lasso Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
Addon to SAML 2.0 profile for ID-WSF 2.0 bootsrapingAddon to SAML 2.0 profile for ID-WSF 2.0 bootsraping  | 
Synopsis
lasso_error_t lasso_login_idwsf2_add_discovery_bootstrap_epr (LassoLogin *login,const char *url,const char *abstract,GList *security_mechanisms,int tolerance,int duration); LassoWsAddrEndpointReference * lasso_login_idwsf2_get_discovery_bootstrap_epr (LassoLogin *login); LassoWsAddrEndpointReference * lasso_saml2_assertion_idwsf2_get_discovery_bootstrap_epr (LassoSaml2Assertion *assertion);
Details
lasso_login_idwsf2_add_discovery_bootstrap_epr ()
lasso_error_t lasso_login_idwsf2_add_discovery_bootstrap_epr (LassoLogin *login,const char *url,const char *abstract,GList *security_mechanisms,int tolerance,int duration);
Add the needed bootstrap attribute to the LassoSaml2Assertion currently container in the
LassoLogin object. This function should be called after lasso_login_build_assertion() by an IdP
also having the Discovery service role.
The default tolerance and duration are respectively ten minutes and two days.
  | 
a LassoLogin object | 
  | 
the Disco service address | 
  | 
the Disco service description | 
  | 
the list of supported security mechanisms. [allow-none][element-type utf8] | 
  | 
see lasso_saml2_assertion_set_basic_conditions(). [default -1]
 | 
  | 
see lasso_saml2_assertion_set_basic_conditions(). [default 0]
 | 
Returns :  | 
0 if successfull, otherwise LASSO_PROFILE_ERROR_MISSING_ASSERTION if no assertion is present in the LassoLogin object, LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ if login is not a LassoLogin object. | 
lasso_login_idwsf2_get_discovery_bootstrap_epr ()
LassoWsAddrEndpointReference * lasso_login_idwsf2_get_discovery_bootstrap_epr
                                                        (LassoLogin *login);
Extract the Discovery boostrap EPR from the attribute named LASSO_SAML2_ATTRIBUTE_NAME_EPR.
  | 
a LassoLogin object | 
Returns :  | 
a caller owned LassoWsAddrEndpointReference object, or NULL if none can be found. [transfer none] | 
lasso_saml2_assertion_idwsf2_get_discovery_bootstrap_epr ()
LassoWsAddrEndpointReference * lasso_saml2_assertion_idwsf2_get_discovery_bootstrap_epr
                                                        (LassoSaml2Assertion *assertion);
Extract the Discovery bootstrap EPR from assertion.
  | 
a LassoSaml2Assertion object | 
Returns :  | 
a LassoWsAddrEndpointReference or NULL if no bootstrap EPR is found. [transfer none] | 
