com.eviware.soapui.security.registry
Class SecurityScanRegistry

java.lang.Object
  extended by com.eviware.soapui.security.registry.SecurityScanRegistry

public class SecurityScanRegistry
extends java.lang.Object

Registry of SecurityScan factories

Author:
soapUI team

Field Summary
protected static SecurityScanRegistry instance
           
 
Constructor Summary
SecurityScanRegistry()
           
 
Method Summary
 void addFactory(SecurityScanFactory factory)
          Adding a new factory to the registry
 java.lang.String[] getAvailableSecurityScansNames()
          Returns the list of available scans
 java.lang.String[] getAvailableSecurityScansNames(TestStep testStep)
           
 SecurityScanFactory getFactory(java.lang.String type)
          Gets the right SecurityScan Factory, depending on the type
 SecurityScanFactory getFactoryByName(java.lang.String name)
          Gets the right SecurityScan Factory using name
static SecurityScanRegistry getInstance()
           
 java.lang.String getSecurityScanTypeForName(java.lang.String name)
           
 SecurityConfigurationDialogBuilder getUIBuilder()
           
 boolean hasFactory(com.eviware.soapui.config.SecurityScanConfig config)
          Checking if the registry contains a factory.
 void removeFactory(java.lang.String type)
          Removing a factory from the registry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

protected static SecurityScanRegistry instance
Constructor Detail

SecurityScanRegistry

public SecurityScanRegistry()
Method Detail

getFactory

public SecurityScanFactory getFactory(java.lang.String type)
Gets the right SecurityScan Factory, depending on the type

Parameters:
type - The securityScan to get the factory for
Returns:

getFactoryByName

public SecurityScanFactory getFactoryByName(java.lang.String name)
Gets the right SecurityScan Factory using name

Parameters:
name - The securityScan name to get the factory for
Returns:

addFactory

public void addFactory(SecurityScanFactory factory)
Adding a new factory to the registry

Parameters:
factory -

removeFactory

public void removeFactory(java.lang.String type)
Removing a factory from the registry

Parameters:
type -

getInstance

public static SecurityScanRegistry getInstance()
Returns:
The registry instance

hasFactory

public boolean hasFactory(com.eviware.soapui.config.SecurityScanConfig config)
Checking if the registry contains a factory.

Parameters:
config - A configuration to check the factory for
Returns:

getAvailableSecurityScansNames

public java.lang.String[] getAvailableSecurityScansNames()
Returns the list of available scans

Parameters:
monitorOnly - Set this to true to get only the list of scans which can be used in the http monitor
Returns:
A String Array containing the names of all the scans

getAvailableSecurityScansNames

public java.lang.String[] getAvailableSecurityScansNames(TestStep testStep)

getUIBuilder

public SecurityConfigurationDialogBuilder getUIBuilder()

getSecurityScanTypeForName

public java.lang.String getSecurityScanTypeForName(java.lang.String name)


Copyright © 2005-2011 eviware.com. All Rights Reserved.