List of usage examples for org.apache.commons.net.pop3 POP3SClient setEnabledCipherSuites
public void setEnabledCipherSuites(String[] cipherSuites)
From source file:com.adaptris.mail.Pop3sReceiverFactory.java
@Override POP3SClient preConnectConfigure(POP3Client client) throws MailException { POP3SClient pop3s = (POP3SClient) super.preConnectConfigure(client); if (alwaysTrust()) { pop3s.setTrustManager(new AlwaysTrustManager()); }/*from ww w.jav a 2 s . com*/ if (getCipherSuites() != null) { pop3s.setEnabledCipherSuites(asArray(getCipherSuites())); } if (getProtocols() != null) { pop3s.setEnabledProtocols(asArray(getProtocols())); } return pop3s; }