Searched defs:user (Results 26 - 46 of 46) sorted by relevance

12

/openjdk7/jdk/test/sun/security/krb5/auto/
H A DContext.java111 String user, char[] pass, boolean storeKey) throws Exception {
112 return fromUserPass(null, user, pass, storeKey);
119 String user, char[] pass, boolean storeKey) throws Exception {
121 out.name = user;
129 shared.put("javax.security.auth.login.name", user);
134 if (user != null) {
135 map.put("principal", user);
152 public static Context fromUserKtab(String user, String ktab, boolean storeKey) argument
155 out.name = user;
164 map.put("principal", user);
110 fromUserPass( String user, char[] pass, boolean storeKey) argument
118 fromUserPass(Subject s, String user, char[] pass, boolean storeKey) argument
[all...]
H A DKDC.java112 * started and before a user requests info on this principal.
317 * @param user the principal's name. For a service principal, use the
321 public void addPrincipal(String user, char[] pass) { argument
322 if (user.indexOf('@') < 0) {
323 user = user + "@" + realm;
325 passwords.put(user, pass);
330 * @param user the principal's name. For a service principal, use the
333 public void addPrincipalRandKey(String user) { argument
334 addPrincipal(user, randomPasswor
[all...]
/openjdk7/hotspot/agent/src/os/bsd/
H A Dps_proc.c34 #include <sys/user.h>
113 // "user" should be a pointer to a reg
114 static bool process_get_lwp_regs(struct ps_prochandle* ph, pid_t pid, struct reg *user) { argument
117 if (ptrace(PT_GETREGS, pid, (caddr_t) user, 0) < 0) {
/openjdk7/hotspot/agent/src/os/linux/
H A Dps_proc.c112 // "user" should be a pointer to a user_regs_struct
113 static bool process_get_lwp_regs(struct ps_prochandle* ph, pid_t pid, struct user_regs_struct *user) { argument
134 if (ptrace_getregs(PTRACE_GETREGS_REQ, pid, user, NULL) < 0) {
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapPoolManager.java296 String authMech, Control[] ctls, String protocol, String user,
318 ctls, trace, socketFactory, user, passwd);
322 // Add user/passwd/realm/authzid/qop/strength/maxbuf/mutual/policy*
324 ctls, trace, socketFactory, user, passwd, env);
294 getLdapClient(String host, int port, String socketFactory, int connTimeout, int readTimeout, OutputStream trace, int version, String authMech, Control[] ctls, String protocol, String user, Object passwd, Hashtable env) argument
H A DLdapClient.java1595 String user, Object passwd, Hashtable env) throws NamingException {
1602 trace, version, authMechanism, ctls, protocol, user,
1592 getInstance(boolean usePool, String hostname, int port, String factory, int connectTimeout, int readTimeout, OutputStream trace, int version, String authMechanism, Control[] ctls, String protocol, String user, Object passwd, Hashtable env) argument
/openjdk7/jdk/src/macosx/classes/java/util/prefs/
H A DMacOSXPreferencesFile.java41 * simultaneous creation of two objects for the same name+user+host triplet
111 private long user; field in class:MacOSXPreferencesFile
115 long user() { return user; } method in class:MacOSXPreferencesFile
122 user = newUser;
127 // Always returns the same object for the given name+user+host
142 // Java user node == CF current user, any host
143 // Java system node == CF any user, current host
195 // Sync only current user preference
437 addNode(String path, String name, long user, long host) argument
439 removeNode(String path, String name, long user, long host) argument
441 addChildToNode(String path, String child, String name, long user, long host) argument
444 removeChildFromNode(String path, String child, String name, long user, long host) argument
447 addKeyToNode(String path, String key, String value, String name, long user, long host) argument
450 removeKeyFromNode(String path, String key, String name, long user, long host) argument
453 getKeyFromNode(String path, String key, String name, long user, long host) argument
456 getChildrenForNode(String path, String name, long user, long host) argument
458 getKeysForNode(String path, String name, long user, long host) argument
460 synchronize(String name, long user, long host) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/net/www/protocol/http/ntlm/
H A DNTLMAuthSequence.c67 (JNIEnv *env, jobject this, jstring user, jstring domain, jstring password)
79 if (user != 0) {
80 pUser = JNU_GetStringPlatformChars(env, user, &isCopy);
88 JNU_ReleaseStringPlatformChars(env, user, pUser);
96 JNU_ReleaseStringPlatformChars(env, user, pUser);
137 JNU_ReleaseStringPlatformChars(env, user, pUser);
66 Java_sun_net_www_protocol_http_ntlm_NTLMAuthSequence_getCredentialsHandle(JNIEnv *env, jobject this, jstring user, jstring domain, jstring password) argument
/openjdk7/jdk/test/java/net/Socks/
H A DSocksServer.java508 public void addUser(String user, String passwd) { argument
509 users.put(user, passwd);
/openjdk7/jdk/src/share/classes/sun/net/ftp/
H A DFtpDirEntry.java57 private String user = null; field in class:FtpDirEntry
89 * Returns the user name of the owner of the file as returned by the FTP
90 * server, if provided. This could be a name or a user id (number).
92 * @return a {@code String} containing the user name or
96 return user;
100 * Sets the user name of the owner of the file. Intended mostly to be
103 * @param user The user name of the owner of the file, or {@code null}
107 public FtpDirEntry setUser(String user) { argument
108 this.user
[all...]
H A DFtpClient.java265 * Attempts to log on the server with the specified user name and password.
267 * @param user The user name
268 * @param password The password for that user
273 public abstract FtpClient login(String user, char[] password) throws FtpProtocolException, IOException; argument
276 * Attempts to log on the server with the specified user name, password and
279 * @param user The user name
280 * @param password The password for that user.
281 * @param account The account name for that user
286 login(String user, char[] password, String account) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/ftp/
H A DFtpURLConnection.java94 String user; field in class:FtpURLConnection
177 if (userInfo != null) { // get the user and password
180 user = ParseUtil.decode(userInfo);
183 user = ParseUtil.decode(userInfo.substring(0, delimiter++));
277 if (user == null) {
278 user = "anonymous";
282 new GetPropertyAction("ftp.protocol.user",
304 ftp.login(user, password.toCharArray());
/openjdk7/jdk/src/share/classes/sun/security/acl/
H A DAclImpl.java92 * user or group can have one positive ACL entry and one
170 * @param user the principal for which the ACL entry is returned.
173 public synchronized Enumeration<Permission> getPermissions(Principal user) { argument
185 subtract(getGroupPositive(user), getGroupNegative(user));
187 subtract(getGroupNegative(user), getGroupPositive(user));
189 subtract(getIndividualPositive(user), getIndividualNegative(user));
191 subtract(getIndividualNegative(user), getIndividualPositiv
330 getGroupPositive(Principal user) argument
343 getGroupNegative(Principal user) argument
356 getIndividualPositive(Principal user) argument
364 getIndividualNegative(Principal user) argument
[all...]
/openjdk7/hotspot/src/os/bsd/vm/
H A DperfMemory_bsd.cpp144 // a user specific temporary directory located in the /tmp file system,
148 // return the user specific temporary directory name.
152 static char* get_user_tmp_dir(const char* user) { argument
156 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3;
159 // construct the path name to user specific tmp directory
160 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user);
235 // return the user name for the given user id
277 warning("Could not determine user name: %s\n",
293 // return the name of the user tha
399 char* user = strchr(dentry->d_name, '_') + 1; local
825 mmap_attach_shared(const char* user, int vmid, PerfMemory::PerfMemoryMode mode, char** addr, size_t* sizep, TRAPS) argument
1006 attach(const char* user, int vmid, PerfMemoryMode mode, char** addrp, size_t* sizep, TRAPS) argument
[all...]
/openjdk7/hotspot/src/os/linux/vm/
H A DperfMemory_linux.cpp144 // a user specific temporary directory located in the /tmp file system,
148 // return the user specific temporary directory name.
152 static char* get_user_tmp_dir(const char* user) { argument
156 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3;
159 // construct the path name to user specific tmp directory
160 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user);
235 // return the user name for the given user id
277 warning("Could not determine user name: %s\n",
293 // return the name of the user tha
399 char* user = strchr(dentry->d_name, '_') + 1; local
825 mmap_attach_shared(const char* user, int vmid, PerfMemory::PerfMemoryMode mode, char** addr, size_t* sizep, TRAPS) argument
1006 attach(const char* user, int vmid, PerfMemoryMode mode, char** addrp, size_t* sizep, TRAPS) argument
[all...]
/openjdk7/hotspot/src/os/solaris/vm/
H A DperfMemory_solaris.cpp146 // a user specific temporary directory located in the /tmp file system,
150 // return the user specific temporary directory name.
154 static char* get_user_tmp_dir(const char* user) { argument
158 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3;
161 // construct the path name to user specific tmp directory
162 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user);
237 // return the user name for the given user id
268 warning("Could not determine user name: %s\n",
284 // return the name of the user tha
390 char* user = strchr(dentry->d_name, '_') + 1; local
840 mmap_attach_shared(const char* user, int vmid, PerfMemory::PerfMemoryMode mode, char** addr, size_t* sizep, TRAPS) argument
1021 attach(const char* user, int vmid, PerfMemoryMode mode, char** addrp, size_t* sizep, TRAPS) argument
[all...]
/openjdk7/jdk/src/solaris/classes/java/util/prefs/
H A DFileSystemPreferences.java79 * Directory for user preferences.
89 * The user root.
106 System.getProperty("user.home")), ".java/.userPrefs");
116 getLogger().info("Created user preferences directory.");
119 getLogger().warning("Couldn't create user preferences" +
123 String USER_NAME = System.getProperty("user.name");
124 userLockFile = new File (userRootDir,".user.lock." + USER_NAME);
131 // Only user can read/write userRootModFile.
217 * Unix user write/read permission
229 * The lock file for the user tre
483 FileSystemPreferences(boolean user) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/protocol/
H A DCorbaMessageMediatorImpl.java448 // Since we dont have the actual user exception
1933 // If user code throws a non-SystemException report it generically.
2169 CorbaMessageMediator messageMediator, ServiceContexts svc,boolean user)
2177 user ? ReplyMessage.USER_EXCEPTION :
2168 createResponseHelper( CorbaMessageMediator messageMediator, ServiceContexts svc,boolean user) argument
/openjdk7/hotspot/src/os/windows/vm/
H A DperfMemory_windows.cpp139 // user specific directory and the backing store file be stored in either a
146 // user specific directory and the shared memory backing store file.
152 // return the user specific temporary directory name.
156 static char* get_user_tmp_dir(const char* user) { argument
160 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3;
163 // construct the path name to user specific tmp directory
164 _snprintf(dirname, nbytes, "%s\\%s_%s", tmpdir, perfdir, user);
229 // we don't accept any redirection for the user specific directory
261 // return the user name for the owner of this process
267 /* get the user nam
273 char* user = getenv("USERNAME"); local
395 char* user = strchr(dentry->d_name, '_') + 1; local
446 get_sharedmem_objectname(const char* user, int vmid) argument
1440 char* user = get_user_name(); local
1576 open_file_mapping(const char* user, int vmid, PerfMemory::PerfMemoryMode mode, char** addrp, size_t* sizep, TRAPS) argument
1796 attach(const char* user, int vmid, PerfMemoryMode mode, char** addrp, size_t* sizep, TRAPS) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/ftp/impl/
H A DFtpClient.java103 // 6 - user, 7 - group
225 // 5 - permissions, 6 - user, 7 - group
1022 private void tryLogin(String user, char[] password) throws sun.net.ftp.FtpProtocolException, IOException { argument
1023 issueCommandCheck("USER " + user);
1036 * Attempts to log on the server with the specified user name and password.
1038 * @param user The user name
1039 * @param password The password for that user
1043 public sun.net.ftp.FtpClient login(String user, char[] password) throws sun.net.ftp.FtpProtocolException, IOException { argument
1047 if (user
1081 login(String user, char[] password, String account) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/rowset/
H A DJdbcRowSetImpl.java328 * @param user - the database user on whose behalf the connection
330 * @param password - the user's password
335 public JdbcRowSetImpl(String url, String user, String password) throws SQLException { argument
353 setUsername(user);
537 * data source name, user name, and password must be set. If the
539 * URL, user name, and password must be set. In either case, the
659 // user, passwd can be null
1636 * data of SQL user-defined types. When a column contains
1669 * data of SQL user
[all...]

Completed in 266 milliseconds

12