Starting ASRequestReplyServer and ASRequestReplyClient with Security

Procedure

  1. The example shows the command line options that you can use when starting ASRequestReplyServer to have it join the security domain exdomain:
    -discovery tcp://127.0.0.1:50000 -member_name rrserver -security_token exdomain_token.txt
  2. To invoke ASRequestReplyClient to work in conjunction with the ASRequestReplyServer example when it has been started with security, use the following command line options:
    -discovery tcp://127.0.0.1:50000 -member_name rrclient -security_token exdomain_token.txt

    These command line options start ASRequestReplyServer and ASRequestReplyClient using the default metaspace name ms and allow them to connect to a security domain controller that has been starting using the example security policy file example_policy.txt.