PageRenderTime 17ms queryFilters 0ms Sphinxql 93ms app.CodeModel.GetByIds 18ms findMatchingLines 36ms GetByIds 54ms meta 0ms repositoryFilters 5ms languageFilters 2ms sourceFilters 6ms

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

Source

Language

Repository

XmlMembershipProvider.cs https://github.com/dcargnino/XmlMembershipProvider.git | C# | 878 lines
181        <ApplicationId></ApplicationId>
182        <UserName></UserName>
183        <RoleName></RoleName>
362                    new XElement("ApplicationId", this.ApplicationName),
363                    new XElement("UserName", username),
364                    new XElement("PasswordSalt", salt),
425
426            string username = xUser.Element("UserName").Value;
427            return username;
606            MembershipUserCollection users = new MembershipUserCollection();
607            var xUsers = _Document.Descendants("User").Where(x => x.Element("UserName").IsMatch(usernameToMatch) 
608                && x.Element("ApplicationId").Value == ApplicationName).OrderBy(x => x.Element("UserName").Value).Skip(pageIndex).Take(pageSize);
638            InitializeDataStore();
639            return _Document.Descendants("User").Where(x => x.Element("UserName").Value == username.ToLower()
640                && x.Element("ApplicationId").Value == ApplicationName).FirstOrDefault();
moodlelib_test.php https://github.com/dcai/moodle.git | PHP | 4,690 lines
189        $_GET['username'] = 'get_user';
190        $this->assertSame($_POST['username'], optional_param('username', 'default_user', PARAM_RAW));
191
192        unset($_POST['username']);
193        $this->assertSame($_GET['username'], optional_param('username', 'default_user', PARAM_RAW));
194
241        $_GET['username'] = array('a'=>'get_user');
242        $this->assertSame($_POST['username'], optional_param_array('username', array('a'=>'default_user'), PARAM_RAW));
243
3597            [
3598                "username" => $username,
3599                "confirmed" => 0,
4588            $this->assertEquals($user->id, $fetcheduser->id);
4589            $this->assertEquals($user->username, $fetcheduser->username);
4590            $this->assertEquals($user->email, $fetcheduser->email);
chromeipass.js https://github.com/ddingx/passifox.git | JavaScript | 1,707 lines
607			if(cipDefine.selection.username) {
608				cipDefine.selection.username = cipFields.prepareId(cipDefine.selection.username);
609			}
1514
1515			// find passwords to given username (even those with empty username)
1516			for (var i = 0; i < cip.credentials.length; i++) {
1598
1599	var usernameField = _f(combination.username);
1600	var passwordField = _f(combination.password);
1602	if(usernameField) {
1603		usernameValue = usernameField.val();
1604	}
1665			'action': 'set_remember_credentials',
1666			'args': [usernameValue, passwordValue, url, usernameExists, credentialsList]
1667		});
MembershipProvider.cs https://github.com/ddo88/MongoProviders.git | C# | 1,551 lines
452        {
453			SecUtility.CheckParameter(ref username, true, true, InvalidUsernameCharacters, MAX_USERNAME_LENGTH, "username");
454			SecUtility.CheckParameter(ref oldPassword, true, true, null, MAX_PASSWORD_LENGTH, "oldPassword");
533        {
534			SecUtility.CheckParameter(ref username, true, true, InvalidUsernameCharacters, MAX_USERNAME_LENGTH, "username");
535			SecUtility.CheckParameter(ref password, true, true, null, MAX_PASSWORD_LENGTH, "password");
581
582			if (!SecUtility.ValidateParameter(ref username, true, true, InvalidUsernameCharacters, MAX_USERNAME_LENGTH))
583			{
1059		/// </summary>
1060		/// <param name="username">The username.</param>
1061		/// <returns>Returns true if user was unlocked; otherwise returns false.</returns>
1115        {
1116			if (!SecUtility.ValidateParameter(ref username, true, true, InvalidUsernameCharacters, MAX_USERNAME_LENGTH) || !SecUtility.ValidateParameter(ref password, true, true, null, MAX_PASSWORD_LENGTH))
1117			{
users_controller_spec.rb https://github.com/ddollar/discourse.git | Ruby | 1,235 lines
547        Guardian.any_instance.expects(:can_edit_username?).with(user).returns(false)
548        xhr :put, :username, username: user.username, new_username: new_username
549        response.should be_forbidden
553        User.any_instance.expects(:change_username).with(new_username).returns(false)
554        lambda { xhr :put, :username, username: user.username, new_username: new_username }.should raise_error(Discourse::InvalidParameters)
555      end
558        User.any_instance.expects(:change_username).with(new_username).returns(true)
559        xhr :put, :username, username: user.username, new_username: new_username
560        response.should be_success
630      before do
631        xhr :get, :check_username, username: 'bad username'
632      end
641      before do
642        xhr :get, :check_username, username: generate_username(User.username_length.last + 1)
643      end
5_data.sql https://github.com/DDuarte/socializ3d.git | SQL | 1,635 lines
2
3INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Oscar', '9941d231bb8060c3ece285e40ba46c5ab37bbed5d5cacfeb3a465b1edc1e8da5', 'JHendrix1@telfort.co.uk', false);
4INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Jim18', '74008a8dcb07e7fe3aa831bb6f464e3fa2c6875b7c86d933401477cecc367d89', 'NadineDavis1@aol.nl', false);
4INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Jim18', '74008a8dcb07e7fe3aa831bb6f464e3fa2c6875b7c86d933401477cecc367d89', 'NadineDavis1@aol.nl', false);
5INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Sherm87', '037c61a03d77d25d14ebb43d2c740dff1faa68b71f286e06b3cd6cae7d9f8740', 'V.Daniel5@web.dk', false);
6INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Sydney560', 'eb64e928976d7b56af79cd830d6bf6d408de33ab6bbaab548ab464e3d89f73df', 'Hank.McDaniel@mymail.be', false);
6INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Sydney560', 'eb64e928976d7b56af79cd830d6bf6d408de33ab6bbaab548ab464e3d89f73df', 'Hank.McDaniel@mymail.be', false);
7INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Edwina', 'afa014b426133d63f6c985f99903519dc6bc6fc1ab2afc81fbb9b0c9c38ff350', 'PConley3@lycos.com', false);
8INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Willy', 'aa93884dbfaf84d033c11f416e989e1c5cc22f5cd83c11fa134d990ae51e587a', 'Y.White@mymail.fr', false);
8INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Willy', 'aa93884dbfaf84d033c11f416e989e1c5cc22f5cd83c11fa134d990ae51e587a', 'Y.White@mymail.fr', false);
9INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Rogier0', 'f7d710d06bcfb191b29bb96d1cf91242cc24d2e3a7fc46e8620234585f62296d', 'S.Waldo@live.cc', false);
10INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Paul3', 'eee8bcbdcec99591a6296dea063c57e728704b382a62b1ccc6208d34ce944d37', 'GMorton3@gmail.org', false);
10INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Paul3', 'eee8bcbdcec99591a6296dea063c57e728704b382a62b1ccc6208d34ce944d37', 'GMorton3@gmail.org', false);
11INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Nate', 'ccb1e06823f37d891a1debc88eecb5479a37921063a46a974225ec469d6e6ff3', 'Mike.Bitmacs@telefonica.fr', false);
12INSERT INTO registereduser (userName, passwordHash, email, isAdmin) VALUES ('Godfrey1', '38d1062113234043d8e055351291f9be61802bab059f7c130d11fd7034764610', 'IAnthony@myspace.it', false);
WebMatrix.WebData.xml https://github.com/deadsetgav/Downloader.git | XML | 834 lines
239      <returns>true if the user account is confirmed; otherwise, false.</returns>
240      <param name="userName">The username.</param>
241      <param name="accountConfirmationToken">The account confirmation.</param>
249      <exception cref="T:System.Web.Security.MembershipCreateUserException">
250        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a user account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is longer than 128 characters.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
251      <exception cref="T:System.InvalidOperationException">The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> class was not initialized using a call to the <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method.</exception>
259      <exception cref="T:System.Web.Security.MembershipCreateUserException">
260        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
261    </member>
297      <exception cref="T:System.Web.Security.MembershipCreateUserException">
298        <paramref name="username" /> is empty.-or-A user record that corresponds to <paramref name="username" /> does not exist in the <see cref="P:WebMatrix.WebData.SimpleMembershipProvider.UserTableName" /> table (the user profile table).-or-The database operation failed.</exception>
299    </member>
667      <exception cref="T:System.Web.Security.MembershipCreateUserException">
668        <paramref name="username" /> is empty.-or-<paramref name="username" /> already has a membership account.-or-<paramref name="password" /> is empty.-or-<paramref name="password" /> is too long.-or-The database operation failed.</exception>
669      <exception cref="T:System.InvalidOperationException">The <see cref="M:WebMatrix.WebData.SimpleMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)" /> method was not called.-or-The <see cref="Overload:WebMatrix.WebData.WebSecurity.InitializeDatabaseConnection" /> method was not called.-or-The <see cref="T:WebMatrix.WebData.SimpleMembershipProvider" /> membership provider is not registered in the configuration of your site. For more information, contact your site's system administrator.</exception>
github-iphone.json https://github.com/DeanCarter/JSONModel.git | JSON | 1,804 lines
10      "forks": 556,
11      "username": "cocos2d",
12      "description": "cocos2d for iPhone",
28      "forks": 133,
29      "username": "ldandersen",
30      "description": "Open source iPhone code",
46      "forks": 166,
47      "username": "erica",
48      "description": "Sample Code",
64      "forks": 80,
65      "username": "c99koder",
66      "description": "The official Last.fm iPhone application",
82      "forks": 150,
83      "username": "bengottlieb",
84      "description": "An easy way to get Twitter authenticating with OAuth on iPhone",
orm_test.go https://github.com/DeanHH/beego.git | Go | 1,779 lines
363	user := NewUser()
364	user.UserName = "slene"
365	user.Email = "vslene@gmail.com"
396	throwFailNow(t, err)
397	throwFail(t, AssertIs(u.UserName, "astaxie"))
398	throwFail(t, AssertIs(u.Profile.Id, profile.Id))
399
400	u = &User{UserName: "astaxie", Password: "pass"}
401	err = dORM.Read(u, "UserName")
1764
1765	nu := &User{UserName: u.UserName, Email: "someotheremail@gmail.com"}
1766	created, pk, err = dORM.ReadOrCreate(nu, "UserName")
1770	throwFail(t, AssertIs(pk, u.Id))
1771	throwFail(t, AssertIs(nu.UserName, u.UserName))
1772	throwFail(t, AssertIs(nu.Email, u.Email)) // should contain the value in the table, not the one specified above
JNDIRealm.java https://github.com/dblevins/tomcat.git | Java | 2,398 lines
1014     *
1015     * @param username Username of the Principal to look up
1016     * @param credentials Password or other credentials to use in
1394     * @param context The directory context
1395     * @param username The username
1396     * @param attrIds String[]containing names of attributes to retrieve.
1451                if(containerLog.isInfoEnabled())
1452                    containerLog.info("username " + username + " has multiple entries");
1453                return (null);
1664        String dn = user.getDN();
1665        String username = user.getUserName();
1666        String userRoleId = user.getUserRoleId();
2363                List<String> roles, String userRoleId) {
2364            this.username = username;
2365            this.dn = dn;
RESTController.java https://github.com/deathxxx/subsonic.git | Java | 2,187 lines
277        Player player = playerService.getPlayer(request, response);
278        String username = securityService.getCurrentUsername(request);
279
810//            }
811//            for (String usernameToRemove : ServletRequestUtils.getStringParameters(request, "usernameToRemove")) {
812//                if (securityService.getUserByName(usernameToRemove) != null) {
1881            if (time > since) {
1882                builder.add("chatMessage", true, new Attribute("username", message.getUsername()),
1883                        new Attribute("time", time), new Attribute("message", message.getContent()));
1926
1927        String username = securityService.getCurrentUsername(request);
1928        ratingService.setRatingForUser(username, mediaFile, rating);
2021            player.setIpAddress(request.getRemoteAddr());
2022            player.setUsername(username);
2023            player.setClientId(clientId);
mantis.wsdl https://github.com/deadok22/intellij-community.git | Web Services Description Language | 1,399 lines
349<message name="mc_enum_statusRequest">
350  <part name="username" type="xsd:string" />
351  <part name="password" type="xsd:string" /></message>
354<message name="mc_enum_prioritiesRequest">
355  <part name="username" type="xsd:string" />
356  <part name="password" type="xsd:string" /></message>
359<message name="mc_enum_severitiesRequest">
360  <part name="username" type="xsd:string" />
361  <part name="password" type="xsd:string" /></message>
364<message name="mc_enum_reproducibilitiesRequest">
365  <part name="username" type="xsd:string" />
366  <part name="password" type="xsd:string" /></message>
369<message name="mc_enum_projectionsRequest">
370  <part name="username" type="xsd:string" />
371  <part name="password" type="xsd:string" /></message>
client.xml https://github.com/dblevins/cxf.git | XML | 350 lines
35        <jaxws:properties>
36            <entry key="security.username" value="Alice"/>
37            <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
38            <entry key="security.encryption.properties" value="bob.properties"/>
39            <entry key="security.encryption.username" value="bob"/>
40            <entry key="security.signature.properties" value="alice.properties"/>
40            <entry key="security.signature.properties" value="alice.properties"/>
41            <entry key="security.signature.username" value="alice"/>
42        </jaxws:properties>
50        <jaxws:properties>
51            <entry key="security.username" value="Alice"/>
52            <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
53            <entry key="security.encryption.properties" value="bob.properties"/>
54            <entry key="security.encryption.username" value="bob"/>
55            <entry key="security.signature.properties" value="alice.properties"/>
client.xml https://github.com/dblevins/cxf.git | XML | 355 lines
35        <jaxws:properties>
36            <entry key="security.username" value="Alice"/>
37            <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
38            <entry key="security.encryption.properties" value="bob.properties"/>
39            <entry key="security.encryption.username" value="bob"/>
40            <entry key="security.signature.properties" value="alice.properties"/>
40            <entry key="security.signature.properties" value="alice.properties"/>
41            <entry key="security.signature.username" value="alice"/>
42        </jaxws:properties>
50        <jaxws:properties>
51            <entry key="security.username" value="Alice"/>
52            <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
53            <entry key="security.encryption.properties" value="bob.properties"/>
54            <entry key="security.encryption.username" value="bob"/>
55            <entry key="security.signature.properties" value="alice.properties"/>
client.xml https://github.com/dblevins/cxf.git | XML | 471 lines
42            <entry key="security.encryption.properties" value="bob.properties"/>
43            <entry key="security.encryption.username" value="bob"/>
44        </jaxws:properties>
48            <entry key="security.encryption.properties" value="bob.properties"/>
49            <entry key="security.encryption.username" value="bob"/>
50        </jaxws:properties>
54            <entry key="security.encryption.properties" value="bob.properties"/>
55            <entry key="security.encryption.username" value="bob"/>
56        </jaxws:properties>
60            <entry key="security.encryption.properties" value="bob.properties"/>
61            <entry key="security.encryption.username" value="bob"/>
62        </jaxws:properties>
66            <entry key="security.encryption.properties" value="bob.properties"/>
67            <entry key="security.encryption.username" value="bob"/>
68        </jaxws:properties>
index.php https://github.com/deefactorial/openmoney-server.git | PHP | 859 lines
151	
152	if (($username == '' && $password == '' && $email == '') && (!isset($_POST['username']) || !isset($_POST['password']) || !isset($_POST['email']))) {
153		$post = json_decode(file_get_contents('php://input'), true);
187			$cb = new Couchbase("127.0.0.1:8091", "openmoney", "", "openmoney");
188// 			$profile_lookup_function = 'function (doc, meta) { if( doc.type == \"profile\" && doc.email && doc.username) {  emit( doc.email, doc.username ); } }';
189// 			$designDoc = '{ "views": { "profileLookup" : { "map": "' . $profile_lookup_function . '" } } }';
365		if (strpos($user['username'], "@") !== false)
366			$subusername = substr($user['username'], 0, strpos($user['username'], "@"));
367			// $subusername = str_replace ( ".", "", $subusername );
374			$tradingName = substr($subusername, 0, strpos($subusername, "."));
375			$subspace = substr($subusername, strpos($subusername, ".") + 1, strlen($subusername));
376			unset($space);
803		
804		$username = $post['username'];
805		$password = $post['password'];
PasswordConnectionInfo.cs https://github.com/DeekyJay/7DTD-Remote-Server-Manager.git | C# | 322 lines
165        /// <param name="port">The port.</param>
166        /// <param name="username">Connection username.</param>
167        /// <param name="password">Connection password.</param>
232        public PasswordConnectionInfo(string host, string username, byte[] password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)
233            : this(host, ConnectionInfo.DEFAULT_PORT, username, password, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword)
234        {
241        /// <param name="port">The port.</param>
242        /// <param name="username">Connection username.</param>
243        /// <param name="password">Connection password.</param>
246        /// <param name="proxyPort">The proxy port.</param>
247        /// <param name="proxyUsername">The proxy username.</param>
248        /// <param name="proxyPassword">The proxy password.</param>
249        public PasswordConnectionInfo(string host, int port, string username, byte[] password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)
250            : base(host, port, username, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword, new PasswordAuthenticationMethod(username, password))
251        {
users_controller_spec.rb https://github.com/ddburns/discourse.git | Ruby | 1,236 lines
521        Guardian.any_instance.expects(:can_edit_username?).with(user).returns(false)
522        xhr :put, :username, username: user.username, new_username: new_username
523        response.should be_forbidden
527        User.any_instance.expects(:change_username).with(new_username).returns(false)
528        lambda { xhr :put, :username, username: user.username, new_username: new_username }.should raise_error(Discourse::InvalidParameters)
529      end
532        User.any_instance.expects(:change_username).with(new_username).returns(true)
533        xhr :put, :username, username: user.username, new_username: new_username
534        response.should be_success
615        before do
616          xhr :get, :check_username, username: 'bad username'
617        end
626        before do
627          xhr :get, :check_username, username: generate_username(User.username_length.last + 1)
628        end
sequelize-tests-3.0.0.ts https://github.com/deenairn/DefinitelyTyped.git | TypeScript | 1,589 lines
793user.update( { username : 'yolo' }, { logging : function() { } } );
794user.update( { username : 'bar' }, { where : { username : 'foo' }, transaction : t } ).then( ( p ) => p );
795user.updateAttributes( { a : 3 } ).then( ( p ) => p );
982User.bulkCreate( [{ aNumber : 10 }, { aNumber : 12 }] ).then( ( i ) => i[0].isNewRecord );
983User.bulkCreate( [{ username : 'bar' }, { username : 'bar' }, { username : 'bar' }] );
984User.bulkCreate( [{}, {}], { validate : true, individualHooks : true } );
1003User.update( { username : 'ruben' }, { where : { access_level : { lt : 5 } } } );
1004User.update( { username : 'ruben' }, { where : { username : 'dan' } } );
1005User.update( { username : 'bar' }, { where : { username : 'foo' }, transaction : t } );
1005User.update( { username : 'bar' }, { where : { username : 'foo' }, transaction : t } );
1006User.update( { username : 'Bill', secretValue : '43' }, { where : { secretValue : '42' }, fields : ['username'] } );
1007User.update( { username : s.cast( '1', 'char' ) }, { where : { username : 'John' } } );
1007User.update( { username : s.cast( '1', 'char' ) }, { where : { username : 'John' } } );
1008User.update( { username : s.fn( 'upper', s.col( 'username' ) ) }, { where : { username : 'John' } } );
1009User.update( { username : 'Bill' }, { where : { secretValue : '42' }, returning : true } );
sequelize-tests.ts https://github.com/deenairn/DefinitelyTyped.git | TypeScript | 1,603 lines
806user.update( { username : 'yolo' }, { logging : function() { } } );
807user.update( { username : 'bar' }, { where : { username : 'foo' }, transaction : t } ).then( ( p ) => p );
808user.updateAttributes( { a : 3 } ).then( ( p ) => p );
996User.bulkCreate( [{ aNumber : 10 }, { aNumber : 12 }] ).then( ( i ) => i[0].isNewRecord );
997User.bulkCreate( [{ username : 'bar' }, { username : 'bar' }, { username : 'bar' }] );
998User.bulkCreate( [{}, {}], { validate : true, individualHooks : true } );
1017User.update( { username : 'ruben' }, { where : { access_level : { lt : 5 } } } );
1018User.update( { username : 'ruben' }, { where : { username : 'dan' } } );
1019User.update( { username : 'bar' }, { where : { username : 'foo' }, transaction : t } );
1019User.update( { username : 'bar' }, { where : { username : 'foo' }, transaction : t } );
1020User.update( { username : 'Bill', secretValue : '43' }, { where : { secretValue : '42' }, fields : ['username'] } );
1021User.update( { username : s.cast( '1', 'char' ) }, { where : { username : 'John' } } );
1021User.update( { username : s.cast( '1', 'char' ) }, { where : { username : 'John' } } );
1022User.update( { username : s.fn( 'upper', s.col( 'username' ) ) }, { where : { username : 'John' } } );
1023User.update( { username : 'Bill' }, { where : { secretValue : '42' }, returning : true } );
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21