"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "devstack/lib/federation.sh" between
keystone-17.0.0.tar.gz and keystone-18.0.0.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 "Victoria" series (latest release).

federation.sh  (keystone-17.0.0):federation.sh  (keystone-18.0.0)
skipping to change at line 85 skipping to change at line 85
} }
function install_federation { function install_federation {
if is_ubuntu; then if is_ubuntu; then
install_package libapache2-mod-shib2 xmlsec1 install_package libapache2-mod-shib2 xmlsec1
# Create a new keypair for Shibboleth # Create a new keypair for Shibboleth
sudo shib-keygen -f sudo shib-keygen -f
# Enable the Shibboleth module for Apache # Enable the Shibboleth module for Apache
sudo a2enmod shib2 sudo a2enmod shib
elif is_fedora; then elif is_fedora; then
# NOTE(knikolla): For CentOS/RHEL, installing shibboleth is tricky # NOTE(knikolla): For CentOS/RHEL, installing shibboleth is tricky
# It requires adding a separate repo not officially supported # It requires adding a separate repo not officially supported
# Add Shibboleth repository with curl # Add Shibboleth repository with curl
curl https://download.opensuse.org/repositories/security://shibboleth/Ce ntOS_7/security:shibboleth.repo \ curl https://download.opensuse.org/repositories/security://shibboleth/Ce ntOS_7/security:shibboleth.repo \
| sudo tee /etc/yum.repos.d/shibboleth.repo >/dev/null | sudo tee /etc/yum.repos.d/shibboleth.repo >/dev/null
# Install Shibboleth # Install Shibboleth
install_package shibboleth xmlsec1-openssl install_package shibboleth xmlsec1-openssl
skipping to change at line 206 skipping to change at line 206
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
iniset $TEMPEST_CONFIG fed_scenario mapping_user_name $MAPPING_USER_NAME iniset $TEMPEST_CONFIG fed_scenario mapping_user_name $MAPPING_USER_NAME
iniset $TEMPEST_CONFIG fed_scenario mapping_group_name $GROUP_NAME iniset $TEMPEST_CONFIG fed_scenario mapping_group_name $GROUP_NAME
iniset $TEMPEST_CONFIG fed_scenario mapping_group_domain_name $DOMAIN_NAME iniset $TEMPEST_CONFIG fed_scenario mapping_group_domain_name $DOMAIN_NAME
iniset $TEMPEST_CONFIG fed_scenario enable_k2k_groups_mapping True
# Protocol settings # Protocol settings
iniset $TEMPEST_CONFIG fed_scenario protocol_id $PROTOCOL_ID iniset $TEMPEST_CONFIG fed_scenario protocol_id $PROTOCOL_ID
} }
function uninstall_federation { function uninstall_federation {
if is_ubuntu; then if is_ubuntu; then
uninstall_package libapache2-mod-shib2 uninstall_package libapache2-mod-shib2
elif is_fedora; then elif is_fedora; then
uninstall_package shibboleth uninstall_package shibboleth
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

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