PageRenderTime 2816ms queryTime 376ms sortTime 586ms getByIdsTime 121ms findMatchingLines 36ms

100+ results results for 'username' (2816 ms)

Not the results you expected?
users.md git://github.com/box/box-java-sdk.git | Markdown | 288 lines
                    
72To create an enterprise user, call the
                    
73[`createEnterpriseUser(BoxAPIConnection api, String loginEmail, String userName)`][create-enterprise-user].
                    
74To pass additional optional parameters, use the
                    
74To pass additional optional parameters, use the
                    
75[`createEnterpriseUser(BoxAPIConnection api, String loginEmail, String userName, CreateUserParams options)`][create-enterprise-user-2]
                    
76method.
                    
89To create an app user, call the
                    
90[`createAppUser(BoxAPIConnection api, String userName)`][create-app-user] method.
                    
91To pass additional optional parameters, use the
                    
91To pass additional optional parameters, use the
                    
92[`createAppUser(BoxAPIConnection api, String userName, CreateUserParams options)`][create-app-user-2] method.
                    
93
                    
                
AuthUser.java git://github.com/hudec/sql-processor.git | Java | 478 lines
                    
30  @JsonIgnore
                    
31  public final static String ORDER_BY_USERNAME = "USERNAME";
                    
32  
                    
37    super();
                    
38    setUsername(username);
                    
39    setName(name);
                    
63  
                    
