Sample code for querying ATS server and validating the returned auth
token.
This commit is contained in:
14
CASA-auth-token/sample/README
Normal file
14
CASA-auth-token/sample/README
Normal file
@@ -0,0 +1,14 @@
|
||||
Files in this directory:
|
||||
-----------------------
|
||||
|
||||
CASA-auth.pl: Tool for requesting auth token from ATS. The auth token will be
|
||||
put in a file "token.txt".
|
||||
|
||||
tokenValidate.java: Code for validating auth token.
|
||||
|
||||
Makefile: Builds tokenValidate.class
|
||||
|
||||
validate.sh: Run this after running CASA-auth.pl. It will validate the token in
|
||||
"token.txt" and print the identity token to stdout. This should be run on a
|
||||
machine where ATS certificates have been properly configured. It is better to
|
||||
run this on the server where ATS runs.
|
||||
Reference in New Issue
Block a user