Giter Site home page Giter Site logo

Comments (5)

mirjan-hoffmann avatar mirjan-hoffmann commented on June 29, 2024

@Edmondi-Kacaj How did you configure this on the internal Test-System? Also manually?

from edu-sharing-box.

Edmondi-Kacaj avatar Edmondi-Kacaj commented on June 29, 2024

hello @mirjan-hoffmann

Yes shibboleth_after.yml just add a key

<entry key="allowed_authentication_types">shibboleth</entry>

and in the docker version, we don't need this, is added automatically by script inside the container,

in the .env file, you can find the variable below, and if this REPOSITORY_SERVICE_AUTH_EXTERNAL is true then it will add this property itself in homeApplication.properties.xml

# --- authentication service
REPOSITORY_SERVICE_AUTH=shibboleth
# --- use external authentication service
REPOSITORY_SERVICE_AUTH_EXTERNAL=true

so maybe we can comment for now this task in edu-sharing-config-file.yml

because we want to use the default configuration, but even if we leave it like it is it will be overridden by the script itself, based on .env variable

  
- include: ./common/shibboleth_after.yml
    shibboleth_after_path='{{repository_volume_config_cluster.stdout}}/applications'
  become: yes
  when: (edu_configure_shibboleth is defined and edu_configure_shibboleth) and
        (repository_volume_config_cluster.stdout is defined) and (repository_volume_config_cluster.stdout != "")
  tags:
    - edu-sharing-config
    - shibboleth

from edu-sharing-box.

mirjan-hoffmann avatar mirjan-hoffmann commented on June 29, 2024

@Edmondi-Kacaj Ok, then this is not a general problem of the adjustment of homeApplication.properties.xml - I'll rename the issue.

But the problem is still there. It is not working. If I set install_shibboleth: true, then <entry key="allowed_authentication_types">shibboleth</entry> is missing in homeApplication.properties.xml - this should be set automatically if shibboleth is activated (whichever way is used to configure this in edu-sharing v8)

from edu-sharing-box.

Edmondi-Kacaj avatar Edmondi-Kacaj commented on June 29, 2024

Hello @mirjan-hoffmann

I created a pull request for this problem, can you have a look

from edu-sharing-box.

mirjan-hoffmann avatar mirjan-hoffmann commented on June 29, 2024

fixed with #46

from edu-sharing-box.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.