public class SecurityScanRegistry extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected static SecurityScanRegistry | instance | 
| Constructor and Description | 
|---|
| SecurityScanRegistry() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addFactory(SecurityScanFactory factory)Adding a new factory to the registry | 
| String[] | getAvailableSecurityScansNames()Returns the list of available scans | 
| String[] | getAvailableSecurityScansNames(TestStep testStep) | 
| SecurityScanFactory | getFactory(String type)Gets the right SecurityScan Factory, depending on the type | 
| SecurityScanFactory | getFactoryByName(String name)Gets the right SecurityScan Factory using name | 
| static SecurityScanRegistry | getInstance() | 
| String | getSecurityScanTypeForName(String name) | 
| SecurityConfigurationDialogBuilder | getUIBuilder() | 
| boolean | hasFactory(SecurityScanConfig config)Checking if the registry contains a factory. | 
| void | removeFactory(String type)Removing a factory from the registry | 
protected static SecurityScanRegistry instance
public SecurityScanFactory getFactory(String type)
type - The securityScan to get the factory forpublic SecurityScanFactory getFactoryByName(String name)
name - The securityScan name to get the factory forpublic void addFactory(SecurityScanFactory factory)
factory - public void removeFactory(String type)
type - public static SecurityScanRegistry getInstance()
public boolean hasFactory(SecurityScanConfig config)
config - A configuration to check the factory forpublic String[] getAvailableSecurityScansNames()
monitorOnly - Set this to true to get only the list of scans which can be
                    used in the http monitorpublic SecurityConfigurationDialogBuilder getUIBuilder()
Copyright © 2019. All Rights Reserved.