To test the command line you can run the servlet test above, cut and paste the cookie value and pass it in as the token value.
Use a browser to access the following URL:
http://test-server.red.iplanet.com:58080/amserver/SSOTokenSampleServlet
The following output is displayed:
SSOToken host name: 123.123.123.123 (Your server's ip address) SSOToken Principal name: uid=amAdmin,ou=People,dc=example,dc=com Authentication type used: LDAP IPAddress of the host: 123.123.123.123 (Your server's ip address) The token id is AQIC5wM2LY4Sfcwbdp3gWuB38NA26klnTJlLPknN8t0fPVY= Property: Company is - Sun Microsystems Property: Country is - USA SSO Token Validation test Succeeded
In the AccessManager-base/SUNWam/samples/sso directory, execute the run command:
run AQIC5wM2LY4Sfcwbdp3gWuB38NA26klnTJlLPknN8t0fPVY=
The following result is displayed:
SSO "AQIC5wM2LY4Sfcwbdp3gWuB38NA26klnTJlLPknN8t0fPVY=" SSOToken host name: 123.123.123.123 (Your server's ip address) SSOToken Principal name: uid=amAdmin,ou=People,dc=example,dc=com Authentication type used: LDAP IPAddress of the host: 123.123.123.123 (Your server's ip address)