64  public void setUsername(final String username) {
                    
65    this.username = username;
                    
68  public AuthUser _setUsername(final String username) {
                    
69    this.username = username;
                    
70    return this;
                    
190  public String toString() {
                    
191    return "AuthUser [id=" + id + ", username=" + username + ", password=" + password + ", name=" + name + ", email=" + email + ", lastLogin=" + lastLogin + ", version=" + version + "]";
                    
192  }
                    
                
messages_zh.properties git://github.com/alkacon/opencms-core.git | Properties File | 68 lines
                    
40ERR_CANT_DELETE_DEFAULT_USER_1=\u7528\u6237\u201c{0}\u201d\u662f\u7cfb\u7edf\u9ed8\u8ba4\u7528\u6237\uff0c\u5b83\u4e0d\u5141\u8bb8\u88ab\u5220\u9664\u3002
                    
41ERR_BAD_USERNAME_4=\u8f93\u5165\u7684\u7528\u6237\u540d\u201c{0}\u201d\u662f\u975e\u6cd5\u7684\uff0c\u5728\u4f4d\u7f6e\u201c{2}\u201d\u4e0a\u5b83\u5305\u542b\u975e\u6cd5\u7684\u5b57\u7b26\u201c{1}\u201d\u3002\n\u53ea\u5141\u8bb8\u5b57\u6bcd\uff0c\u6570\u5b57\u662f\u201c{3}\u201d\u3002
                    
42GUI_ROLENAME_PROJECT_MANAGER_0=\u9879\u76ee\u7ba1\u7406\u5458
                    
47GUI_ROLENAME_DEVELOPER_0=\u6a21\u5757\u5f00\u53d1\u8005
                    
48ERR_BAD_USERNAME_EMPTY_0=\u8f93\u5165\u7684\u7528\u6237\u540d\u662f\u975e\u6cd5\u7684\uff0c\u5b83\u4e0d\u5141\u8bb8\u4e3a\u7a7a\u6216\u662f\u542b\u6709\u7a7a\u683c\u3002
                    
49ERR_INVALID_USER_CONTEXT_0=\u9a8c\u8bc1\u5f53\u524d\u767b\u9646\u7684\u7528\u6237\uff0c\u5fc5\u987b\u9996\u5148\u8bbe\u7f6eOpenCms\u4e0a\u4e0b\u6587\u3002
                    
                
SharepointConnectionImpl.java git://github.com/liferay/liferay-portal.git | Java | 448 lines
                    
76			String sitePath, String libraryName, String libraryPath,
                    
77			String userName, String password)
                    
78		throws SharepointRuntimeException {
                    
81			serverVersion, serverProtocol, serverAddress, serverPort, sitePath,
                    
82			libraryName, libraryPath, userName, password);
                    
83
                    
363		authenticator.setPreemptiveAuthentication(true);
                    
364		authenticator.setUsername(_sharepointConnectionInfo.getUserName());
                    
365
                    
                
WindowsLoginModule.java git://github.com/dblock/waffle.git | Java | 357 lines
                    
63
                    
64    /** The username. */
                    
65    private String username;
                    
110    /**
                    
111     * Use Windows SSPI to authenticate a username with a password.
                    
112     *
                    
122
                    
123        final NameCallback usernameCallback = new NameCallback("user name: ");
                    
124        final PasswordCallback passwordCallback = new PasswordCallback("password: ", false);
                    
126        final Callback[] callbacks = new Callback[2];
                    
127        callbacks[0] = usernameCallback;
                    
128        callbacks[1] = passwordCallback;
                    
134            this.callbackHandler.handle(callbacks);
                    
135            userName = usernameCallback.getName();
                    
136            password = passwordCallback.getPassword() == null ? "" : new String(passwordCallback.getPassword());
                    
                
RemotingHandlerDetails.md git://github.com/Chorus-bdd/Chorus.git | Markdown | 241 lines
                    
226    <tr>
                    
227        <td>userName</td>
                    
228        <td>no</td>
                    
                
MixedAuthenticator.java git://github.com/dblock/waffle.git | Java | 307 lines
                    
235
                    
236        final String username = request.getParameter("j_username");
                    
237        final String password = request.getParameter("j_password");
                    
238
                    
239        this.log.debug("logging in: {}", username);
                    
240
                    
242        try {
                    
243            windowsIdentity = this.auth.logonUser(username, password);
                    
244        } catch (final Exception e) {
                    
256        try {
                    
257            this.log.debug("successfully logged in {} ({})", username, windowsIdentity.getSidString());
                    
258
                    
                
RequestTest.java git://github.com/twilio/twilio-java.git | Java | 320 lines
                    
293        Request request = new Request(HttpMethod.DELETE, "/uri");
                    
294        request.setAuth("username", "password");
                    
295        assertEquals("password", request.getPassword());
                    
298    @Test
                    
299    public void testGetUsername() {
                    
300        Request request = new Request(HttpMethod.DELETE, "/uri");
                    
301        request.setAuth("username", "password");
                    
302        assertEquals("username", request.getUsername());
                    
303    }
                    
308        assertFalse(request.requiresAuthentication());
                    
309        request.setAuth("username", "password");
                    
310        assertTrue(request.requiresAuthentication());
                    
315        Request request = new Request(HttpMethod.DELETE, "/uri");
                    
316        request.setAuth("username", "password");
                    
317        assertNotEquals(request, new Object());
                    
                
db2-sakila-schema.sql git://github.com/jOOQ/jOOQ.git | SQL | 430 lines
                    
261  active SMALLINT DEFAULT 1 NOT NULL,
                    
262  username VARCHAR(16) NOT NULL,
                    
263  password VARCHAR(40) DEFAULT NULL,
                    
                
MailCommands.java git://github.com/SpringSource/spring-roo.git | Java | 287 lines
                    
136          + "This option is not available if `--jndiName` has already been specified.") final String protocol,
                    
137      @CliOption(key = {"username"}, mandatory = false, help = "The mail account username. "
                    
138          + "This option is not available if `--jndiName` has already been specified.") final String username,
                    
146              + "This option is not available if any of `--host`, `--port`, "
                    
147              + "`--protocol`, `--username`, `--password` or `--starttls` has "
                    
148              + "been specified before.") final String jndiName,
                    
180      help = "jndiName parameter is not available if any of host, "
                    
181          + "port, protocol, username, password or starttls are selected.")
                    
182  public boolean isJndiVisibleReceiverSetup(ShellContext shellContext) {
                    
185
                    
186    // If user define host, port, protocol, username, password or starttls
                    
187    // parameters, jndiName should not be visible.
                    
249          + "This option is not available if `--jndiName` has already been specified.") final String protocol,
                    
250      @CliOption(key = {"username"}, mandatory = false, help = "The mail account username. "
                    
251          + "This option is not available if `--jndiName` has already been specified.") final String username,
                    
                
TestDefaultIntrospectionResultAssembler.java git://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server.git | Java | 362 lines
                    
34import org.mitre.uma.model.Permission;
                    
35import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
                    
36import org.springframework.security.core.Authentication;
                    
331	private OAuth2Authentication oauth2AuthenticationWithUser(OAuth2Request request, String username) {
                    
332		UsernamePasswordAuthenticationToken userAuthentication = new UsernamePasswordAuthenticationToken(username, "somepassword");
                    
333		return oauth2Authentication(request, userAuthentication);
                    
                
DauKy_KhaiBaoTonKho.ascx.cs http://ki-va-le.googlecode.com/svn/trunk/ | C# | 351 lines
                    
26        dsDetail.SelectCommand = @"select k.id,k.Seri,k.NgayNhap,k.NhomHangId,k.MaCN,k.TenHang,k.PicUrl,k.GhiChu,k.MaVach,k.GiaNhap,k.GiaBanThamKhao,
                    
27k.ChietKhau,k.GiaBanThucTe,k.SoLuong,k.UserName,k.Del,case when N.GioiTinh=0 then N'Hŕng c?a n?' else N'Hŕng c?a nam' end as  GioiTinh
                    
28from KhoHang k inner join NhomHang N on k.NhomHangID=N.ID where k.MaCN='" + UserInfo.Brn_Code + "' and del=0 and k.HangMoi=0 and daban=0";
                    
84                logInfo.Ip = Request.UserHostAddress;
                    
85                logInfo.UserName = UserInfo.userName;
                    
86                logInfo.Type = TTQTCommon.logXoaKhaiBaoDauKy;
                    
279            comm.Parameters.AddWithValue("@GiaBanThamKhao", txtGiaBan.Text.Replace(",", ""));
                    
280            comm.Parameters.AddWithValue("@UserName", this.UserInfo.userName);
                    
281
                    
                
CpioHeader.java git://github.com/craigwblake/redline.git | Java | 279 lines
                    
30	public static final int DEFAULT_DIRECTORY_PERMISSION = 0755;
                    
31	public static final String DEFAULT_USERNAME = "root";
                    
32	public static final String DEFAULT_GROUP = "root";
                    
265		builder.append( "GID: ").append( gid).append( "\n");
                    
266		builder.append( "UserName: ").append( uname).append( "\n");
                    
267		builder.append( "GroupName: ").append( gname).append( "\n");
                    
                
JGitProvider.java git://github.com/ktoso/maven-git-commit-id-plugin.git | Java | 363 lines
                    
73  public String getBuildAuthorName() throws GitCommitIdExecutionException {
                    
74    String userName = git.getConfig().getString("user", null, "name");
                    
75    return Optional.ofNullable(userName).orElse("");
                    
                
FolderPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 452 lines
                    
130
                    
131		newFolder.setUserName(RandomTestUtil.randomString());
                    
132
                    
153		Assert.assertEquals(existingFolder.getUserId(), newFolder.getUserId());
                    
154		Assert.assertEquals(existingFolder.getUserName(),
                    
155			newFolder.getUserName());
                    
211		return OrderByComparatorFactoryUtil.create("Mail_Folder", "folderId",
                    
212			true, "companyId", true, "userId", true, "userName", true,
                    
213			"createDate", true, "modifiedDate", true, "accountId", true,
                    
429
                    
430		folder.setUserName(RandomTestUtil.randomString());
                    
431
                    
                
EntryWrapper.java git://github.com/liferay/liferay-portal.git | Java | 721 lines
                    
47		attributes.put("userId", getUserId());
                    
48		attributes.put("userName", getUserName());
                    
49		attributes.put("createDate", getCreateDate());
                    
94
                    
95		String userName = (String)attributes.get("userName");
                    
96
                    
97		if (userName != null) {
                    
98			setUserName(userName);
                    
99		}
                    
446	@Override
                    
447	public String getUserName() {
                    
448		return model.getUserName();
                    
701	@Override
                    
702	public void setUserName(String userName) {
                    
703		model.setUserName(userName);
                    
                
SiteNavigationMenuItemLocalServiceImpl.java git://github.com/liferay/liferay-portal.git | Java | 453 lines
                    
91		siteNavigationMenuItem.setUserId(userId);
                    
92		siteNavigationMenuItem.setUserName(user.getFullName());
                    
93		siteNavigationMenuItem.setSiteNavigationMenuId(siteNavigationMenuId);
                    
366		siteNavigationMenuItem.setUserId(userId);
                    
367		siteNavigationMenuItem.setUserName(user.getFullName());
                    
368		siteNavigationMenuItem.setModifiedDate(
                    
                
RemotingConfigBean.java git://github.com/Chorus-bdd/Chorus.git | Java | 220 lines
                    
42    private Scope scope;
                    
43    private String userName;
                    
44    private String password;
                    
170    @Override
                    
171    public String getUserName() {
                    
172        return this.userName;
                    
180    )
                    
181    public void setUserName(String userName) { this.userName = userName; }
                    
182
                    
202        if (connectionAttemptMillis < 0) throw new ConfigValidatorException("connectionAttemptMillis must be set and > 0");
                    
203        if ( userName != null && password == null) throw new ConfigValidatorException("If userName is set, then password must also be provided");
                    
204    }
                    
214            ", connectionAttemptMillis=" + connectionAttemptMillis +
                    
215            ", userName=" + userName +
                    
216            ", password=" + password == null ? "not set" : "*******" +
                    
                
SFTPConnection.cs https://SSISExtensions.svn.codeplex.com/svn | C# | 288 lines
                    
18        public string hostName { get; set; }
                    
19        public string userName { get; set; }
                    
20        public string passWord { get; set; }
                    
34        /// <param name="hostName">Name of the host.</param>
                    
35        /// <param name="userName">Name of the user.</param>
                    
36        /// <param name="passWord">The pass word.</param>
                    
40        /// <param name="logLevel">The log level.</param>
                    
41        public SFTPConnection(string hostName, string userName, string passWord, int portNumber, bool stopOnFailure, IDTSComponentEvents componentEvents, LogLevel logLevel)
                    
42        {
                    
43            this.hostName = hostName;
                    
44            this.userName = userName;
                    
45            this.passWord = passWord;
                    
108
                    
109                using (SftpClient sftp = new SftpClient(this.hostName, this.portNumber, this.userName, this.passWord))
                    
110                {
                    
                
echessd_config_parser.erl git://github.com/tuxofil/echessd.git | Erlang | 320 lines
                    
34        {?CFG_DEF_STYLE, DefaultStyleID :: atom()} |
                    
35        {?CFG_XMPP_USER, XmppUsername :: string()} |
                    
36        {?CFG_XMPP_SERVER, XmppServerHostname :: string()} |
                    
                
JournalFolderModel.java git://github.com/liferay/liferay-portal.git | Java | 596 lines
                    
177	@Override
                    
178	public String getUserName();
                    
179
                    
182	 *
                    
183	 * @param userName the user name of this journal folder
                    
184	 */
                    
185	@Override
                    
186	public void setUserName(String userName);
                    
187
                    
363	@Override
                    
364	public String getStatusByUserName();
                    
365
                    
371	@Override
                    
372	public void setStatusByUserName(String statusByUserName);
                    
373
                    
                
package-tree.html http://vt-middleware.googlecode.com/svn/ | HTML | 178 lines
                    
110<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/RepeatCharacterRegexRule.html" title="class in edu.vt.middleware.password"><B>RepeatCharacterRegexRule</B></A></UL>
                    
111<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/RuleResult.html" title="class in edu.vt.middleware.password"><B>RuleResult</B></A><LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/RuleResultDetail.html" title="class in edu.vt.middleware.password"><B>RuleResultDetail</B></A><LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/UsernameRule.html" title="class in edu.vt.middleware.password"><B>UsernameRule</B></A> (implements edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/Rule.html" title="interface in edu.vt.middleware.password">Rule</A>)
                    
