1 /*
2 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
3 * The software in this package is published under the terms of the CPAL v1.0
4 * license, a copy of which has been included with this distribution in the
5 * LICENSE.txt file.
6 */
7 package org.mule.transport.email;
8
9 import org.mule.api.security.tls.TlsPropertiesSocketFactory;
10
11 import javax.net.SocketFactory;
12
13 /**
14 * A socket factor that reads "indirect" configuration (see {@link org.mule.api.security.tls.TlsConfiguration})
15 * for POP3S from System properties.
16 */
17 public class Pop3sSocketFactory extends TlsPropertiesSocketFactory
18 {
19
20 public static final String MULE_POP3S_NAMESPACE = "mule.email.pop3s";
21
22 public Pop3sSocketFactory()
23 {
24 super(true, MULE_POP3S_NAMESPACE);
25 }
26
27 public static SocketFactory getDefault()
28 {
29 return new Pop3sSocketFactory();
30 }
31
32 }
33
34