"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "devstack/lib/federation.sh" between
keystone-16.0.0.tar.gz and keystone-16.0.1.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Train" series (latest release).

federation.sh  (keystone-16.0.0):federation.sh  (keystone-16.0.1)
skipping to change at line 105 skipping to change at line 105
install_package shibboleth xmlsec1-openssl install_package shibboleth xmlsec1-openssl
# Create a new keypair for Shibboleth # Create a new keypair for Shibboleth
sudo /etc/shibboleth/keygen.sh -f -o /etc/shibboleth sudo /etc/shibboleth/keygen.sh -f -o /etc/shibboleth
# Start Shibboleth module # Start Shibboleth module
start_service shibd start_service shibd
elif is_suse; then elif is_suse; then
# Install Shibboleth # Install Shibboleth
install_package shibboleth-sp install_package shibboleth-sp
# Install xmlsec dependency needed only for opensuse
install_package libxmlsec1-openssl1
# Create a new keypair for Shibboleth # Create a new keypair for Shibboleth
sudo /etc/shibboleth/keygen.sh -f -o /etc/shibboleth sudo /etc/shibboleth/keygen.sh -f -o /etc/shibboleth
# Start Shibboleth module # Start Shibboleth module
start_service shibd start_service shibd
else else
echo "Skipping installation of shibboleth for non ubuntu nor fedora nor suse host" echo "Skipping installation of shibboleth for non ubuntu nor fedora nor suse host"
fi fi
pip_install pysaml2 pip_install pysaml2
# xmlsec1 needed for k2k
install_package xmlsec1
} }
function upload_sp_metadata_to_samltest { function upload_sp_metadata_to_samltest {
local metadata_fname=${HOST_IP//./}_"$RANDOM"_sp local metadata_fname=${HOST_IP//./}_"$RANDOM"_sp
local metadata_url=http://$HOST_IP/Shibboleth.sso/Metadata local metadata_url=http://$HOST_IP/Shibboleth.sso/Metadata
wget $metadata_url -O $FILES/$metadata_fname wget $metadata_url -O $FILES/$metadata_fname
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo "Not found: $metadata_url" echo "Not found: $metadata_url"
return return
skipping to change at line 184 skipping to change at line 189
openstack role add --group $federated_users --domain $federated_domain $memb er_role openstack role add --group $federated_users --domain $federated_domain $memb er_role
openstack role add --group $federated_users --project $federated_project $me mber_role openstack role add --group $federated_users --project $federated_project $me mber_role
} }
function configure_tests_settings { function configure_tests_settings {
# Enable the mapped auth method in /etc/keystone.conf # Enable the mapped auth method in /etc/keystone.conf
iniset $KEYSTONE_CONF auth methods "external,password,token,mapped" iniset $KEYSTONE_CONF auth methods "external,password,token,mapped"
# Here we set any settings that might be need by the fed_scenario set of tes ts # Here we set any settings that might be need by the fed_scenario set of tes ts
iniset $TEMPEST_CONFIG identity-feature-enabled federation True iniset $TEMPEST_CONFIG identity-feature-enabled federation True
# If not using samltest as an external IdP, tell tempest not to test that sc
enario
if [[ "$IDP_ID" != "samltest" ]] ; then
iniset $TEMPEST_CONFIG identity-feature-enabled external_idp false
fi
# Identity provider settings # Identity provider settings
iniset $TEMPEST_CONFIG fed_scenario idp_id $IDP_ID iniset $TEMPEST_CONFIG fed_scenario idp_id $IDP_ID
iniset $TEMPEST_CONFIG fed_scenario idp_remote_ids $IDP_REMOTE_ID iniset $TEMPEST_CONFIG fed_scenario idp_remote_ids $IDP_REMOTE_ID
iniset $TEMPEST_CONFIG fed_scenario idp_username $IDP_USERNAME iniset $TEMPEST_CONFIG fed_scenario idp_username $IDP_USERNAME
iniset $TEMPEST_CONFIG fed_scenario idp_password $IDP_PASSWORD iniset $TEMPEST_CONFIG fed_scenario idp_password $IDP_PASSWORD
iniset $TEMPEST_CONFIG fed_scenario idp_ecp_url $IDP_ECP_URL iniset $TEMPEST_CONFIG fed_scenario idp_ecp_url $IDP_ECP_URL
# Mapping rules settings # Mapping rules settings
iniset $TEMPEST_CONFIG fed_scenario mapping_remote_type $MAPPING_REMOTE_TYPE iniset $TEMPEST_CONFIG fed_scenario mapping_remote_type $MAPPING_REMOTE_TYPE
 End of changes. 3 change blocks. 
0 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)