Starting ASOperations With Security

Procedure

  • The following is an example of the command line options that you can use when starting ASOperations to have it join the security domain exdomain and to use a space with an additional encrypted field:
    -discovery tcp://127.0.0.1:50000 -member_name op -security_token exdomain_token.txt -encrypt_field

    These command line options start ASOperations using the default metaspace named ms and allow it to connect to a security domain controller that has been started using the example security policy file example_policy.txt. When you use ASOperations to put data into the space, you will see the following additional prompt:

    Put: Enter the value to be encrypted (string):

    The value you enter at this prompt is stored into a field named secure_value that is defined as a string. Any string value that you enter in response to this prompt will be encrypted when it is stored in the space or when it is persisted. See, “Implementing ActiveSpaces Security” for information on encrypting data fields.