summaryrefslogtreecommitdiffstats
path: root/auth/sample
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-07-19 16:44:02 -0500
committerInstrumental <jonathan.gathman@att.com>2018-07-19 16:44:13 -0500
commit87da9feacd0abb0d60b98cc00c4755121fc73bbb (patch)
treee916ccb1420b7fcfa04f19d7db3965e53d0fe119 /auth/sample
parent32cdd553a8668e6d03a9cf5b11b360d35a63c87f (diff)
add check and showpass
Issue-ID: AAF-378 Change-Id: If06c33ffd45eb61ab881cdb89f9689dae951f82c Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/sample')
-rw-r--r--auth/sample/bin/client.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/auth/sample/bin/client.sh b/auth/sample/bin/client.sh
index 2c736142..46c85be9 100644
--- a/auth/sample/bin/client.sh
+++ b/auth/sample/bin/client.sh
@@ -87,9 +87,16 @@ if [ ! "$CMD" = "" ]; then
rsync -uh --exclude=.gitignore /opt/app/aaf_config/$D/* /opt/app/osaaf/$D
done
;;
+ showpass)
+ echo "## Show Passwords"
+ $JAVA -jar /opt/app/aaf_config/bin/aaf-cadi-aaf-*-full.jar showpass ${APP_FQI} ${APP_FQDN}
+ ;;
+ check)
+ $JAVA -Dcadi_prop_files=/opt/app/osaaf/local/${NS}.props -jar /opt/app/aaf_config/bin/aaf-cadi-aaf-*-full.jar check ${APP_FQI} ${APP_FQDN}
+ ;;
validate)
echo "## validate requested"
- $JAVA -jar /opt/app/aaf_config/bin/aaf-cadi-aaf-*-full.jar validate cadi_prop_files=/opt/app/osaaf/local/${NS}.props
+ $JAVA -jar /opt/app/aaf_config/bin/aaf-cadi-aaf-*-full.jar validate /opt/app/osaaf/local/${NS}.props
;;
bash)
if [ ! -e ~/.bash_aliases ]; then