/javamail/mail/src/main/java/com/sun/mail/auth/ |
H A D | OAuth2SaslClientFactory.java | 71 String serverName, Map<String,?> props, 75 return new OAuth2SaslClient(props, cbh); 81 public String[] getMechanismNames(Map<String,?> props) { argument 69 createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) argument
|
H A D | OAuth2SaslClient.java | 64 //private Map<String,?> props; // XXX - not currently used 67 public OAuth2SaslClient(Map<String,?> props, CallbackHandler cbh) { argument 68 //this.props = props;
|
/javamail/mail/src/main/java/com/sun/mail/util/ |
H A D | PropUtil.java | 61 * @param props the properties 66 public static int getIntProperty(Properties props, String name, int def) { argument 67 return getInt(getProp(props, name), def); 73 * @param props the properties 78 public static boolean getBooleanProperty(Properties props, argument 80 return getBoolean(getProp(props, name), def); 145 private static Object getProp(Properties props, String name) { argument 146 Object val = props.get(name); 150 return props.getProperty(name);
|
H A D | SocketFetcher.java | 139 * @param props Properties object containing socket properties 145 public static Socket getSocket(String host, int port, Properties props, argument 154 if (props == null) 155 props = new Properties(); // empty 156 int cto = PropUtil.getIntProperty(props, 159 String localaddrstr = props.getProperty(prefix + ".localaddress", null); 163 int localport = PropUtil.getIntProperty(props, 166 boolean fb = PropUtil.getBooleanProperty(props, 171 int to = PropUtil.getIntProperty(props, prefix + ".timeout", -1); 180 Object sfo = props 252 getSocket(String host, int port, Properties props, String prefix) argument 264 createSocket(InetAddress localaddr, int localport, String host, int port, int cto, int to, Properties props, String prefix, SocketFactory sf, boolean useSSL) argument 437 startTLS(Socket socket, Properties props, String prefix) argument 455 startTLS(Socket socket, String host, Properties props, String prefix) argument 554 configureSSLSocket(Socket socket, String host, Properties props, String prefix, SocketFactory sf) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/ |
H A D | IMAPSaslAuthenticator.java | 63 private Properties props; field in class:IMAPSaslAuthenticator 79 public IMAPSaslAuthenticator(IMAPProtocol pr, String name, Properties props, argument 83 this.props = props; 144 Map<String, ?> propsMap = (Map) props; 200 PropUtil.getBooleanProperty(props,
|
H A D | IMAPProtocol.java | 117 * @param props Properties object used by this protocol 124 Properties props, boolean isSSL, MailLogger logger) 126 super(host, port, props, "mail." + name, isSSL, logger); 131 !PropUtil.getBooleanProperty(props, "mail.debug.auth", false); 134 referralException = PropUtil.getBooleanProperty(props, 167 * @param props Properties object used by this protocol 172 Properties props, boolean debug) 174 super(in, out, props, debug); 178 !PropUtil.getBooleanProperty(props, "mail.debug.auth", false); 306 referralException = PropUtil.getBooleanProperty(props, 123 IMAPProtocol(String name, String host, int port, Properties props, boolean isSSL, MailLogger logger) argument 171 IMAPProtocol(InputStream in, PrintStream out, Properties props, boolean debug) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/smtp/ |
H A D | SMTPSaslAuthenticator.java | 62 private Properties props; field in class:SMTPSaslAuthenticator 79 Properties props, MailLogger logger, String host) { 82 this.props = props; 139 Map<String, ?> propsMap = (Map) props; 78 SMTPSaslAuthenticator(SMTPTransport pr, String name, Properties props, MailLogger logger, String host) argument
|
/javamail/gimap/src/main/java/com/sun/mail/gimap/protocol/ |
H A D | GmailProtocol.java | 97 * @param props Properties object used by this protocol 104 Properties props, boolean isSSL, MailLogger logger) 106 super(name, host, port, props, isSSL, logger); 103 GmailProtocol(String name, String host, int port, Properties props, boolean isSSL, MailLogger logger) argument
|
/javamail/mail/src/test/java/com/sun/mail/util/logging/ |
H A D | AbstractLogging.java | 110 * @param props the properties.
114 final void read(LogManager manager, Properties props) throws IOException {
argument 117 props.store(out, getClass().getName());
|
H A D | LogManagerPropertiesTest.java | 208 Properties props = new Properties(); 209 props.put("", "empty"); 210 props.put(k.getName().concat(".dummy"), "value"); 215 props.store(out, "testFromLogManagerAbsent"); 223 props = (Properties) m.invoke(null); 224 testFromLogManager(props); 1240 private boolean contains(Properties props, String key, String value) { argument 1246 for (Map.Entry<?, ?> e : props.entrySet()) {
|
H A D | MailHandlerTest.java | 358 Properties props = createInitProperties(p); 359 props.put(p.concat(".verify"), "local"); 360 props.put(p.concat(".comparator"), ClassLoaderComparator.class.getName()); 361 props.put(p.concat(".pushFilter"), ClassLoaderFilterFormatter.class.getName()); 362 props.put(p.concat(".subject"), ClassLoaderFilterFormatter.class.getName()); 363 props.put(p.concat(".errorManager"), ClassLoaderErrorManager.class.getName()); 365 read(manager, props); 419 Properties props = createInitProperties(""); 420 props.put("verify", "local"); 436 instance.setMailProperties(props); 3020 testContentLangExact(MailHandler target, Properties props, String exact) argument 4267 testMailDebugQuietLog(MailHandler instance, Properties props, int records) argument 4295 testMailDebugQuietStreams(MailHandler instance, Properties props, int records) argument 5351 testIntern(String p, Properties props) argument 6215 testInitError(Properties props) argument 6282 testInitException(Properties props) argument 6433 testStaticInitException(Properties props) argument 6507 testStaticInitError(Properties props) argument 6872 private final Properties props; field in class:MailHandlerTest.MessageErrorManager 6874 MessageErrorManager(final Properties props) argument 8031 MailHandlerExt(Properties props) argument 8046 MailHandlerOverride(Properties props) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/iap/ |
H A D | Protocol.java | 77 protected Properties props; field in class:Protocol 104 * @param props Properties object used by this protocol 112 Properties props, String prefix, 118 this.props = props; 123 socket = SocketFetcher.getSocket(host, port, props, prefix, isSSL); 124 quote = PropUtil.getBooleanProperty(props, 163 * @param props Properties object used by this protocol 167 public Protocol(InputStream in, PrintStream out, Properties props, argument 170 this.props 111 Protocol(String host, int port, Properties props, String prefix, boolean isSSL, MailLogger logger) argument [all...] |
/javamail/mail/src/main/java/javax/mail/ |
H A D | Session.java | 186 private final Properties props; field in class:Session 207 private Session(Properties props, Authenticator authenticator) { argument 208 this.props = props; 211 if (Boolean.valueOf(props.getProperty("mail.debug")).booleanValue()) 226 q = new EventQueue((Executor)props.get("mail.event.executor")); 236 * @param props Properties object that hold relevant properties.<br> 249 public static Session getInstance(Properties props, argument 251 return new Session(props, authenticator); 257 * @param props Propertie 267 getInstance(Properties props) argument 319 getDefaultInstance(Properties props, Authenticator authenticator) argument 364 getDefaultInstance(Properties props) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/pop3/ |
H A D | Protocol.java | 69 private Properties props; // session properties field in class:Protocol 70 private String prefix; // protocol name prefix, for props 92 Properties props, String prefix, boolean isSSL) 95 this.props = props; 99 noauthdebug = !PropUtil.getBooleanProperty(props, 103 boolean enableAPOP = getBoolProp(props, prefix + ".apop.enable"); 104 boolean disableCapa = getBoolProp(props, prefix + ".disablecapa"); 112 socket = SocketFetcher.getSocket(host, port, props, prefix, isSSL); 143 PropUtil.getBooleanProperty(props, prefi 91 Protocol(String host, int port, MailLogger logger, Properties props, String prefix, boolean isSSL) argument 152 getBoolProp(Properties props, String prop) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/util/logging/ |
H A D | MailHandler.java | 73 * Properties props = new Properties(); 74 * props.put("mail.smtp.host", "my-mail-server"); 75 * props.put("mail.to", "me@example.com"); 76 * props.put("verify", "local"); 77 * MailHandler h = new MailHandler(props); 565 * @param props a non <tt>null</tt> properties object. 566 * @throws NullPointerException if <tt>props</tt> is <tt>null</tt>. 570 public MailHandler(final Properties props) { argument 571 if (props == null) { 574 init(props); 1257 setMailProperties(Properties props) argument 1266 setMailProperties0(Properties props) argument 2017 init(final Properties props) argument [all...] |