public class SmtpConnectionPool extends org.bbottema.clusteredobjectpool.core.ResourceClusters<jakarta.mail.Session,jakarta.mail.Session,SessionTransport>
| Modifier and Type | Field and Description |
|---|---|
static String |
OAUTH2_TOKEN_PROPERTY
When using OAuth2 authentication, there is no default Session property to configure the value, so we'll state
here that we will be looking for a property named "smtp.connection.pool.transport.allocator.oauth2token".
|
| Constructor and Description |
|---|
SmtpConnectionPool(SmtpClusterConfig smtpClusterConfig) |
public static final String OAUTH2_TOKEN_PROPERTY
public SmtpConnectionPool(SmtpClusterConfig smtpClusterConfig)
Copyright © 2019–2024. All rights reserved.