Network Deployment (Distributed operating systems), v8.0 > Secure applications and their environment > Set up, enabling and migrating security > Enable security
Add a new custom property in a global security configuration or in a security domain configuration
Custom properties are arbitrary name-value pairs of data, where the name is a property key and the value is a string value that can be used to set internal system configuration properties. Defining a new property enables you to configure settings beyond those that are available in the admin console. We can add new security custom properties in a security configuration or in a security domain configuration.
Add a new custom property in a global security configuration
- Click Security > Global security > Custom properties.
- Click New,
- Enter the property key name in the Name field.
Each property key name must be unique. If the same name is used for multiple properties, the value specified for the first property is used.
Do not start your property names with was, because this prefix is reserved for properties that are predefined in the application server.
- Enter the property value in the Name field.
- Click Apply or Save.
We can also use the -customProperties flag in the setAdminActiveSecuritySettings wsadmin command to add a new custom property in a global security configuration. See the SecurityConfigurationCommands command group article . For example:
wsadmin>AdminTask.setAdminActiveSecuritySettings('[-customProperties ["com.ibm.websphere.security.test=false"]]')Add a new custom property in a security domain configuration using the administrative console
- Click Security > Security domains.
- Select the global security domain to add a new custom property to.
- Click Custom properties.
- Click New.
- Enter the property key name in the Name field.
Each property key name must be unique. If the same name is used for multiple properties, the value specified for the first property is used.
Do not start your property names with was, because this prefix is reserved for properties that are predefined in the application server.
- Enter the property value in the Name field
- Click Apply or Save.
We can also use the -customProperties flag in the setAppActiveSecuritySettings wsadmin command to add a new custom property in a global security domain configuration. See the SecurityConfigurationCommands command group article for more information about this command. Use the -securityDomainName flag to specify the security domain where the custom property is located. For example:
wsadmin>AdminTask.setAppActiveSecuritySettings('[ -securityDomainName testDomain -customProperties ["com.ibm.websphere.security.test=false"]]')
Modify an existing custom property in a global security configuration or in a security domain configuration
Delete an existing custom property in a global security configuration or in a security domain configuration
Related
Security custom properties
Security custom property collection
SecurityConfigurationCommands command group