Skip to content

Commit

Permalink
standalone shibboleth image
Browse files Browse the repository at this point in the history
- adds a new image for user_saml integration tests, only providing shib
- removes old integration tests images from PHP 5.6 times

Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Apr 12, 2023
1 parent 4b4da3f commit 88dc673
Show file tree
Hide file tree
Showing 55 changed files with 26 additions and 3,046 deletions.
10 changes: 10 additions & 0 deletions user_saml_shibboleth-idp/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM cscfi/shibboleth-idp:release-4.1.4

ADD shibboleth-idp/ /opt/shibboleth-idp/
ADD start.sh /usr/local/bin/

RUN chmod a+x /usr/local/bin/start.sh

RUN init-idp.sh

CMD "start.sh"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
#idp.authn.LDAP.authenticator = anonSearchAuthenticator

## Connection properties ##
idp.authn.LDAP.ldapURL = ldap://localhost:389
# the LDAP server is typically a service container, reachable via "directory"
idp.authn.LDAP.ldapURL = ldap://directory:389
idp.authn.LDAP.useStartTLS = false
idp.authn.LDAP.useSSL = false
#idp.authn.LDAP.connectTimeout = 3000
Expand Down Expand Up @@ -56,4 +57,4 @@ idp.attribute.resolver.LDAP.searchFilter = (uid=$requestContext.principal
#idp.pool.LDAP.prunePeriod = 300
#idp.pool.LDAP.idleTime = 600
#idp.pool.LDAP.blockWaitTime = 3000
#idp.pool.LDAP.failFastInitialize = false
#idp.pool.LDAP.failFastInitialize = false
13 changes: 13 additions & 0 deletions user_saml_shibboleth-idp/start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

#set -x

#sed 's/^::1.*localhost/::1\tip6-localhost/g' /etc/hosts > /etc/hosts.tmp
#cat /etc/hosts.tmp > /etc/hosts
#rm -f /etc/hosts.tmp

export JETTY_BACKCHANNEL_SSL_KEYSTORE_PASSWORD=nextcloud
export JETTY_BROWSER_SSL_KEYSTORE_PASSWORD=nextcloud

init-idp.sh
$JAVA_HOME/bin/java -jar $JETTY_HOME/start.jar jetty.home=$JETTY_HOME jetty.base=$JETTY_BASE -Djetty.sslContext.keyStorePassword=$JETTY_KEYSTORE_PASSWORD -Djetty.sslContext.keyStorePath=$JETTY_KEYSTORE_PATH
34 changes: 0 additions & 34 deletions user_saml_shibboleth/Dockerfile

This file was deleted.

Loading

0 comments on commit 88dc673

Please sign in to comment.