## Designate Classes Requiring Security

Skip this procedure if the default selection policy is satisfactory.

Perform this procedure if operating in the selective mode whereby SSL is selectively applied to classes using a custom selection policy configuration.

### Required inputs

- SSL mode set to selective (for example, "com.sas.services.security.ssl.control.mode=2")
- SSL configuration file name (for example, "C:\xxx\private\ssl_mode_select_custom.config")
- SSL custom selection policy file name (for example, "C:\xxx\private\ssl_select_custom.config")

### Procedure

1. Open a command window
2. Navigate the command window to a private directory which will contain the SSL configuration file (for example, C:\xxx\private\ssl_mode_select_custom.config)
3. Edit the file to add the following two properties:
   1. com.sas.services.security.ssl.control.mode=2
   2. com.sas.services.security.ssl.control.file=C:\xxx\private\ssl_select_custom.config
4. Navigate the command window to a private directory which will contain the SSL selection policy configuration file (for example, C:\xxx\private\ssl_select_custom.config)
5. Edit the file to add entries designating the classes which are to be SSL secured:
   1. com.sas.xxx=false
   2. com.sas.xxx.MySecureClass1=true
   3. com.sas.xxx.MySecureClass2=true

### Related Information

Review the javadoc for com.sas.services.util.SSLRMIConfiguration for additional details.