}
}
}
else if( obj instanceof SQLInjectionCheckConfig )
{
SQLInjectionScanConfig obj2 = SQLInjectionScanConfig.Factory.newInstance();
for( String el : ( ( SQLInjectionCheckConfig )obj ).getSqlInjectionStringsList() )
{
obj2.addSqlInjectionStrings( el );
}
}
else if( obj instanceof XmlBombSecurityCheckConfig )
{
XmlBombSecurityScanConfig obj2 = XmlBombSecurityScanConfig.Factory.newInstance();
obj2.setAttachXmlBomb( ( ( XmlBombSecurityCheckConfig )obj ).getAttachXmlBomb() );
obj2.setXmlAttachmentPrefix( ( ( XmlBombSecurityCheckConfig )obj ).getXmlAttachmentPrefix() );
for( String el : ( ( XmlBombSecurityCheckConfig )obj ).getXmlBombsList() )
{
obj2.addXmlBombs( el );
}
}
else
{
// boundary scan, malformed xml, xpath