Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 5 Administering ActiveSpaces Security : Creating a Security Policy File

Creating a Security Policy File
To create a security policy file:
1.
Start the as-admin utility:
java -jar as-admin.jar
2.
At the as-admin command prompt, enter:
 
create security_policy policy_name "mypolicy/mydomain"
[encrypt <boolean>][validity_days <integer>] policy_file <policy_filename>
 
For example
create security_policy policy_name "mypolicy/mydomain" encrypt true validity_days 100 policy_file "acme_policy.txt"
where:
policy_name  Is an optional parameter that specifies the name of the security policy and security domain that is created. If you do not specify this parameter, a policy named AS-POLICY and a domain named AS-DOMAIN are created.
encrypt  Is an optional parameter that indicates whether the identity for the domain is to be encrypted. Each policy can have one or more domains.The default is encrypt true.
validity_days An integer that specifies how long the domain ID that the command creates remains valid. The default value is 365 days.
policy_filename  Specifies the name of the policy file that is created.
You are prompted to enter a domain password:
New domain password [mydomain]:
3.
4.
Verifying - New domain password [mydomain]:
5.
A message appears indicating that the policy was created; for example:
Policy created at: acme_policy.txt

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved