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

  1. Click Security > Global security > Custom properties.

  2. Click New,

  3. 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.

  4. Enter the property value in the Name field.

  5. 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

  1. Click Security > Security domains.

  2. Select the global security domain to add a new custom property to.

  3. Click Custom properties.

  4. Click New.

  5. 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.

  6. Enter the property value in the Name field

  7. 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

+

Search Tips   |   Advanced Search