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

12

/openjdk7/jdk/src/share/classes/javax/sql/
H A DConnectionPoolDataSource.java61 * @param user the database user on whose behalf the connection is being made
62 * @param password the user's password
71 PooledConnection getPooledConnection(String user, String password) argument
H A DXADataSource.java58 * user name and password. The connection that is returned is one that
61 * @param user the database user on whose behalf the connection is being made
62 * @param password the user's password
71 XAConnection getXAConnection(String user, String password) argument
/openjdk7/jdk/test/sun/net/www/ftptest/
H A DFtpAuthHandler.java38 public boolean authenticate(String user, String password); argument
39 public boolean authenticate(String user, String password, String account); argument
/openjdk7/jdk/src/share/classes/java/security/acl/
H A DGroup.java33 * represents an entity such as an individual user or a company). <p>
48 * @param user the principal to add to this group.
53 public boolean addMember(Principal user); argument
58 * @param user the principal to remove from this group.
63 public boolean removeMember(Principal user); argument
H A DAclEntry.java38 * an individual user or a group). Additionally, each ACL entry is specified
61 * @param user the principal to be set for this entry.
68 public boolean setPrincipal(Principal user); argument
83 * principal (e.g., a user or a group) will be denied the permission set
H A DAcl.java39 * principal represents an entity such as an individual user or a
198 * @param user the principal whose permission set is to be returned.
203 public Enumeration<Permission> getPermissions(Principal user); argument
/openjdk7/jdk/src/share/demo/jfc/TableExample/
H A DTableExample2.java61 public TableExample2(String URL, String driver, String user, argument
71 JDBCAdapter dt = new JDBCAdapter(URL, driver, user, passwd);
H A DJDBCAdapter.java70 String user, String passwd) {
75 connection = DriverManager.getConnection(url, user, passwd);
69 JDBCAdapter(String url, String driverName, String user, String passwd) argument
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/rmi/
H A DRemoteVmManager.java41 * specific user. The ability to detect all possible HotSpot Java Virtual
51 private String user; field in class:RemoteVmManager
67 * Creates a RemoteVmManager instance for the given user.
70 * machines owned by the specified user on the remote system. The
76 * @param user the name of the user
78 public RemoteVmManager(RemoteHost remoteHost, String user) { argument
79 this.user = user;
86 * The set returned by this method depends on the user nam
[all...]
/openjdk7/jdk/src/share/classes/sun/security/acl/
H A DPrincipalImpl.java37 private String user; field in class:PrincipalImpl
40 * Construct a principal from a string user name.
41 * @param user The string form of the principal name.
43 public PrincipalImpl(String user) { argument
44 this.user = user;
57 return user.equals(p.toString());
66 return user;
73 return user.hashCode();
80 return user;
[all...]
H A DAclEntryImpl.java39 private Principal user = null; field in class:AclEntryImpl
44 * Construct an ACL entry that associates a user with permissions
46 * @param user The user that is associated with this entry.
48 public AclEntryImpl(Principal user) { argument
49 this.user = user;
62 * @param user The user that is associated with this entry.
66 public boolean setPrincipal(Principal user) { argument
[all...]
H A DGroupImpl.java50 * @param user The principal to add to the group.
54 public boolean addMember(Principal user) { argument
55 if (groupMembers.contains(user))
59 if (group.equals(user.toString()))
62 groupMembers.addElement(user);
68 * @param user The principal to remove from the group.
72 public boolean removeMember(Principal user) { argument
73 return groupMembers.removeElement(user);
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/
H A DUserAcl.java35 * Defines the user based ACL used by the SNMP protocol adaptor.
52 * Checks whether or not the specified user has <CODE>READ</CODE> access.
54 * @param user The user name to check.
58 public boolean checkReadPermission(String user); argument
61 * Checks whether or not the specified user and context name have <CODE>READ</CODE> access.
63 * @param user The user name to check.
64 * @param contextName The context name associated with the user.
66 * @return <CODE>true</CODE> if the pair (user, contex
68 checkReadPermission(String user, String contextName, int securityLevel) argument
86 checkWritePermission(String user) argument
96 checkWritePermission(String user, String contextName, int securityLevel) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/
H A DAuthInfo.java40 private final String user; field in class:AuthInfo
44 public AuthInfo(@NotNull URL url, @NotNull String user, @NotNull String password){ argument
46 this.user = user;
51 return user;
/openjdk7/jdk/test/java/rmi/reliability/juicer/
H A DApplicationServer.java46 private AppleUser user; field in class:ApplicationServer
68 * Locate apple user object in registry. The lookup will
78 user = (AppleUser) registry.lookup("AppleUser");
79 user.startTest();
86 if (user == null) {
101 user.reportException(e);
106 * Hand apple objects to apple user.
110 user.useApple(apples[i]);
115 user.reportException(e);
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DWebGet.java40 static String user = System.getProperty("user"); field in class:WebGet
61 System.out.println("::::: PROVIDING PASSWORD AND USERNAME " + user +":"+pass+" :::::");
62 return (new PasswordAuthentication (user, pass.toCharArray()));
/openjdk7/jdk/src/share/classes/sun/rmi/runtime/
H A DNewThreadAction.java68 * may execute user code, so that the security policy for threads in
117 * @param user if true, thread will be created in a non-system
122 boolean user)
124 this(user ? userThreadGroup : systemThreadGroup,
121 NewThreadAction(Runnable runnable, String name, boolean daemon, boolean user) argument
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/
H A DLocalVmManager.java39 * specific user. The ability to detect all possible HotSpot Java Virtual
47 private String userName; // user name for monitored jvm
70 * Creates a LocalVmManager instance for the given user.
73 * user.
75 * @param user the name of the user
77 public LocalVmManager(String user) { argument
78 this.userName = user;
119 * The set returned by this method depends on the user name passed
120 * to the constructor. If no user nam
[all...]
H A DPerfDataFile.java60 * The directory name pattern for the user directories.
87 * the given <tt>lvmid</tt>. It will search all the user specific
135 * is a 1.4.2 hsperfdata_<user> directory. Check for
170 * the JVM identified by the given user name and lvmid. The directory
174 * @param user the user name
181 public static File getFile(String user, int lvmid) { argument
193 String basename = getTempDirectory(user) + Integer.toString(lvmid);
276 * for HotSpot PerfData backing store files for a given user.
286 public static String getTempDirectory(String user) { argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/
H A DAclImpl.java183 * @param user the principal whose permission set is to be returned.
188 public Enumeration<Permission> getPermissions(Principal user){ argument
192 if (ent.getPrincipal().equals(user))
217 * @param user the principal, assumed to be a valid authenticated Principal.
224 public boolean checkPermission(Principal user, argument
228 if (ent.getPrincipal().equals(user))
243 * @param user the principal, assumed to be a valid authenticated Principal.
251 public boolean checkPermission(Principal user, String community, argument
255 if (ent.getPrincipal().equals(user))
/openjdk7/jdk/test/sun/net/ftp/
H A DB6427768.java44 public boolean authenticate(String user, String password) { argument
48 public boolean authenticate(String user, String password, String account) { argument
112 URL url = new URL("ftp://user:passwd@localhost:" + port + "/foo.txt");
/openjdk7/jdk/src/share/classes/java/sql/
H A DDriverManager.java45 * system property. This allows a user to customize the JDBC Drivers
179 * connection arguments; normally at least a "user" and
197 * @param user the database user on whose behalf the connection is being
199 * @param password the user's password
205 String user, String password) throws SQLException {
208 if (user != null) {
209 info.put("user", user);
204 getConnection(String url, String user, String password) argument
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/security/
H A DFileLoginModule.java56 * corresponding user credentials stored in a designated password file.
58 * user's name and it is associated with the current {@link Subject}.
64 * {@link Properties}. The key represents a user's name and the value is its
145 private JMXPrincipal user; field in class:FileLoginModule
163 * user's name and password.
210 * Begin user authentication (Authentication Phase 1).
212 * <p> Acquire the user's name and password and verify them against
314 * Complete user authentication (Authentication Phase 2).
343 if (!subject.getPrincipals().contains(user)) {
344 subject.getPrincipals().add(user);
[all...]
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/http/ntlm/
H A DNTLMAuthSequence.java93 private native long getCredentialsHandle (String user, String domain, String password); argument
/openjdk7/jdk/src/share/classes/sun/misc/
H A DPerf.java212 * machine owned by the given user.
216 * owned by the specified user.
218 * @param user A <code>String</code> object containing the
219 * name of the user that owns the target Java
232 public ByteBuffer attach(String user, int lvmid, String mode) argument
236 return attachImpl(user, lvmid, PERF_MODE_RO);
239 return attachImpl(user, lvmid, PERF_MODE_RW);
254 * @param user A <code>String</code> object containing the
255 * name of the user that owns the target Java
267 private ByteBuffer attachImpl(String user, in argument
326 attach(String user, int lvmid, int mode) argument
[all...]

Completed in 50 milliseconds

12