Addition of SSL Security Profile Configuration

Adds configuration for an SSL security profile.

Syntax

void addSSLSecurityProfileConfiguration(ServerComponentVO serverComponent) throws SUPAdminException;

Returns

If successful, returns silently. If unsuccessful, returns SUPAdminException.

Examples

  • Add configuration – adds configuration for an SSL security profile, including the authentication profile, profile name, and key alias:
    supServerConf.refresh();
    ServerComponentVO scvo = supServerConf
    		.getSSLSecurityProfileConfigurations().iterator().next();
    ServerComponentVO scvo_new = new ServerComponentVO(scvo.getID(), scvo.getType());
    Map<String, String> properties = scvo.getProperties();
    properties.put("sup.security.profile.auth", "domestic");
    properties.put("sup.security.profile.name",
    		"<SSL security profile name>");
    properties.put("sup.security.profile.key.alias",
    		"<SSL security key alias>");
    scvo_new.setProperties(properties);
    supServerConf.addSSLSecurityProfileConfiguration(scvo_new);
    supServerConf.commit();