112<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/WhitespaceRule.html" title="class in edu.vt.middleware.password"><B>WhitespaceRule</B></A> (implements edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/Rule.html" title="interface in edu.vt.middleware.password">Rule</A>)
                    
                
package-tree.html http://vt-middleware.googlecode.com/svn/ | HTML | 180 lines
                    
112<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/DictionaryRuleResult.html" title="class in edu.vt.middleware.password"><B>DictionaryRuleResult</B></A></UL>
                    
113<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/RuleResultDetail.html" title="class in edu.vt.middleware.password"><B>RuleResultDetail</B></A><LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/UsernameRule.html" title="class in edu.vt.middleware.password"><B>UsernameRule</B></A> (implements edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/Rule.html" title="interface in edu.vt.middleware.password">Rule</A>)
                    
114<LI TYPE="circle">edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/WhitespaceRule.html" title="class in edu.vt.middleware.password"><B>WhitespaceRule</B></A> (implements edu.vt.middleware.password.<A HREF="../../../../edu/vt/middleware/password/Rule.html" title="interface in edu.vt.middleware.password">Rule</A>)
                    
                
eradius_proxy.erl git://github.com/travelping/eradius.git | Erlang | 288 lines
                    
65    Username = eradius_lib:get_attr(Request, ?User_Name),
                    
66    {NewUsername, Route} = resolve_routes(Username, DefaultRoute, Routes, Options),
                    
67    Retries = proplists:get_value(retries, Options, ?DEFAULT_RETRIES),
                    
69    SendOpts = [{retries, Retries}, {timeout, Timeout}],
                    
70    send_to_server(new_request(Request, Username, NewUsername), Route, SendOpts).
                    
71
                    
221get_key([], _, _, _) -> {not_found, []};
                    
222get_key(Username, Type, Strip, Separator) when is_binary(Username) ->
                    
223    get_key(binary_to_list(Username), Type, Strip, Separator);
                    
237    case string:tokens(Username, Separator) of
                    
238        [Username] -> Username;
                    
239        [_ | _] = List ->
                    
244    case string:tokens(Username, Separator) of
                    
245        [Username] -> Username;
                    
246        [_ | Tail] -> string:join(Tail, Separator)
                    
                
hbci4java-messages.properties git://github.com/willuhn/hbci4java.git | Properties File | 256 lines
                    
20CALLB_ERROR_OCCURED=an error occured
                    
21CALLB_PROXY_USERNAME=proxy username
                    
22CALLB_PROXY_PASSWD=proxy password
                    
                
WikiPageCacheModel.java git://github.com/liferay/liferay-portal.git | Java | 398 lines
                    
82		sb.append(", userName=");
                    
83		sb.append(userName);
                    
84		sb.append(", createDate=");
                    
139
                    
140		if (userName == null) {
                    
141			wikiPageImpl.setUserName(StringPool.BLANK);
                    
143		else {
                    
144			wikiPageImpl.setUserName(userName);
                    
145		}
                    
220		if (statusByUserName == null) {
                    
221			wikiPageImpl.setStatusByUserName(StringPool.BLANK);
                    
222		}
                    
223		else {
                    
224			wikiPageImpl.setStatusByUserName(statusByUserName);
                    
225		}
                    
                
ChannelTest.java git://github.com/twilio/twilio-java.git | Java | 210 lines
                    
126            twilioRestClient.request((Request) any);
                    
127            result = new Response("{\"sid\": \"CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"account_sid\": \"ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"service_sid\": \"ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"friendly_name\": \"friendly_name\",\"unique_name\": \"unique_name\",\"attributes\": \"{ \\\"foo\\\": \\\"bar\\\" }\",\"type\": \"public\",\"date_created\": \"2015-12-16T22:18:37Z\",\"date_updated\": \"2015-12-16T22:18:38Z\",\"created_by\": \"username\",\"members_count\": 0,\"messages_count\": 0,\"url\": \"https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"links\": {\"members\": \"https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Members\",\"messages\": \"https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages\",\"invites\": \"https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Invites\",\"webhooks\": \"https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Webhooks\",\"last_message\": null}}", TwilioRestClient.HTTP_STATUS_CODE_CREATED);
                    
128            twilioRestClient.getObjectMapper();
                    
202            twilioRestClient.request((Request) any);
                    
203            result = new Response("{\"sid\": \"CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"account_sid\": \"ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"service_sid\": \"ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"friendly_name\": \"friendly_name\",\"unique_name\": \"unique_name\",\"attributes\": \"{ \\\"foo\\\": \\\"bar\\\" }\",\"type\": \"public\",\"date_created\": \"2015-12-16T22:18:37Z\",\"date_updated\": \"2015-12-16T22:18:38Z\",\"created_by\": \"username\",\"members_count\": 0,\"messages_count\": 0,\"url\": \"https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"links\": {\"members\": \"https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Members\",\"messages\": \"https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages\",\"invites\": \"https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Invites\",\"webhooks\": \"https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Webhooks\",\"last_message\": null}}", TwilioRestClient.HTTP_STATUS_CODE_OK);
                    
204            twilioRestClient.getObjectMapper();
                    
                
publish_layouts.jsp git://github.com/liferay/liferay-portal.git | JavaServer Pages | 262 lines
                    
33	<aui:input name="layoutSetBranchName" type="hidden" value="<%= layoutSetBranchName %>" />
                    
34	<aui:input name="lastImportUserName" type="hidden" value="<%= user.getFullName() %>" />
                    
35	<aui:input name="lastImportUserUuid" type="hidden" value="<%= String.valueOf(user.getUserUuid()) %>" />
                    
                
MirrorsGetTask.java git://github.com/liferay/liferay-portal.git | Java | 643 lines
                    
130
                    
131	public void setUsername(String username) {
                    
132		if (_username == null) {
                    
132		if (_username == null) {
                    
133			_username = username;
                    
134		}
                    
336
                    
337	protected String getUsername() {
                    
338		if (_username != null) {
                    
343
                    
344		_username = project.getProperty("mirrors.username");
                    
345
                    
453			String password = getPassword();
                    
454			String username = getUsername();
                    
455
                    
                
SubscriptionModel.java git://github.com/liferay/liferay-portal.git | Java | 286 lines
                    
183	@Override
                    
184	public String getUserName();
                    
185
                    
188	 *
                    
189	 * @param userName the user name of this subscription
                    
190	 */
                    
191	@Override
                    
192	public void setUserName(String userName);
                    
193
                    
                
filemanager.rsc.class.php git://github.com/sebtools/Neptune.git | PHP | 384 lines
                    
20		require_once('cloudfiles.php');
                    
21		$auth = new CF_Authentication($this->config['rsc-username'], $this->config['rsc-apikey']);
                    
22		$auth->authenticate();
                    
                
client.go git://github.com/bradrydzewski/go.auth.git | Go | 249 lines
                    
109// GrantTokenPassword will attempt to grant an Access Token using the
                    
110// resource owner's credentials (username and password). The scope of
                    
111// the access request may be optinally included, or left empty.
                    
113// See http://tools.ietf.org/html/draft-ietf-oauth-v2-31#section-4.3
                    
114func (c *Client) GrantTokenPassword(username, password, scope string) (*Token, error) {
                    
115	params := make(url.Values)
                    
116	params.Set("grant_type", GrantTypePassword)
                    
117	params.Set("username", username)
                    
118	params.Set("password", password)
                    
                
WikiPageSoap.java git://github.com/liferay/liferay-portal.git | Java | 358 lines
                    
42		soapModel.setUserId(model.getUserId());
                    
43		soapModel.setUserName(model.getUserName());
                    
44		soapModel.setCreateDate(model.getCreateDate());
                    
59		soapModel.setStatusByUserId(model.getStatusByUserId());
                    
60		soapModel.setStatusByUserName(model.getStatusByUserName());
                    
61		soapModel.setStatusDate(model.getStatusDate());
                    
170
                    
171	public String getUserName() {
                    
172		return _userName;
                    
174
                    
175	public void setUserName(String userName) {
                    
176		_userName = userName;
                    
318
                    
319	public void setStatusByUserName(String statusByUserName) {
                    
320		_statusByUserName = statusByUserName;
                    
                
NodeResource.java git://github.com/liferay/liferay-portal.git | Java | 473 lines
                    
211
                    
212			httpInvoker.userNameAndPassword(
                    
213				_builder._login + ":" + _builder._password);
                    
294
                    
295			httpInvoker.userNameAndPassword(
                    
296				_builder._login + ":" + _builder._password);
                    
373
                    
374			httpInvoker.userNameAndPassword(
                    
375				_builder._login + ":" + _builder._password);
                    
455
                    
456			httpInvoker.userNameAndPassword(
                    
457				_builder._login + ":" + _builder._password);
                    
                
daltoncaldwell.html git://github.com/karussell/snacktory.git | HTML | 128 lines
                    
22  // GA << ANALYTICS
                    
23  var _gaq = _gaq || []; _gaq.push( ['_setAccount', 'UA-28994039-1'],['_setDomainName', 'none'],['_setAllowLinker', true],['_setUsername', 'dalton'],['_trackPageview'],['b._setAccount', 'UA-16386502-1'],['b._setDomainName', 'daltoncaldwell.com'],['b._setAllowLinker', true],['b._trackPageview']);(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();
                    
24  </script>
                    
                
CmsLoginHelper.java git://github.com/alkacon/opencms-core.git | Java | 230 lines
                    
95     *
                    
96     * @param userName the user name
                    
97     * @param password the password
                    
103     */
                    
104    public boolean login(String userName, String password, String projectName, String siteRoot, String resourceName) {
                    
105
                    
106        if (getCms().getRequestContext().getCurrentUser().isGuestUser()) {
                    
107            if (CmsStringUtil.isEmptyOrWhitespaceOnly(userName) || CmsStringUtil.isEmptyOrWhitespaceOnly(password)) {
                    
108                return false;
                    
111            try {
                    
112                getCms().loginUser(userName, password, getCms().getRequestContext().getRemoteAddress());
                    
113            } catch (CmsException e) {
                    
134                throw new CmsSecurityException(
                    
135                    Messages.get().container(Messages.ERR_PROJECT_NOT_ACCESSIBLE_2, userName, projectName));
                    
136            }
                    
                
AkismetClient.java git://github.com/liferay/liferay-portal.git | Java | 305 lines
                    
113			long companyId, String ipAddress, String userAgent, String referrer,
                    
114			String permalink, String commentType, String userName,
                    
115			String emailAddress, String content)
                    
133			location, companyId, ipAddress, userAgent, referrer, permalink,
                    
134			commentType, userName, emailAddress, content);
                    
135
                    
161			long companyId, String ipAddress, String userAgent, String referrer,
                    
162			String permalink, String commentType, String userName,
                    
163			String emailAddress, String content)
                    
181			location, companyId, ipAddress, userAgent, referrer, permalink,
                    
182			commentType, userName, emailAddress, content);
                    
183
                    
243			String referrer, String permalink, String commentType,
                    
244			String userName, String emailAddress, String content)
                    
245		throws PortalException {
                    
                
SiteNavigationMenuLocalServiceImpl.java git://github.com/liferay/liferay-portal.git | Java | 367 lines
                    
76		siteNavigationMenu.setUserId(userId);
                    
77		siteNavigationMenu.setUserName(user.getFullName());
                    
78		siteNavigationMenu.setName(name);
                    
247		siteNavigationMenu.setUserId(userId);
                    
248		siteNavigationMenu.setUserName(user.getFullName());
                    
249		siteNavigationMenu.setModifiedDate(
                    
293		siteNavigationMenu.setUserId(userId);
                    
294		siteNavigationMenu.setUserName(user.getFullName());
                    
295		siteNavigationMenu.setModifiedDate(
                    
                
BleutradeMarketDataServiceIntegration.java git://github.com/timmolter/XChange.git | Java | 383 lines
                    
67            ExchangeFactory.INSTANCE.createExchange(BleutradeExchange.class.getCanonicalName());
                    
68    exchange.getExchangeSpecification().setUserName(SPECIFICATION_USERNAME);
                    
69    exchange.getExchangeSpecification().setApiKey(SPECIFICATION_API_KEY);
                    
                
package-use.html http://rapla.googlecode.com/svn/ | HTML | 299 lines
                    
117 
                    
118 This class handles access to the preferences such as username, password and
                    
119 server url.</div>
                    
147 
                    
148 This class handles access to the preferences such as username, password and
                    
149 server url.</div>
                    
215 
                    
216 This class handles access to the preferences such as username, password and
                    
217 server url.</div>
                    
                
ReactiveFindOperationExtensionsTests.kt git://github.com/SpringSource/spring-data-mongodb.git | Kotlin | 327 lines
                    
98
                    
99		operation.distinct(KotlinUser::username)
                    
100		verify {
                    
101			operation.query(KotlinUser::class.java)
                    
102			reactiveFind.distinct("username")
                    
103		}
                    
108
                    
109		findDistinct.distinct(KotlinUser::username)
                    
110		verify { findDistinct.distinct("username") }
                    
325
                    
326	data class KotlinUser(val username: String)
                    
327}
                    
                
__init__.py git://pkgs.fedoraproject.org/gwibber | Python | 332 lines
                    
17    "access_token",
                    
18    "username",
                    
19    "site_display_name",
                    
76      m["text"] = util.unescape(data["text"])
                    
77      m["to_me"] = ("@%s" % self.account["username"]) in data["text"]
                    
78
                    
120        "url": "/".join((self.url_prefix, user["screen_name"])) or None,
                    
121        "is_me": user.get("screen_name", None) == self.account["username"],
                    
122    }
                    
168    m["recipient"]["url"] = "/".join((self.account["url_prefix"], m["recipient"]["nick"]))
                    
169    m["recipient"]["is_me"] = m["recipient"]["nick"].lower() == self.account["username"].lower()
                    
170    m["to_me"] = m["recipient"]["is_me"]
                    
                
class.login.php http://sudeep-co-in.googlecode.com/svn/trunk/ | PHP | 298 lines
                    
9		var $database_logon = 'sudeep_27092010';	//Database NAME
                    
10		var $username_logon = 'root';				//Database USERNAME
                    
11		var $password_logon = 'kumars';				//Database PASSWORD
                    
30		//login function
                    
31		function login($table, $username, $password)
                    
32		{	
                    
221	              echo'<form name="'.$formname.'" method="post" id="'.$formname.'" class="'.$formclass.'" enctype="application/x-www-form-urlencoded" action="'.$formaction.'">
                    
222					<div><label for="username">Username</label>
                    
223					<input name="username" id="username" type="text"></div>
                    
235					<div><label for="username">Username</label>
                    
236					<input name="username" id="username" type="text"></div>
                    
237					<input name="action" id="action" value="resetlogin" type="hidden">
                    
279			        $_SESSION['loggedin'] = $row[$this->pass_column]; 
                    
280			        $_SESSION['username'] = $username; 
                    
281			        //userlevel session is optional.Use it if you have different user levels
                    
                
AccountPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 479 lines
                    
129
                    
130		newAccount.setUserName(RandomTestUtil.randomString());
                    
131
                    
169		Assert.assertEquals(
                    
170			existingAccount.getUserName(), newAccount.getUserName());
                    
171		Assert.assertEquals(
                    
222			"Account_", "mvccVersion", true, "accountId", true, "companyId",
                    
223			true, "userId", true, "userName", true, "createDate", true,
                    
224			"modifiedDate", true, "parentAccountId", true, "name", true,
                    
443
                    
444		account.setUserName(RandomTestUtil.randomString());
                    
445
                    
                
User.java git://github.com/woorea/openstack-java-sdk.git | Java | 134 lines
                    
12	
                    
13	private String username;
                    
14	
                    
40	/**
                    
41	 * @return the username
                    
42	 */
                    
47	/**
                    
48	 * @param username the username to set
                    
49	 */
                    
49	 */
                    
50	public void setUsername(String username) {
                    
51		this.username = username;
                    
128	public String toString() {
                    
129		return "User [id=" + id + ", username=" + username + ", password="
                    
130				+ password + ", tenantId=" + tenantId + ", name=" + name
                    
                
bitbucket_demo.go git://github.com/bradrydzewski/go.auth.git | Go | 101 lines
                    
35func Private(w http.ResponseWriter, r *http.Request) {
                    
36	user := r.URL.User.Username()
                    
37	fmt.Fprintf(w, fmt.Sprintf(privatepage, user, user))
                    
                
LiferayProxyConfig.java git://github.com/liferay/liferay-portal.git | Java | 72 lines
                    
36			proxyConfigBuilder.port(proxyPort);
                    
37			proxyConfigBuilder.username(proxyUsername);
                    
38
                    
65
                    
66	@DisplayName("Username")
                    
67	@Optional
                    
69	@Placement(order = 3, tab = PROXY_CONFIG)
                    
70	private String proxyUsername;
                    
71
                    
                
index.js git://github.com/mde/geddy.git | JavaScript | 330 lines
                    
82      @param {String} [options.protocol] The protocol to use(Uses Geddy's current protocol('http' default))
                    
83      @param {String} [options.username] Includes a username in the path. Requires `password` or
                    
84                                         it'll be ignored
                    
84                                         it'll be ignored
                    
85      @param {String} [options.password] Includes a password in the path. Requires `username` or
                    
86                                         it'll be ignored
                    
                
BaseBuildData.java git://github.com/liferay/liferay-portal.git | Java | 549 lines
                    
196	@Override
                    
197	public String getJenkinsGitHubUsername() {
                    
198		return getGitHubUsername(getJenkinsGitHubURL());
                    
406
                    
407	protected String getGitHubUsername(String gitHubBranchURL) {
                    
408		Matcher matcher = _gitHubBranchURLPattern.matcher(gitHubBranchURL);
                    
414
                    
415		return matcher.group("username");
                    
416	}
                    
541	private static final Pattern _gitHubBranchURLPattern = Pattern.compile(
                    
542		"https://github.com/(?<username>[^/]+)/(?<repositoryName>[^/]+)/tree/" +
                    
543			"(?<branchName>.+)");
                    
                
EnigmaAdapters.java git://github.com/timmolter/XChange.git | Java | 165 lines
                    
35
                    
36  public static AccountInfo adaptAccountInfo(EnigmaBalance enigmaBalance, String userName) {
                    
37
                    
46
                    
47    return new AccountInfo(userName, Wallet.Builder.from(balances).build());
                    
48  }
                    
                
JmxRemotingManager.java git://github.com/Chorus-bdd/Chorus.git | Java | 166 lines
                    
99                remotingConfig.getPort(),
                    
100                remotingConfig.getUserName(),
                    
101                remotingConfig.getPassword(),
                    
                
cvs-allow-root-regexp.patch git://git.savannah.gnu.org/administration.git | Patch | 360 lines
                    
103 specific reason for denying authorization.  Check that
                    
104 the username and password specified are correct and
                    
105 that the @code{CVSROOT} specified is allowed by @samp{--allow-root}
                    
                
BSComment.cs https://blogsa.svn.codeplex.com/svn | C# | 469 lines
                    
24    }
                    
25    private string _UserName;
                    
26    public string UserName
                    
27    {
                    
28        get { return _UserName; }
                    
29        set { _UserName = value; }
                    
365        bsComment.UserID = Convert.ToInt32(dr["UserID"]);
                    
366        bsComment.UserName = dr["Name"].ToString();
                    
367        bsComment.WebPage = dr["WebPage"].ToString();
                    
374            {
                    
375                bsComment.UserName = user.Name;
                    
376                bsComment.WebPage = user.WebPage;
                    
432            dp.AddParameter("PostID", PostID);
                    
433            dp.AddParameter("Name", UserName);
                    
434            dp.AddParameter("Comment", Content);
                    
                
AccountCacheModel.java git://github.com/liferay/liferay-portal.git | Java | 414 lines
                    
75		sb.append(userId);
                    
76		sb.append(", userName=");
                    
77		sb.append(userName);
                    
134
                    
135		if (userName == null) {
                    
136			accountImpl.setUserName(StringPool.BLANK);
                    
138		else {
                    
139			accountImpl.setUserName(userName);
                    
140		}
                    
246		userId = objectInput.readLong();
                    
247		userName = objectInput.readUTF();
                    
248		createDate = objectInput.readLong();
                    
291
                    
292		if (userName == null) {
                    
293			objectOutput.writeUTF(StringPool.BLANK);
                    
                
saucelabs.js git://github.com/bestiejs/json3.git | JavaScript | 884 lines
                    
27var accessKey = env.SAUCE_ACCESS_KEY,
                    
28    username = env.SAUCE_USERNAME;
                    
29
                    
                
OSProfile.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 304 lines
                    
45     * this field, see [Selecting User Names for Linux on
                    
46     * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
                    
47     */
                    
47     */
                    
48    @JsonProperty(value = "adminUsername")
                    
49    private String adminUsername;
                    
144    /**
                    
145     * Get specifies the name of the administrator account. &lt;br&gt;&lt;br&gt; **Windows-only restriction:** Cannot end in "." &lt;br&gt;&lt;br&gt; **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". &lt;br&gt;&lt;br&gt; **Minimum-length (Linux):** 1  character &lt;br&gt;&lt;br&gt; **Max-length (Linux):** 64 characters &lt;br&gt;&lt;br&gt; **Max-length (Windows):** 20 characters  &lt;br&gt;&lt;br&gt;&lt;li&gt; For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)&lt;br&gt;&lt;li&gt; For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
                    
146     *
                    
155     *
                    
156     * @param adminUsername the adminUsername value to set
                    
157     * @return the OSProfile object itself.
                    
158     */
                    
159    public OSProfile withAdminUsername(String adminUsername) {
                    
160        this.adminUsername = adminUsername;
                    
                
SynBioHubFrontend.java git://github.com/SynBioDex/libSBOLj.git | Java | 3733 lines
                    
62    String user = "";
                    
63    String username = null;
                    
64
                    
                
MediaFeedDataTest.java git://github.com/sachin-handiekar/jInstagram.git | Java | 1095 lines
                    
438		assertNotNull(result);
                    
439		assertEquals("User [bio=null, fullName=null, id=null, profilePictureUrl=null, userName=null, websiteUrl=null]",
                    
440				result.toString());
                    
443		assertEquals(null, result.getProfilePictureUrl());
                    
444		assertEquals(null, result.getUserName());
                    
445		assertEquals(null, result.getBio());
                    
                
TestModuleUpdate.java git://github.com/alkacon/opencms-core.git | Java | 1402 lines
                    
117        newStorage();
                    
118        String username = "ModuleTestAclUser";
                    
119        cms.createUser(username, "password", "description", new HashMap<String, Object>());
                    
126            builder.addTextFile("test.txt", "test");
                    
127            cms.chacc(MODULE_PATH + "/test.txt", "USER", username, "+w+v+c");
                    
128            cms.chacc(MODULE_PATH + "/test.txt", "USER", "ALL_OTHERS", "-r");
                    
141            builder.addTextFile("test2.txt", "test");
                    
142            cms.chacc(MODULE_PATH + "/test2.txt", "USER", username, "+w+v+c");
                    
143            builder.publish();
                    
                
PyConnection.java git://github.com/nriley/jython.git | Java | 513 lines
                    
120        try {
                    
121            return "<PyConnection user='" + this.connection.getMetaData().getUserName() + "', url='" + this.connection.getMetaData().getURL() + "'>";
                    
122        } catch (SQLException e) {
                    
                
UnitTests.m git://github.com/davedelong/CHCSVParser.git | Objective C | 667 lines
                    
193                          @[@"F"],
                    
194                          @[@"T",@"21",@"Web Logins",@"Description",@"Username",@"Password",@"URL",@"Field 5",@"4",@""],
                    
195                          @[@"F",@"21",@"test",@"me",@"23123123",@"www.ya.ru",@"",@"",@"4",@"",@"",@"",@"",@"",@"",@"Personal",@"\"aasdasd\r\radasdasd\""],
                    
197                          @[@"F",@"3",@"карта",@"123123123213",@"23/23",@"Лдлоло Лдлодло",@"23223",@"",@"18",@"",@"",@"",@"",@"",@"",@"Unfiled",@"\"фывфывыфв\r\r\rфывфыв\""],
                    
198                          @[@"T",@"21",@"Web Logins",@"Description",@"Username",@"Password",@"URL",@"Field 5",@"4",@""],
                    
199                          @[@"F",@"21",@"test 2",@"me",@"23123123",@"www.ya.ru",@"f5",@"f6",@"4",@"",@"",@"",@"",@"",@"",@"Personal",@"\"aasdasd\r\radasdasd\""],
                    
                
prettify_test_2.html git://github.com/lucmoreau/ProvToolbox.git | HTML | 893 lines
                    
107          if($author_id) then
                    
108              comoms-user:getUsername($author_id)
                    
109          else
                    
256            let $author_id := $version/dls:author/text()
                    
257            let $author := comoms-user:getUsername($author_id)
                    
258 
                    
                
VirtualMachineScaleSetEMSILMSIOperationsTests.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 654 lines
                    
125                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
126                .withRootUsername("jvuser")
                    
127                .withRootPassword("123OData!@#123")
                    
                
VirtualMachineScaleSetBootDiagnosticsTests.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 468 lines
                    
75                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
76                .withRootUsername("jvuser")
                    
77                .withRootPassword("123OData!@#123")
                    
128                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
129                .withRootUsername("jvuser")
                    
130                .withRootPassword("123OData!@#123")
                    
187                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
188                .withRootUsername("jvuser")
                    
189                .withRootPassword("123OData!@#123")
                    
237                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
238                .withRootUsername("jvuser")
                    
239                .withRootPassword("123OData!@#123")
                    
292                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
293                .withRootUsername("jvuser")
                    
294                .withRootPassword("123OData!@#123")
                    
                
VirtualMachineOperationsTests.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 797 lines
                    
101                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
102                .withRootUsername("Foo12")
                    
103                .withRootPassword("abc!@#F0orL")
                    
138            .withPopularWindowsImage(KnownWindowsVirtualMachineImage.WINDOWS_SERVER_2012_DATACENTER)
                    
139            .withAdminUsername("Foo12")
                    
140            .withAdminPassword("abc!@#F0orL")
                    
186            .withPopularWindowsImage(KnownWindowsVirtualMachineImage.WINDOWS_SERVER_2012_DATACENTER)
                    
187            .withAdminUsername("Foo12")
                    
188            .withAdminPassword("abc!@#F0orL")
                    
301            .withPopularWindowsImage(KnownWindowsVirtualMachineImage.WINDOWS_SERVER_2012_DATACENTER)
                    
302            .withAdminUsername("Foo12")
                    
303            .withAdminPassword("abc!@#F0orL")
                    
                
VirtualMachineManagedServiceIdentityOperationsTests.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 369 lines
                    
49                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
50                .withRootUsername("Foo12")
                    
51                .withRootPassword("abc!@#F0orL")
                    
120                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
121                .withRootUsername("Foo12")
                    
122                .withRootPassword("abc!@#F0orL")
                    
231                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
232                .withRootUsername("Foo12")
                    
233                .withRootPassword("abc!@#F0orL")
                    
299                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
300                .withRootUsername("Foo12")
                    
301                .withRootPassword("abc!@#F0orL")
                    
                
VirtualMachineManagedDiskOperationsTests.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 590 lines
                    
48                .withPopularLinuxImage(linuxImage)
                    
49                .withRootUsername(uname)
                    
50                .withRootPassword(password)
                    
130                .withPopularLinuxImage(linuxImage)
                    
131                .withRootUsername(uname)
                    
132                .withRootPassword(password)
                    
290                .withPopularLinuxImage(linuxImage)
                    
291                .withRootUsername(uname)
                    
292                .withRootPassword(password)
                    
                
VirtualMachineEMSILMSIOperationsTests.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 532 lines
                    
105                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
106                .withRootUsername("Foo12")
                    
107                .withRootPassword("abc!@#F0orL")
                    
314                .withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
                    
315                .withRootUsername("Foo12")
                    
316                .withRootPassword("abc!@#F0orL")
                    
                
VirtualMachineCustomImageOperationsTest.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 369 lines
                    
102                .withLinuxCustomImage(image.id())
                    
103                .withRootUsername("javauser")
                    
104                .withRootPassword("12NewPA$$w0rd!")
                    
205                .withLatestLinuxImage("Canonical", "UbuntuServer", "14.04.2-LTS")
                    
206                .withRootUsername(uname)
                    
207                .withRootPassword(password)
                    
                
TestLiveReadingListSynchronizer.java git://github.com/mozilla-services/android-sync.git | Java | 520 lines
                    
106
                    
107  private static ReadingListClient getTestClient(final String username) throws URISyntaxException, InterruptedException {
                    
108    return getTestClient(username, false);
                    
110
                    
111  private static ReadingListClient getTestClient(String username, boolean wiped) throws URISyntaxException, InterruptedException {
                    
112    final ReadingListClient client = new ReadingListClient(new URI(DEFAULT_SERVICE_URI), new BasicAuthHeaderProvider(username, "nopassword"));
                    
                
VirtualMachineScaleSetVMImpl.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 727 lines
                    
287    @Override
                    
288    public String administratorUserName() {
                    
289        return this.inner().osProfile().adminUsername();
                    
                
VirtualMachineScaleSetOSProfile.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 299 lines
                    
129     * Linux on
                    
130     * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
                    
131     *
                    
131     *
                    
132     * @return the adminUsername value.
                    
133     */
                    
133     */
                    
134    public String adminUsername() {
                    
135        return this.adminUsername;
                    
151     *
                    
152     * @param adminUsername the adminUsername value to set.
                    
153     * @return the VirtualMachineScaleSetOSProfile object itself.
                    
155    public VirtualMachineScaleSetOSProfile withAdminUsername(String adminUsername) {
                    
156        this.adminUsername = adminUsername;
                    
157        return this;
                    
                
bbc.py git://github.com/ksdtech/bbc.git | Python | 654 lines
                    
15  regFormStartDate, verboseFlag, sourceDir, uploadDir,
                    
16  strUserName, strUserPass, destURL)
                    
17
                    
                
VirtualMachine.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 2169 lines
                    
375        extends DefinitionShared,
                    
376            DefinitionStages.WithLinuxRootUsernameManagedOrUnmanaged,
                    
377            DefinitionStages.WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged,
                    
377            DefinitionStages.WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged,
                    
378            DefinitionStages.WithWindowsAdminUsernameManagedOrUnmanaged,
                    
379            DefinitionStages.WithWindowsAdminPasswordManagedOrUnmanaged,
                    
389        extends DefinitionShared,
                    
390            DefinitionStages.WithLinuxRootUsernameManaged,
                    
391            DefinitionStages.WithLinuxRootPasswordOrPublicKeyManaged,
                    
391            DefinitionStages.WithLinuxRootPasswordOrPublicKeyManaged,
                    
392            DefinitionStages.WithWindowsAdminUsernameManaged,
                    
393            DefinitionStages.WithWindowsAdminPasswordManaged,
                    
                
OSProfile.java git://github.com/WindowsAzure/azure-sdk-for-java.git | Java | 368 lines
                    
154     * Linux on
                    
155     * Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
                    
156     *
                    
156     *
                    
157     * @return the adminUsername value.
                    
158     */
                    
158     */
                    
159    public String adminUsername() {
                    
160        return this.adminUsername;
                    
176     *
                    
177     * @param adminUsername the adminUsername value to set.
                    
178     * @return the OSProfile object itself.
                    
180    public OSProfile withAdminUsername(String adminUsername) {
                    
181        this.adminUsername = adminUsername;
                    
182        return this;
                    
                
CmsLogin.java git://github.com/alkacon/opencms-core.git | Java | 1592 lines
                    
133    /** The username cookie name. */
                    
134    private static final String COOKIE_USERNAME = "OpenCmsUserName";
                    
135
                    
338     * @param pcType the pctype value
                    
339     * @param username the username value
                    
340     * @param oufqn the oufqn value
                    
346        String pcType,
                    
347        String username,
                    
348        String oufqn,
                    
361            // set the user name cookie
                    
362            Cookie userNameCookie = getCookie(request, COOKIE_USERNAME);
                    
363            userNameCookie.setValue(username);
                    
371            // delete user name and organizational unit cookies
                    
372            Cookie userNameCookie = getCookie(request, COOKIE_USERNAME);
                    
373            setCookie(userNameCookie, true, request, response);
                    
                
RippleAdaptersTest.java git://github.com/timmolter/XChange.git | Java | 477 lines
                    
52    // Convert to xchange object and check field values
                    
53    final AccountInfo account = RippleAdapters.adaptAccountInfo(rippleAccount, "username");
                    
54    assertThat(account.getWallets()).hasSize(2);
                    
54    assertThat(account.getWallets()).hasSize(2);
                    
55    assertThat(account.getUsername()).isEqualTo("username");
                    
56    assertThat(account.getTradingFee()).isEqualTo(BigDecimal.ZERO);
                    
                
RippleAdapters.java git://github.com/timmolter/XChange.git | Java | 455 lines
                    
59  public static AccountInfo adaptAccountInfo(
                    
60      final RippleAccountBalances account, final String username) {
                    
61
                    
83
                    
84    return new AccountInfo(username, BigDecimal.ZERO, accountInfo);
                    
85  }
                    
                
AndroidFxAccount.java git://github.com/mozilla-services/android-sync.git | Java | 738 lines
                    
298    String profile = getProfile();
                    
299    String username = account.name;
                    
300
                    
304
                    
305    if (username == null) {
                    
306      throw new IllegalStateException("Missing username. Cannot fetch prefs.");
                    
315    final String serverURLThing = fxaServerURI + "!" + extra;
                    
316    return Utils.getPrefsPath(product, username, serverURLThing, profile, version);
                    
317  }
                    
                
RatingsEntryPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 522 lines
                    
131
                    
132		newRatingsEntry.setUserName(RandomTestUtil.randomString());
                    
133
                    
158		Assert.assertEquals(
                    
159			existingRatingsEntry.getUserName(), newRatingsEntry.getUserName());
                    
160		Assert.assertEquals(
                    
251			"RatingsEntry", "uuid", true, "entryId", true, "companyId", true,
                    
252			"userId", true, "userName", true, "createDate", true,
                    
253			"modifiedDate", true, "classNameId", true, "classPK", true, "score",
                    
                
ExportImportConfigurationPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 596 lines
                    
136
                    
137		newExportImportConfiguration.setUserName(RandomTestUtil.randomString());
                    
138
                    
156
                    
157		newExportImportConfiguration.setStatusByUserName(
                    
158			RandomTestUtil.randomString());
                    
184		Assert.assertEquals(
                    
185			existingExportImportConfiguration.getUserName(),
                    
186			newExportImportConfiguration.getUserName());
                    
215		Assert.assertEquals(
                    
216			existingExportImportConfiguration.getStatusByUserName(),
                    
217			newExportImportConfiguration.getStatusByUserName());
                    
295			"exportImportConfigurationId", true, "groupId", true, "companyId",
                    
296			true, "userId", true, "userName", true, "createDate", true,
                    
297			"modifiedDate", true, "name", true, "description", true, "type",
                    
                
DLFolderPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 754 lines
                    
137
                    
138		newDLFolder.setUserName(RandomTestUtil.randomString());
                    
139
                    
169
                    
170		newDLFolder.setStatusByUserName(RandomTestUtil.randomString());
                    
171
                    
193		Assert.assertEquals(
                    
194			existingDLFolder.getUserName(), newDLFolder.getUserName());
                    
195		Assert.assertEquals(
                    
232		Assert.assertEquals(
                    
233			existingDLFolder.getStatusByUserName(),
                    
234			newDLFolder.getStatusByUserName());
                    
436			true, "folderId", true, "groupId", true, "companyId", true,
                    
437			"userId", true, "userName", true, "createDate", true,
                    
438			"modifiedDate", true, "repositoryId", true, "mountPoint", true,
                    
                
DLFileVersionPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 724 lines
                    
137
                    
138		newDLFileVersion.setUserName(RandomTestUtil.randomString());
                    
139
                    
179
                    
180		newDLFileVersion.setStatusByUserName(RandomTestUtil.randomString());
                    
181
                    
207		Assert.assertEquals(
                    
208			existingDLFileVersion.getUserName(),
                    
209			newDLFileVersion.getUserName());
                    
266		Assert.assertEquals(
                    
267			existingDLFileVersion.getStatusByUserName(),
                    
268			newDLFileVersion.getStatusByUserName());
                    
394			"uuid", true, "fileVersionId", true, "groupId", true, "companyId",
                    
395			true, "userId", true, "userName", true, "createDate", true,
                    
396			"modifiedDate", true, "repositoryId", true, "folderId", true,
                    
                
DLFileShortcutPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 624 lines
                    
137
                    
138		newDLFileShortcut.setUserName(RandomTestUtil.randomString());
                    
139
                    
159
                    
160		newDLFileShortcut.setStatusByUserName(RandomTestUtil.randomString());
                    
161
                    
188		Assert.assertEquals(
                    
189			existingDLFileShortcut.getUserName(),
                    
190			newDLFileShortcut.getUserName());
                    
219		Assert.assertEquals(
                    
220			existingDLFileShortcut.getStatusByUserName(),
                    
221			newDLFileShortcut.getStatusByUserName());
                    
328			"uuid", true, "fileShortcutId", true, "groupId", true, "companyId",
                    
329			true, "userId", true, "userName", true, "createDate", true,
                    
330			"modifiedDate", true, "repositoryId", true, "folderId", true,
                    
                
DLFileEntryTypePersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 575 lines
                    
137
                    
138		newDLFileEntryType.setUserName(RandomTestUtil.randomString());
                    
139
                    
177		Assert.assertEquals(
                    
178			existingDLFileEntryType.getUserName(),
                    
179			newDLFileEntryType.getUserName());
                    
280			"uuid", true, "fileEntryTypeId", true, "groupId", true, "companyId",
                    
281			true, "userId", true, "userName", true, "createDate", true,
                    
282			"modifiedDate", true, "fileEntryTypeKey", true, "name", true,
                    
                
DLFileEntryPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 866 lines
                    
137
                    
138		newDLFileEntry.setUserName(RandomTestUtil.randomString());
                    
139
                    
208		Assert.assertEquals(
                    
209			existingDLFileEntry.getUserName(), newDLFileEntry.getUserName());
                    
210		Assert.assertEquals(
                    
                
AssetVocabularyPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 627 lines
                    
140
                    
141		newAssetVocabulary.setUserName(RandomTestUtil.randomString());
                    
142
                    
185		Assert.assertEquals(
                    
186			existingAssetVocabulary.getUserName(),
                    
187			newAssetVocabulary.getUserName());
                    
315			"uuid", true, "externalReferenceCode", true, "vocabularyId", true,
                    
316			"groupId", true, "companyId", true, "userId", true, "userName",
                    
317			true, "createDate", true, "modifiedDate", true, "name", true,
                    
                
AssetTagPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 567 lines
                    
137
                    
138		newAssetTag.setUserName(RandomTestUtil.randomString());
                    
139
                    
169		Assert.assertEquals(
                    
170			existingAssetTag.getUserName(), newAssetTag.getUserName());
                    
171		Assert.assertEquals(
                    
292			true, "tagId", true, "groupId", true, "companyId", true, "userId",
                    
293			true, "userName", true, "createDate", true, "modifiedDate", true,
                    
294			"name", true, "assetCount", true, "lastPublishDate", true);
                    
                
AssetEntryPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 672 lines
                    
136
                    
137		newAssetEntry.setUserName(RandomTestUtil.randomString());
                    
138
                    
200		Assert.assertEquals(
                    
201			existingAssetEntry.getUserName(), newAssetEntry.getUserName());
                    
202		Assert.assertEquals(
                    
361			"entryId", true, "groupId", true, "companyId", true, "userId", true,
                    
362			"userName", true, "createDate", true, "modifiedDate", true,
                    
363			"classNameId", true, "classPK", true, "classUuid", true,
                    
                
AssetCategoryPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 720 lines
                    
140
                    
141		newAssetCategory.setUserName(RandomTestUtil.randomString());
                    
142
                    
187		Assert.assertEquals(
                    
188			existingAssetCategory.getUserName(),
                    
189			newAssetCategory.getUserName());
                    
401			"uuid", true, "externalReferenceCode", true, "categoryId", true,
                    
402			"groupId", true, "companyId", true, "userId", true, "userName",
                    
403			true, "createDate", true, "modifiedDate", true, "parentCategoryId",
                    
                
AnnouncementsEntryPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 588 lines
                    
133
                    
134		newAnnouncementsEntry.setUserName(RandomTestUtil.randomString());
                    
135
                    
181		Assert.assertEquals(
                    
182			existingAnnouncementsEntry.getUserName(),
                    
183			newAnnouncementsEntry.getUserName());
                    
317			"AnnouncementsEntry", "mvccVersion", true, "uuid", true, "entryId",
                    
318			true, "companyId", true, "userId", true, "userName", true,
                    
319			"createDate", true, "modifiedDate", true, "classNameId", true,
                    
                
WorkflowInstanceLinkPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 514 lines
                    
134
                    
135		newWorkflowInstanceLink.setUserName(RandomTestUtil.randomString());
                    
136
                    
170		Assert.assertEquals(
                    
171			existingWorkflowInstanceLink.getUserName(),
                    
172			newWorkflowInstanceLink.getUserName());
                    
239			"workflowInstanceLinkId", true, "groupId", true, "companyId", true,
                    
240			"userId", true, "userName", true, "createDate", true,
                    
241			"modifiedDate", true, "classNameId", true, "classPK", true,
                    
                
WorkflowDefinitionLinkPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 605 lines
                    
136
                    
137		newWorkflowDefinitionLink.setUserName(RandomTestUtil.randomString());
                    
138
                    
177		Assert.assertEquals(
                    
178			existingWorkflowDefinitionLink.getUserName(),
                    
179			newWorkflowDefinitionLink.getUserName());
                    
280			"workflowDefinitionLinkId", true, "groupId", true, "companyId",
                    
281			true, "userId", true, "userName", true, "createDate", true,
                    
282			"modifiedDate", true, "classNameId", true, "classPK", true,
                    
                
UserGroupPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 574 lines
                    
137
                    
138		newUserGroup.setUserName(RandomTestUtil.randomString());
                    
139
                    
173		Assert.assertEquals(
                    
174			existingUserGroup.getUserName(), newUserGroup.getUserName());
                    
175		Assert.assertEquals(
                    
288			true, "externalReferenceCode", true, "userGroupId", true,
                    
289			"companyId", true, "userId", true, "userName", true, "createDate",
                    
290			true, "modifiedDate", true, "parentUserGroupId", true, "name", true,
                    
                
SystemEventPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 513 lines
                    
131
                    
132		newSystemEvent.setUserName(RandomTestUtil.randomString());
                    
133
                    
169		Assert.assertEquals(
                    
170			existingSystemEvent.getUserName(), newSystemEvent.getUserName());
                    
171		Assert.assertEquals(
                    
254			"SystemEvent", "mvccVersion", true, "systemEventId", true,
                    
255			"groupId", true, "companyId", true, "userId", true, "userName",
                    
256			true, "createDate", true, "classNameId", true, "classPK", true,
                    
483
                    
484		systemEvent.setUserName(RandomTestUtil.randomString());
                    
485
                    
                
RolePersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 627 lines
                    
135
                    
136		newRole.setUserName(RandomTestUtil.randomString());
                    
137
                    
169		Assert.assertEquals(existingRole.getUserId(), newRole.getUserId());
                    
170		Assert.assertEquals(existingRole.getUserName(), newRole.getUserName());
                    
171		Assert.assertEquals(
                    
328			"Role_", "mvccVersion", true, "ctCollectionId", true, "uuid", true,
                    
329			"roleId", true, "companyId", true, "userId", true, "userName", true,
                    
330			"createDate", true, "modifiedDate", true, "classNameId", true,
                    
                
RepositoryPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 567 lines
                    
135
                    
136		newRepository.setUserName(RandomTestUtil.randomString());
                    
137
                    
175		Assert.assertEquals(
                    
176			existingRepository.getUserName(), newRepository.getUserName());
                    
177		Assert.assertEquals(
                    
272			true, "groupId", true, "companyId", true, "userId", true,
                    
273			"userName", true, "createDate", true, "modifiedDate", true,
                    
274			"classNameId", true, "name", true, "description", true, "portletId",
                    
                
RepositoryEntryPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 561 lines
                    
135
                    
136		newRepositoryEntry.setUserName(RandomTestUtil.randomString());
                    
137
                    
173		Assert.assertEquals(
                    
174			existingRepositoryEntry.getUserName(),
                    
175			newRepositoryEntry.getUserName());
                    
266			"repositoryEntryId", true, "groupId", true, "companyId", true,
                    
267			"userId", true, "userName", true, "createDate", true,
                    
268			"modifiedDate", true, "repositoryId", true, "mappedId", true,
                    
                
PortletItemPersistenceTest.java git://github.com/liferay/liferay-portal.git | Java | 513 lines
                    
133
                    
134		newPortletItem.setUserName(RandomTestUtil.randomString());
                    
135
                    
163		Assert.assertEquals(
                    
164			existingPortletItem.getUserName(), newPortletItem.getUserName());
                    
165		Assert.assertEquals(
                    
233			"PortletItem", "mvccVersion", true, "portletItemId", true,
                    
234			"groupId", true, "companyId", true, "userId", true, "userName",
                    
235			true, "createDate", true, "modifiedDate", true, "name", true,
                    
491
                    
492		portletItem.setUserName(RandomTestUtil.randomString());
                    
493
                    
                
MixedAuthenticatorTests.java git://github.com/dblock/waffle.git | Java | 386 lines
                    
129            clientContext = new WindowsSecurityContextImpl();
                    
130            clientContext.setPrincipalName(WindowsAccountImpl.getCurrentUsername());
                    
131            clientContext.setCredentialsHandle(clientCredentials);
                    
132            clientContext.setSecurityPackage(securityPackage);
                    
133            clientContext.initialize(null, null, WindowsAccountImpl.getCurrentUsername());
                    
134            final SimpleHttpRequest request = new SimpleHttpRequest();
                    
239        request.setQueryString("j_security_check");
                    
240        request.addParameter("j_username", "username");
                    
241        request.addParameter("j_password", "password");
                    
336        request.addParameter("j_security_check", "");
                    
337        request.addParameter("j_username", WindowsAccountImpl.getCurrentUsername());
                    
338        request.addParameter("j_password", "");
                    
350        request.setQueryString("j_security_check");
                    
351        request.addParameter("j_username", WindowsAccountImpl.getCurrentUsername());
                    
352        request.addParameter("j_password", "");
                    
                
MixedAuthenticatorTests.java git://github.com/dblock/waffle.git | Java | 410 lines
                    
137            clientContext = new WindowsSecurityContextImpl();
                    
138            clientContext.setPrincipalName(WindowsAccountImpl.getCurrentUsername());
                    
139            clientContext.setCredentialsHandle(clientCredentials);
                    
140            clientContext.setSecurityPackage(securityPackage);
                    
141            clientContext.initialize(null, null, WindowsAccountImpl.getCurrentUsername());
                    
142            final SimpleHttpRequest request = new SimpleHttpRequest();
                    
202            clientContext = new WindowsSecurityContextImpl();
                    
203            clientContext.setPrincipalName(WindowsAccountImpl.getCurrentUsername());
                    
204            clientContext.setCredentialsHandle(clientCredentials);
                    
257        request.setQueryString("j_security_check");
                    
258        request.addParameter("j_username", "username");
                    
259        request.addParameter("j_password", "password");
                    
357        request.addParameter("j_security_check", "");
                    
358        request.addParameter("j_username", WindowsAccountImpl.getCurrentUsername());
                    
359        request.addParameter("j_password", "");
                    
                
 

Source

Language