Create a gist now

Instantly share code, notes, and snippets.

Runs the fedlet configurator
#!/bin/sh
# Configure the fedlet
# remove the target
rm -fr ~/fedlet.old
mv ~/fedlet ~/fedlet.old
rm -f /var/tmp/metadata*
# Get the IDP meta data fresh from OIF
(cd /var/tmp; wget http://localhost:7777/fed/idp/metadata )
# Run the fedlet config process
java -classpath fedwar/WEB-INF/lib/opensso-sharedlib.jar:fedwar/WEB-INF/lib/openfedlib.jar:install/lib/co
nfigurefedlet.jar oracle.security.fed.fedlet.install.ConfigureFedlet
# THe config program will ask for a bunch input. If you prefer you can
# Automate the process by using the following as stdin for the above java program
echo <<EOF
/home/oracle/fedlet-base
http://fedlethost:8080/fedletsample
fedletsp
1
Oracle123
Oracle123
Oracle123
Oracle123
1
/var/tmp/metadata
1
/home/oracle/fedlet
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment