Package com.trilead.ssh2.jenkins
Class FilterAlgorithms
java.lang.Object
com.trilead.ssh2.jenkins.FilterAlgorithms
Class for filtering algorithms.
The reason for this filter is that some algorithms have security issues.
The filter can be disabled by setting the system property
isEnabledFilterProperty to false.
The list of algorithms to filter can be set by setting the system property filteredAlgorithmsProperty.-
Constructor Summary
ConstructorsConstructorDescriptionFilterAlgorithms(String clazz, List<String> filteredAlgorithms) Constructor. -
Method Summary
-
Constructor Details
-
FilterAlgorithms
Constructor.- Parameters:
clazz- the class name used for the system propertiesfilteredAlgorithms- the list of algorithms to filter
-
-
Method Details
-
filter
Filter algorithms.- Parameters:
algorithms- the algorithms to filter- Returns:
- the filtered algorithms
-
getIsEnabledFilterProperty
-
getFilteredAlgorithmsProperty
-