Searched refs:username (Results 1 - 25 of 47) sorted by relevance

12

/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...]
/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/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 DLdapLoginModule.java57 * A username and password is verified against the corresponding user
63 * created using the user's username and both are associated
72 * An (anonymous) search is performed using the supplied username in
82 * supplied username and password and then the LDAP directory is searched.
84 * supplied username in conjunction with a specified search filter.
91 * supplied username and password. The LDAP directory is not searched because
135 * then that token will be replaced with the supplied username value
145 * which will be replaced with the supplied username value before the
170 * <dd> if <code>true</code>, this module retrieves the username and password
178 * <dd> if <code>true</code>, this module retrieves the username an
358 private String username; field in class:LdapLoginModule
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/
H A DExternalClient.java39 private byte[] username; field in class:ExternalClient
52 username = authorizationID.getBytes("UTF8");
58 username = new byte[0];
100 return username;
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 DCramMD5Server.java45 * client ----- {username HMAC_MD5(pw, M)} --------------> server
147 // Extract username from response
160 String username = new String(responseData, 0, ulen, "UTF8");
163 "CRAMSRV03:Extracted username: {0}", username);
167 new NameCallback("CRAM-MD5 authentication ID: ", username);
176 "CRAM-MD5: username not found: " + username);
211 AuthorizeCallback acb = new AuthorizeCallback(username, username);
[all...]
/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/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/src/share/classes/com/sun/security/ntlm/
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...]
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...]
/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/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...]
/openjdk7/jdk/src/solaris/classes/sun/net/www/protocol/http/ntlm/
H A DNTLMAuthentication.java120 * Username may be specified as domain<BACKSLASH>username in the application Authenticator.
133 String username;
140 username = s;
144 username = s.substring (i+1);
150 username, ntdomain, password);
153 client = new Client(null, hostname, username, ntdomain, password);
196 * username password.
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/digest/
H A DDigestMD5Server.java65 * handler must enter password for username/realm supplied
115 "username", // exactly once
350 * digest-response = 1#( username | realm | nonce | cnonce |
355 * username = "username" "=" <"> username-value <">
356 * username-value = qdstr-val
411 /* username: exactly once */
412 String username;
414 username
673 generateResponseAuth(String username, char[] passwd, byte[] cnonce, int nonceCount, byte[] authzidBytes) argument
[all...]
/openjdk7/jdk/test/com/sun/security/sasl/
H A DPropertiesFileCallbackHandler.java87 // username is available in NameCallback
93 String username = ncb.getDefaultName();
94 String pw = pwDb.getProperty(username);
103 // Set canonicalized username if any
105 (namesDb != null? namesDb.getProperty(username) : null);
/openjdk7/jdk/test/com/sun/security/sasl/digest/
H A DPropertiesFileCallbackHandler.java87 // username is available in NameCallback
93 String username = ncb.getDefaultName();
94 String pw = pwDb.getProperty(username);
103 // Set canonicalized username if any
105 (namesDb != null? namesDb.getProperty(username) : null);
/openjdk7/jdk/test/com/sun/security/sasl/gsskerb/
H A DPropertiesFileCallbackHandler.java87 // username is available in NameCallback
93 String username = ncb.getDefaultName();
94 String pw = pwDb.getProperty(username);
103 // Set canonicalized username if any
105 (namesDb != null? namesDb.getProperty(username) : null);
/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/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 388 milliseconds

12