15ad4aec02
token.
15 lines
578 B
Bash
Executable File
15 lines
578 B
Bash
Executable File
#!/bin/bash
|
|
|
|
CLASSPATH=.
|
|
CLASSPATH=$CLASSPATH:/srv/www/casaats/webapps/CasaAuthTokenSvc/WEB-INF/classes
|
|
CLASSPATH=$CLASSPATH:/usr/share/java/xerces-j2.jar
|
|
CLASSPATH=$CLASSPATH:/usr/share/java/log4j.jar
|
|
CLASSPATH=$CLASSPATH:/opt/novell/zenworks/share/tomcat/common/classes
|
|
CLASSPATH=$CLASSPATH:/srv/www/casaats/webapps/CasaAuthTokenSvc/WEB-INF/lib/xmlsec-1.4.0.jar
|
|
CLASSPATH=$CLASSPATH:/srv/www/casaats/webapps/CasaAuthTokenSvc/WEB-INF/lib/commons-logging.jar
|
|
|
|
export CLASSPATH
|
|
id_token=`java tokenValidate`
|
|
|
|
perl -e "use MIME::Base64(); print MIME::Base64::decode('$id_token')"
|