PageRenderTime 17ms queryFilters 0ms Sphinxql 94ms app.CodeModel.GetByIds 10ms findMatchingLines 19ms GetByIds 29ms meta 0ms repositoryFilters 7ms languageFilters 6ms sourceFilters 1ms

1,878,843 results for 'username' (17 ms)

Source

Language

Repository

test_notifications.py https://github.com/dbbhattacharya/kitsune.git | Python | 385 lines
79        u = user(save=True)
80        self.client.login(username=u.username, password='testpass')
81        post(self.client, 'wiki.discuss.new_thread',
88        """Watch a thread and return it."""
89        self.client.login(username=username, password='testpass')
90        user = User.objects.get(username=username)
198        u2 = user(username='jsocol', save=True)
199        self.client.login(username=u2.username, password='testpass')
200        post(self.client, 'wiki.discuss.reply', {'content': 'a post'},
327        u2 = user(username='jsocol', save=True)
328        self.client.login(username=u2.username, password='testpass')
329        post(self.client, 'wiki.discuss.new_thread',
344        u = user(save=True)
345        self.client.login(username=u.username, password='testpass')
346        s = Setting.objects.create(user=u, name='kbforums_watch_new_thread',
test_templates.py https://github.com/dbbhattacharya/kitsune.git | Python | 1,542 lines
41        self.user = user(save=True)
42        self.client.login(username=self.user.username, password='testpass')
43        self.question = answer(save=True).question
83        assert name in image.file.name, message
84        eq_(self.user.username, image.creator.username)
85
134        self.client.login(
135            username=self.question.creator.username, password='testpass')
136        response = post(self.client, 'questions.solve',
155        self.client.login(
156            username=self.question.creator.username, password='testpass')
157        response = get(self.client, 'questions.details',
164        u = user(save=True)
165        self.client.login(username=u.username, password='testpass')
166        response = get(self.client, 'questions.details',
test_templates.py https://github.com/dbbhattacharya/kitsune.git | Python | 561 lines
46        response = post(self.client, 'users.login',
47                        {'username': self.u.username, 'password': 'foobar'})
48        eq_(200, response.status_code)
340
341        user_profile = Profile.objects.get(user__username=self.u.username)
342        eq_(302, r.status_code)
429        self.new_pw = 'fjdka387fvstrongpassword!'
430        self.client.login(username=self.u.username, password='testpass')
431
439        eq_('http://testserver/en-US/users/pwchangecomplete', r['location'])
440        self.u = User.objects.get(username=self.u.username)
441        assert self.u.check_password(self.new_pw)
532        add_permission(u, FlaggedObject, 'can_moderate')
533        self.client.login(username=u.username, password='testpass')
534        response = get(self.client, 'flagit.queue')
emailDigest.js https://github.com/dbbhattacharya/scrollback.git | JavaScript | 505 lines
55			if (emailConfig.debug) log("checking for mentions...", usernames);
56			usernames.forEach(function(username) {
57				initMailSending(username);
68 *3 - Periodic check for mention timeout.
69 *@param {string} username username
70 */
97					if(!following.results || !following.results.length) {
98						log("username ", username ," is not following any rooms ");
99						return;
121 *email: {
122 *  username: {string}, //username
123	heading : {string},
148	var email = {};
149	email.username = username;
150	email.rooms = [];
emailDigest.js https://github.com/dbhurley/scrollback.git | JavaScript | 505 lines
55			if (emailConfig.debug) log("checking for mentions...", usernames);
56			usernames.forEach(function(username) {
57				initMailSending(username);
68 *3 - Periodic check for mention timeout.
69 *@param {string} username username
70 */
97					if(!following.results || !following.results.length) {
98						log("username ", username ," is not following any rooms ");
99						return;
121 *email: {
122 *  username: {string}, //username
123	heading : {string},
148	var email = {};
149	email.username = username;
150	email.rooms = [];
varnish.xml https://github.com/dbnski/zabbix.git | XML | 1,745 lines
15      <ipmi_privilege>2</ipmi_privilege>
16      <ipmi_username></ipmi_username>
17      <ipmi_password></ipmi_password>
238          <authtype>0</authtype>
239          <username></username>
240          <password></password>
269          <authtype>0</authtype>
270          <username></username>
271          <password></password>
300          <authtype>0</authtype>
301          <username></username>
302          <password></password>
331          <authtype>0</authtype>
332          <username></username>
333          <password></password>
AbstractJcrBackedUserRoleDao.java https://github.com/dbogdanovich/pentaho-platform.git | Java | 800 lines
107                                      final IRepositoryDefaultAclHandler defaultAclHandler, final List<String> systemRoles, final List<String> extraRoles, UserCache userDetailsCache) throws NamespaceException {
108    this.tenantedUserNameUtils = userNameUtils;
109    this.tenantedRoleNameUtils = roleNameUtils;
211  private void purgeUserFromCache(String userName) {
212    userDetailsCache.removeUserFromCache(getTenantedUserNameUtils().getPrincipleName(userName));
213  }
665    RepositoryFile userHomeFolder = null;
666    String userId = tenantedUserNameUtils.getPrincipleId(theTenant, username);
667    final RepositoryFileSid userSid = new RepositoryFileSid(userId);
679      if (tenantHomeFolder == null) {
680        String ownerId = tenantedUserNameUtils.getPrincipleId(theTenant, username);
681        ownerSid = new RepositoryFileSid(ownerId, Type.USER);
694      } else {
695        String ownerId = tenantedUserNameUtils.getPrincipleId(theTenant, username);
696        ownerSid = new RepositoryFileSid(ownerId, Type.USER);
emailer.js https://github.com/dbrugne/donut.git | JavaScript | 660 lines
115    username: from.username,
116    title: i18next.t('email.verify.content.title', {username: from.username}),
117    subject: i18next.t('email.verify.subject')
123    token: token,
124    username: user.username,
125    title: i18next.t('email.welcome.content.title', {username: user.username}),
157  sendEmail(to, 'emails/room-op.html', {
158    username: data.username,
159    roomname: data.roomname,
174  sendEmail(to, 'emails/room-deop.html', {
175    username: data.username,
176    roomname: data.roomname,
509      groupname: data.groupname.replace('#', ''),
510      username: data.username
511    }),
java.md https://github.com/dbruning/docs.git | Markdown | 1,083 lines
54```bash
55mvn archetype:generate -DarchetypeRepository=http://repository-saucelabs.forge.cloudbees.com/release -DarchetypeGroupId=com.saucelabs -DarchetypeArtifactId=quickstart-webdriver-junit -DgroupId=com.yourcompany -DartifactId=sauce-project -DarchetypeVersion=1.0.19 -Dversion=1.0-SNAPSHOT -Dpackage=com.yourcompany -DsauceUserName=<!—- SAUCE:USERNAME -—> -DsauceAccessKey=<!-- SAUCE:ACCESS_KEY -->
56```
213    @BeforeMethod
214    public void setUp(@Optional("sauceUsername") String username,
215                      @Optional("sauceAccessKey") String key,
411    public void setUp
412        (@Optional("sauceUsername") String username,
413            @Optional("sauceAccessKey") String key,
613        driver.get("http://tutorialapp.saucelabs.com/register");
614        driver.findElement(By.id("username")).sendKeys(userDetails.get("username"));
615        driver.findElement(By.id("password")).sendKeys(userDetails.get("password"));
680       driver.get("http://tutorialapp.saucelabs.com/register");
681       driver.findElement(By.id("username")).sendKeys(userDetails.get("username"));
682       driver.findElement(By.id("password")).sendKeys(userDetails.get("password"));
network.c https://github.com/DavidS/collectd.git | C | 3,507 lines
1066  /* Read the username */
1067  BUFFER_READ (pss.username, username_len);
1068  pss.username[username_len] = 0;
2608
2609  username_len = strlen (pea.username);
2610  if ((PART_ENCRYPTION_AES256_SIZE + username_len) > BUFF_SIG_SIZE)
2611  {
2612    ERROR ("network plugin: Username too long: %s", pea.username);
2613    return;
2625        + username_len + in_buffer_size));
2626  pea.username_length = htons ((uint16_t) username_len);
2627
2641  BUFFER_ADD (&pea.username_length, sizeof (pea.username_length));
2642  BUFFER_ADD (pea.username, username_len);
2643  BUFFER_ADD (pea.iv, sizeof (pea.iv));
LocalDescriptions.properties https://github.com/dbuos/wildfly.git | Properties File | 470 lines
62core.management.security-realm.authentication.ldap.allow-empty-passwords=Should empty passwords be accepted from the user being authenticated.
63core.management.security-realm.authentication.ldap.username-attribute=The name of the attribute to search for the user. This filter will then perform a simple search where the username entered by the user matches the attribute specified here.
64core.management.security-realm.authentication.ldap.advanced-filter=The fully defined filter to be used to search for the user based on their entered user ID. The filter should contain a variable in the form {0} - this will be replaced with the username supplied by the user.
103core.management.security-realm.authorization.ldap.connection=The name of the connection to use to connect to LDAP.
104core.management.security-realm.authorization.ldap.username-to-dn=User search configuration where the username is already a distinguished name.
105core.management.security-realm.authorization.ldap.user-search.username-to-dn=User search configuration where the username is already a distinguished name.
109core.management.security-realm.authorization.ldap.username-filter=A simple filter configuration to identify the users distinguished name from their username.
110core.management.security-realm.authorization.ldap.user-search.username-filter.add=Add username fiter.
111core.management.security-realm.authorization.ldap.user-search.username-filter.remove=Add username fiter.
112core.management.security-realm.authorization.ldap.user-search.username-filter=A simple filter configuration to identify the users distinguished name from their username.
113core.management.security-realm.authorization.ldap.user-search.username-filter.force=Authentication may have already converted the username to a distingushed name, force this to occur again before loading groups.
114core.management.security-realm.authorization.ldap.user-search.username-filter.base-dn=The starting point of the search for the user.
116core.management.security-realm.authorization.ldap.user-search.username-filter.user-dn-attribute=The attribute on the user entry that contains their distinguished name.
117core.management.security-realm.authorization.ldap.user-search.username-filter.attribute=The attribute on the user entry that is their username.
118core.management.security-realm.authorization.ldap.advanced-filter=An advanced filter configuration to identify the users distinguished name from the username.
PropertyTestHelper.java https://github.com/dbuos/wildfly.git | Java | 299 lines
72        values.setGroupFiles(rolesPropertyFileList);
73        values.setUserName(USER_NAME);
74        values.setPassword("1sT%l<[pzD");
86
87    protected void assertUserPropertyFile(String userName) throws StartException, IOException {
88        assertUserPropertyFile(userName, null);
90
91    protected void assertUserPropertyFile(String userName, String expectedPassword) throws StartException, IOException {
92        assertUserPropertyFile(userName, expectedPassword, values.getOptions().isDisable());
94
95    private void assertUserPropertyFile(String userName, String expectedPassword, boolean disable) throws StartException, IOException {
96        final String password;
96        final String password;
97        password = getPassword(userName, disable);
98        assertNotNull(password);
views.py https://github.com/dbvan/cobbler.git | Python | 1,411 lines
42        'version': remote.extended_version(request.session['token'])['version'],
43        'username': username,
44    }))
58        'version': remote.extended_version(request.session['token'])['version'],
59        'username': username
60    }))
79        'message': message,
80        'username': username
81    }))
353        'version': remote.extended_version(request.session['token'])['version'],
354        'username': username,
355        'limit': limit,
1365
1366    request.session['username'] = username
1367    request.session['token'] = token
Chat.cs https://github.com/dc0d/ONLYOFFICE-Server.git | C# | 508 lines
99            var currentUser = CoreContext.UserManager.GetUsers(user.ID);
100            if (calleeUserName != string.Empty && CoreContext.UserManager.GetUserByUserName(calleeUserName).Equals(Core.Users.Constants.LostUser))
101            {
231            var currentUser = CoreContext.UserManager.GetUsers(user.ID);
232            var calleeUser = CoreContext.UserManager.GetUserByUserName(calleeUserName);
233            if (calleeUserName != string.Empty && calleeUser.Equals(Core.Users.Constants.LostUser))
240
241            TraceMessage(TraceDebug, String.Format("Get Recent Messages calleeUserName={0}, callerUserName={1}, id={2}", calleeUserName, callerUserName, id));
242
245                recentMessages = JabberServiceClient.GetRecentMessages(currentUser.Tenant,
246                    callerUserName, calleeUserName == string.Empty ? null : calleeUserName, id);
247                if (recentMessages != null)
479                }
480                usersArray[i] = new UserStr { UserName = userName, DisplayUserName = users[i].DisplayUserName(), State = state };
481            }
JabberService.cs https://github.com/dc0d/ONLYOFFICE-Server.git | C# | 476 lines
77            {
78                _log.ErrorFormat("Unexpected error, userName = {0}, {1}", userName, e);
79            }
252            {
253                _log.ErrorFormat("Unexpected error, userName = {0}, {1}, {2}, {3}", userName,
254                    e, e.StackTrace, e.InnerException != null ? e.InnerException.Message : string.Empty);
312            {
313                _log.DebugFormat("Send State: tenantId={0}, userName={1}, state={2}", tenantId, userName, state);
314                var jid = GetJid(userName, tenantId, SignalRHelper.SIGNALR_RESOURCE);
327            {
328                _log.ErrorFormat("Unexpected error, userName = {0}, {1}, {2}, {3}", userName,
329                    e, e.StackTrace, e.InnerException != null ? e.InnerException.Message : string.Empty);
428            {
429                _log.DebugFormat("Ping, connectionId={0}, tenantId={1}, userName={2}, state={3}", connectionId, tenantId, userName, state);
430                var listener = (SignalRXmppListener)((XmppGateway)_xmppServer.GetService(typeof(IXmppReceiver))).GetXmppListener("SignalR Listener");
ASCRosterStore.cs https://github.com/dc0d/ONLYOFFICE-Server.git | C# | 250 lines
108					var items = GetASCRosterItems(userName);
109					if (RosterItems.ContainsKey(userName)) items.AddRange(RosterItems[userName].Values);
110					return items;
146					ExecuteNonQuery(
147						"insert or replace into Roster(UserName, Jid, Name, Subscription, Ask, Groups) values (@userName, @jid, @name, @subscription, @ask, @groups)",
148						new[] { "userName", "jid", "name", "subscription", "ask", "groups" },
173						ExecuteNonQuery(
174							"delete from Roster where UserName = @userName and Jid = @jid",
175							new[] { "userName", "jid" },
210						var userName = reader.GetString(5);
211						if (!items.ContainsKey(userName)) items[userName] = new UserRosterItemDic();
212						items[userName][item.Jid] = item;
225			{
226				if (string.Compare(userName, u.UserName, true) == 0) continue;
227
POP3_Session.cs https://github.com/dc0d/ONLYOFFICE-Server.git | C# | 1,723 lines
469
470        private void SetUserName(string userName)
471        {
591                {
592                    SetUserName(UserName);
593
1303                    {
1304                        userName = Encoding.Default.GetString(Convert.FromBase64String(userNameLine));
1305                    }
1374
1375                        SetUserName(userName);
1376
1462
1463                                SetUserName(userName);
1464                                m_pServer.OnGetMessagesInfo(this, m_POP3_Messages);
SmtpClientEx.cs https://github.com/dc0d/ONLYOFFICE-Server.git | C# | 2,564 lines
956			 *	C: AUTH<SP>LOGIN<CRLF>
957			 *	S: 334<SP>base64(USERNAME)<CRLF>   // USERNAME is string constant
958			 *	C: base64(username)<CRLF>
1036            {
1037                m_pSocket.Logger.UserName = userName;
1038            }
1060			 *	C: AUTH<SP>LOGIN<CRLF>
1061			 *	S: 334<SP>base64(USERNAME)<CRLF>   // USERNAME is string constant
1062			 *	C: base64(username)<CRLF>
1819                        {
1820                            m_pSocket.Logger.UserName = stateData.UserName;
1821                        }
2063                        {
2064                            m_pSocket.Logger.UserName = stateData.UserName;
2065                        }
Imap4Client.cs https://github.com/dc0d/ONLYOFFICE-Server.git | C# | 1,898 lines
603        /// <param name="host">The host.</param>
604        /// <param name="username">The username.</param>
605        /// <param name="password">The password.</param>
630        /// <param name="port">The port.</param>
631        /// <param name="username">The username.</param>
632        /// <param name="password">The password.</param>
809        /// </summary>
810        /// <param name="username">Username of the account.</param>
811        /// <param name="password">Password of the account.</param>
865        /// </summary>
866        /// <param name="username">Username of the account.</param>
867        /// <param name="password">Password of the account.</param>
884        /// </summary>
885        /// <param name="username">Username to authenticate as.</param>
886        /// <param name="password">Password.</param>
Pop3Client.cs https://github.com/dc0d/ONLYOFFICE-Server.git | C# | 2,155 lines
144            if (Authenticating != null) Authenticating(this, e);
145            ActiveUp.Net.Mail.Logger.AddEntry("Authenticating as " + e.Username + " on " + e.Host + "...", 2);
146        }
332#if !PocketPC
333        private delegate string DelegateConnectSslAuth(string host, int port, string username, string password, ActiveUp.Net.Security.SslHandShake sslHandShake);
334        private DelegateConnectSslAuth _delegateConnectSslAuth;
346
347        private delegate string DelegateAuthenticate(string username, string password, SaslMechanism mechanism);
348        private DelegateAuthenticate _delegateAuthenticate;
415#endif
416        private string _CramMd5(string username, string password)
417        {
900            /// </summary>
901            /// <param name="username">Username to authenticate as.</param>
902            /// <param name="password">Password.</param>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21