Created
November 4, 2011 21:25
-
-
Save wstrange/1340523 to your computer and use it in GitHub Desktop.
Runs the fedlet configurator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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