Searched defs:username (Results 1 - 25 of 32) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/sql/
H A DDataSource.java89 * @param username the database user on whose behalf the connection is
96 Connection getConnection(String username, String password) argument
/openjdk7/jdk/test/com/sun/security/sasl/
H A DClientCallbackHandler.java32 private String username = "john"; field in class:ClientCallbackHandler
52 ((NameCallback)callbacks[i]).setName(username);
/openjdk7/jdk/test/com/sun/security/sasl/digest/
H A DClientCallbackHandler.java32 private String username = "john"; field in class:ClientCallbackHandler
52 ((NameCallback)callbacks[i]).setName(username);
/openjdk7/jdk/src/share/classes/com/sun/net/httpserver/
H A DHttpPrincipal.java37 private String username, realm; field in class:HttpPrincipal
40 * creates a HttpPrincipal from the given username and realm
41 * @param username The name of the user within the realm
43 * @throws NullPointerException if either username or realm are null
45 public HttpPrincipal (String username, String realm) { argument
46 if (username == null || realm == null) {
49 this.username = username;
56 * username and realm are equal to this object's username
[all...]
H A DBasicAuthenticator.java97 * @param username the username from the request
102 public abstract boolean checkCredentials (String username, String password); argument
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DSolarisSystem.java37 protected String username; field in class:SolarisSystem
52 * Get the username for the current Solaris user.
56 * @return the username for the current Solaris user.
59 return username;
H A DUnixSystem.java37 protected String username; field in class:UnixSystem
52 * Get the username for the current Unix user.
56 * @return the username for the current Unix user.
59 return username;
H A DJndiLoginModule.java47 * <p> The module prompts for a username and password
95 * where <i>uid=<b>username</b></i>. If the search succeeds,
108 * If the user entered a valid username and password,
120 * username and password from the module's shared state,
129 * the username and password from the module's shared state,
134 * CallbackHandler to retrieve a new username and password,
139 * storePass if, true, this LoginModule stores the username and password
144 * exist for the username and password in the shared state,
148 * username and password stored in the module's shared state
177 // username, passwor
178 private String username; field in class:JndiLoginModule
[all...]
H A DKrb5LoginModule.java158 * be used. The principal can be a simple username such as
178 * options that enable you to share username and passwords across different
183 * username and password from the module's shared state,
192 * the username and password from the module's shared
198 * CallbackHandler to retrieve a new username
203 * storePass if, true, this LoginModule stores the username and
209 * exist for the username and password in the shared
213 * username and password stored in the module's shared
397 private String username; field in class:Krb5LoginModule
580 // attempt the authentication by getting the username an
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/ntlm/
H A DServer.java36 * public char[] getPassword(String ntdomain, String username) {
37 * switch (username) {
109 * @return username and hostname of the client in a byte array
122 String username = r.readSecurityBuffer(36, true);
131 char[] password = getPassword(domain, username);
175 username.toUpperCase(Locale.US)+incomingDomain,
185 username.toUpperCase(Locale.US)+incomingDomain,
197 return new String[] {username, hostname};
204 * @param username must not be null
207 public abstract char[] getPassword(String domain, String username); argument
[all...]
H A DClient.java47 final private String username; field in class:Client
66 * @param username username to be authenticated, must not be null
67 * @param domain domain of {@code username}, can be null
68 * @param password password for {@code username}, must not be not null.
72 * @throws NTLMException if {@code username} or {@code password} is null,
76 public Client(String version, String hostname, String username, argument
79 if ((username == null || password == null)) {
81 "username/password cannot be null");
84 this.username
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/
H A DCramMD5Client.java46 private String username; field in class:CramMD5Client
64 username = authID;
114 // response is username + " " + digest
115 String resp = username + " " + digest;
H A DExternalClient.java39 private byte[] username; field in class:ExternalClient
52 username = authorizationID.getBytes("UTF8");
58 username = new byte[0];
100 return username;
/openjdk7/jdk/test/javax/security/auth/login/LoginContext/
H A DDefaultHandlerModule.java39 // username and password
40 private String username; field in class:DefaultHandlerModule
54 // prompt for a username and password
H A DModuleSubjectModule.java39 // username and password
40 private String username; field in class:ModuleSubjectModule
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/spnego/
H A DNegotiateCallbackHandler.java45 private String username; field in class:NegotiateCallbackHandler
49 * Authenticator asks for username and password in a single prompt,
70 * when the underlying Authenticator is canceled, username and
74 username = passAuth.getUserName();
87 ((NameCallback)callBack).setName(username);
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DSimpleClientId.java35 * username and password.
40 final private String username; field in class:SimpleClientId
46 String socketFactory, String username, Object passwd) {
51 this.username = username;
65 + (username != null ? username.hashCode() : 0)
77 && (username == other.username // null OK
78 || (username !
44 SimpleClientId(int version, String hostname, int port, String protocol, Control[] bindCtls, OutputStream trace, String socketFactory, String username, Object passwd) argument
[all...]
H A DDigestClientId.java67 String socketFactory, String username,
71 socketFactory, username, passwd);
65 DigestClientId(int version, String hostname, int port, String protocol, Control[] bindCtls, OutputStream trace, String socketFactory, String username, Object passwd, Hashtable env) argument
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DB5017051.java199 public boolean checkCredentials (String username, String password) { argument
200 return username.equals("tester") && password.equals("passwd");
H A DDigestTest.java107 static String username = "user"; field in class:DigestServer
116 response = computeDigest(false, username,passwd,realm,
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/security/
H A DFileLoginModule.java55 * <p> A supplied username and password is verified against the
80 * <dd> if <code>true</code>, this module retrieves the username and password
88 * <dd> if <code>true</code>, this module retrieves the username and password
92 * the module uses the CallbackHandler to retrieve a new username and
98 * <dd> if <code>true</code>, this module stores the username and password
102 * not performed if existing values already exist for the username and
106 * <dd> if <code>true</code>, this module clears the username and password
120 // Key to retrieve the stored username
142 // Supplied username and password
143 private String username; field in class:FileLoginModule
[all...]
H A DJMXPluggableAuthenticator.java149 * username and password in that order.
152 * <code>JMXPrincipal(username)</code>.
179 // Verify that username exists and the associated
182 username = aCredentials[0];
184 if (username == null || password == null) {
246 private String username; field in class:JMXPluggableAuthenticator
257 * This callback handler supplies the username and password (which was
265 * Sets the username and password in the appropriate Callback object.
272 ((NameCallback)callbacks[i]).setName(username);
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/http/ntlm/
H A DNTLMAuthSequence.java40 private String username; field in class:NTLMAuthSequence
60 NTLMAuthSequence (String username, String password, String ntdomain) argument
63 this.username = username;
68 crdHandle = getCredentialsHandle (username, ntdomain, password);
H A DNTLMAuthentication.java80 String username; field in class:NTLMAuthentication
86 * Username may be specified as domain<BACKSLASH>username in the application Authenticator.
104 username = s;
108 username = s.substring (i+1);
113 username = null;
170 * username password.
192 seq = new NTLMAuthSequence (username, password, ntdomain);
/openjdk7/jdk/test/java/net/Authenticator/
H A DB6870935.java45 static String username = "user"; field in class:B6870935
102 true, username,passwd,realm,
114 cnstring, passwd, username
126 private String getAuthorization (String realm, boolean isRequest, String uri, String method, String cnonce, String cnstring, char[] password, String username) { argument
130 response = computeDigest(isRequest, username,passwd,realm,
214 return (new PasswordAuthentication (username, passwd));

Completed in 142 milliseconds

12