Searched defs:user (Results 1 - 25 of 30) sorted by relevance

12

/javamail/mbox/src/main/cpp/com/sun/mail/mbox/
H A DUNIXInbox.c54 jstring user, jint retry_count)
57 const char *name = (*env)->GetStringUTFChars(env, user, 0);
60 (*env)->ReleaseStringUTFChars(env, user, name);
53 Java_com_sun_mail_mbox_UNIXInbox_maillock(JNIEnv *env, jobject obj, jstring user, jint retry_count) argument
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DMailbox.java45 * Return a MailFile object for the specified user's folder.
47 public abstract MailFile getMailFile(String user, String folder); argument
52 public abstract String filename(String user, String folder); argument
H A DSolarisMailbox.java47 private final String user; field in class:SolarisMailbox
55 h = System.getProperty("user.home");
57 user = System.getProperty("user.name");
60 public MailFile getMailFile(String user, String folder) { argument
62 return new UNIXInbox(user, filename(user, folder));
64 return new UNIXFolder(filename(user, folder));
70 public String filename(String user, String folder) { argument
88 if (user
[all...]
H A DDefaultMailbox.java52 home = System.getProperty("user.home");
55 public MailFile getMailFile(String user, String folder) { argument
56 return new DefaultMailFile(filename(user, folder));
59 public String filename(String user, String folder) { argument
H A DMboxStore.java48 String user; field in class:MboxStore
69 user = System.getProperty("user.name");
70 home = System.getProperty("user.home");
82 * to do and we do not want a dialog put up asking the user for a
84 * But if we're given a password, that means the user is
87 protected boolean protocolConnect(String host, int port, String user, argument
93 // XXX - should we use the user?
98 // host, user, password, and file don't matter so we strip them out
130 return mb.getMailFile(user, folde
[all...]
H A DUNIXInbox.java46 private final String user; field in class:UNIXInbox
55 public UNIXInbox(String user, String name) { argument
57 this.user = user;
58 if (user == null)
59 throw new NullPointerException("user name is null in UNIXInbox");
66 if (!maillock(user, 5))
88 private transient RandomAccessFile lockfile; // the user's ~/.Maillock file
95 String home = System.getProperty("user.home");
137 return user
144 maillock(String user, int retryCount) argument
[all...]
/javamail/demo/src/main/java/internal/
H A Dfoldersplit.java47 static String user = null; field in class:foldersplit
66 user = argv[++optind];
86 "Usage: foldersplit [-L url] [-T protocol] [-H host] [-p port] [-U user]");
116 if (host != null || user != null || password != null)
117 store.connect(host, port, user, password);
H A Dmsgsperweek.java57 static String user = "javamail"; field in class:msgsperweek
75 user = argv[++optind];
91 "Usage: msgperweek [-L url] [-T protocol] [-H host] [-U user] [-P password]\n"+
127 if (host != null || user != null || password != null)
128 store.connect(host, user, password);
H A Danswer.java66 static String user = "javamail"; field in class:answer
84 user = argv[++optind];
103 "Usage: answer [-L url] [-T protocol] [-H host] [-U user] [-P password]\n" +
132 if (host != null || user != null || password != null)
133 store.connect(host, user, password);
/javamail/demo/src/main/java/
H A Dmover.java43 static String user = null; field in class:mover
59 } else if (argv[optind].equals("-U")) { // user
60 user = argv[++optind];
76 "Usage: mover [-T protocol] [-H host] [-U user] [-P password] [-L url] [-v]");
115 if (host != null || user != null || password != null)
116 store.connect(host, user, password);
H A Dnamespace.java47 static String user = null; field in class:namespace
64 user = argv[++optind];
80 "Usage: namespace [-L url] [-T protocol] [-H host] [-p port] [-U user]");
82 "\t[-P password] [-u other-user] [-D]");
110 if (host != null || user != null || password != null)
111 store.connect(host, port, user, password);
H A Dsearch.java50 static String user = null; field in class:search
71 user = argv[++optind];
96 "[-U user] [-P password] [-f mailbox] " +
132 if (host != null || user != null || password != null)
133 store.connect(host, user, password);
284 String[] uf = flags.getUserFlags(); // get the user flag strings
H A Duidmsgshow.java51 static String user = null; field in class:uidmsgshow
67 user = argv[++optind];
80 System.out.println("Usage: uidmsgshow [-L url] [-T protocol] [-H host] [-U user] [-P password] [-f mailbox] [uid] [-v]");
111 if (host != null || user != null || password != null)
112 store.connect(host, user, password);
291 String[] uf = flags.getUserFlags(); // get the user flag strings
H A Dfolderlist.java48 static String user = null; field in class:folderlist
65 user = argv[++optind];
83 "Usage: folderlist [-T protocol] [-H host] [-U user] [-P password] [-L url]");
115 if (host != null || user != null || password != null)
116 store.connect(host, user, password);
H A Dmsgshow.java50 static String user = null; field in class:msgshow
73 user = argv[++optind];
99 "Usage: msgshow [-L url] [-T protocol] [-H host] [-p port] [-U user]");
154 if (host != null || user != null || password != null)
155 store.connect(host, port, user, password);
416 String[] uf = flags.getUserFlags(); // get the user flag strings
/javamail/gimap/src/main/java/com/sun/mail/gimap/
H A DGmailStore.java88 String user, String password)
92 return super.protocolConnect(host, pport, user, password);
87 protocolConnect(String host, int pport, String user, String password) argument
/javamail/mail/src/oldtest/java/javax/mail/internet/
H A Dmessagecachetest.java58 static String user = null; field in class:messagecachetest
77 user = argv[++optind];
95 "Usage: messagecachetest [-L url] [-T protocol] [-H host] [-p port] [-U user]");
128 if (host != null || user != null || password != null)
129 store.connect(host, port, user, password);
/javamail/mbox/src/main/java/com/sun/mail/remote/
H A DRemoteStore.java56 protected String host, user, password; field in class:RemoteStore
75 public void connect(String host, int port, String user, String password) argument
79 this.user = user;
97 remoteStore.connect(host, port, user, password);
104 super.connect(host, port, user, password);
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DDigestMD5.java73 * @param user the user name
74 * @param passwd the user's password
80 public byte[] authClient(String host, String user, String passwd, argument
126 ASCIIUtility.getBytes(user + ":" + realm + ":" + passwd)));
136 result.append("username=\"" + user + "\"");
/javamail/mail/src/main/java/javax/mail/
H A DStore.java79 * the default namespace presented to the user by the Store.
131 * for the current user. A personal namespace is a set of names that
132 * is considered within the personal scope of the authenticated user.
133 * Typically, only the authenticated user has access to mail folders
134 * in their personal namespace. If an INBOX exists for a user, it
135 * must appear within the user's personal namespace. In the
137 * user in each Store. <p>
154 * <code>user</code>. The namespaces returned represent the
155 * personal namespaces for the user. To access mail folders in the
156 * other user'
170 getUserNamespaces(String user) argument
[all...]
H A DTransport.java96 * should be reported to the user via another mechanism, such as
156 * Use the specified user name and password to authenticate to
160 * @param user the user name
161 * @param password this user's password
171 String user, String password) throws MessagingException {
174 send0(msg, msg.getAllRecipients(), user, password);
183 * Use the specified user name and password to authenticate to
188 * @param user the user nam
170 send(Message msg, String user, String password) argument
198 send(Message msg, Address[] addresses, String user, String password) argument
206 send0(Message msg, Address[] addresses, String user, String password) argument
[all...]
H A DService.java115 String user = null;
126 user = url.getUsername();
135 if (user == null)
136 user = session.getProperty("mail." + protocol + ".user");
143 if (user == null)
144 user = session.getProperty("mail.user");
147 if (user == null) {
149 user
244 connect(String host, String user, String password) argument
265 connect(String user, String password) argument
284 connect(String host, int port, String user, String password) argument
451 protocolConnect(String host, int port, String user, String password) argument
[all...]
/javamail/mail/src/test/java/com/sun/mail/pop3/
H A DPOP3Handler.java159 this.user();
288 public void user() throws IOException { method in class:POP3Handler
/javamail/mail/src/test/java/javax/mail/internet/
H A DParameterListDecode.java72 static String user = null; field in class:ParameterListDecode
108 user = argv[++optind];
128 "or\tparamtest -m [-g] [-L url] [-T protocol] [-H host] [-p port] [-U user]");
366 if (host != null || user != null || password != null)
367 store.connect(host, port, user, password);
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DPOP3Store.java80 private String user = null; field in class:POP3Store
191 String user, String passwd) throws MessagingException {
193 // check for non-null values of host, password, user
194 if (host == null || passwd == null || user == null)
208 this.user = user;
314 if ((msg = p.login(user, passwd)) != null) {
190 protocolConnect(String host, int portNum, String user, String passwd) argument

Completed in 27 milliseconds

12