Eolisation d'un Fournisseur d'identité Shibboleth / Eole Shibboleth IDP integration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29-shib-sp-metadata 371B

123456789101112131415161718192021
  1. #!/bin/bash
  2. #
  3. # Download SP Metadata if needed
  4. #
  5. ENABLED=$(CreoleGet activer_idp non)
  6. METADATADIR="/opt/shibboleth-idp/metadata"
  7. USER="tomcat8"
  8. GROUP="adm"
  9. if [[ ${ENABLED} == "oui" ]]
  10. then
  11. SP=($(CreoleGet serviceProvider ''))
  12. for meta in ${SP}
  13. do
  14. # FIXME !!!!
  15. touch ${METADATADIR}/${meta}.xml
  16. chown ${USER}:${GROUP} ${METADATADIR}/${meta}.xml
  17. done
  18. fi