1 package com.sslexplorer.core; 2 3 import java.util.Properties ; 4 5 import com.sslexplorer.boot.CodedException; 6 import com.sslexplorer.boot.PropertyDefinition; 7 import com.sslexplorer.boot.PropertyValidator; 8 9 public class SSLCipherSuiteValidator implements PropertyValidator { 10 11 public void validate(PropertyDefinition definition, String value, 12 Properties properties) throws CodedException { 13 if(!value.equals("") && value.indexOf("SSL_RSA_WITH_RC4_128_MD5")==-1) 14 throw new CoreException(1,"ssl","errors"); 15 } 16 17 } 18 | Popular Tags |