PageRenderTime 210ms queryFilters 0ms Sphinxql 110ms app.CodeModel.GetByIds 25ms findMatchingLines 41ms GetByIds 66ms meta 0ms repositoryFilters 22ms languageFilters 3ms sourceFilters 5ms

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

Source

Language

Repository

lucid.spec.js https://bitbucket.org/skrabakl/lucid-cloudant.git | JavaScript | 1,923 lines
127    class User extends Model {
128      setUsername (username) {
129        return username.toUpperCase()
308    assert.lengthOf(users, 1)
309    assert.equal(users[0].username, user.username)
310    assert.equal(String(users[0]._id), String(user.primaryKeyValue))
1396    User.addHook('afterFetch', fn)
1397    await ioc.use('Database').collection('users').insert([{ username: 'virk' }, { username: 'nikk' }])
1398    await User.all('username', 'virk')
1432
1433    const user = await User.findOrCreate({ username: 'foo' }, { username: 'foo', vid: 2 })
1434    assert.isTrue(user.$persisted)
1444
1445    const user = await User.findOrNew({ username: 'foo' }, { username: 'foo', vid: 2 })
1446    assert.isFalse(user.$persisted)
testHDFSConf.xml https://bitbucket.org/fkengun/porthadoop.git | XML | 16,801 lines
45          <type>RegexpComparator</type>
46          <expected-output>^-rw-r--r--( )*1( )*USERNAME( )*supergroup( )*0( )*[0-9]{4,}-[0-9]{2,}-[0-9]{2,} [0-9]{2,}:[0-9]{2,}( )*/file1</expected-output>
47        </comparator>
63          <type>RegexpComparator</type>
64          <expected-output>^-rw-r--r--( )*1( )*USERNAME( )*supergroup( )*0( )*[0-9]{4,}-[0-9]{2,}-[0-9]{2,} [0-9]{2,}:[0-9]{2,}( )*file1</expected-output>
65        </comparator>
84          <type>RegexpComparator</type>
85          <expected-output>^-rw-r--r--( )*1( )*USERNAME( )*supergroup( )*0( )*[0-9]{4,}-[0-9]{2,}-[0-9]{2,} [0-9]{2,}:[0-9]{2,}( )*file1</expected-output>
86        </comparator>
88          <type>RegexpComparator</type>
89          <expected-output>^-rw-r--r--( )*1( )*USERNAME( )*supergroup( )*0( )*[0-9]{4,}-[0-9]{2,}-[0-9]{2,} [0-9]{2,}:[0-9]{2,}( )*file2</expected-output>
90        </comparator>
92          <type>RegexpComparator</type>
93          <expected-output>^-rw-r--r--( )*1( )*USERNAME( )*supergroup( )*0( )*[0-9]{4,}-[0-9]{2,}-[0-9]{2,} [0-9]{2,}:[0-9]{2,}( )*file3</expected-output>
94        </comparator>
SMSGatewaysSeeder.php https://bitbucket.org/MaryPrisca/ultimatesms.git | PHP | 793 lines
40                'api_link' => 'http://127.0.0.1',
41                'username' => 'username',
42                'password' => 'secret',
50                'api_link' => 'http://api.textlocal.in/send/',
51                'username' => 'username',
52                'password' => 'apihash',
60                'api_link' => 'http://trans.websmsapp.com/API/',
61                'username' => 'username',
62                'password' => 'api_key',
310                'api_link' => 'http://127.0.0.1:14002/cgi-bin/sendsms',
311                'username' => 'username',
312                'password' => 'password',
758                'api_link' => 'https://api.smsbroadcast.co.uk/api-adv.php',
759                'username' => 'username',
760                'password' => 'password',
server.php https://bitbucket.org/htagen/askut.git | PHP | 650 lines
294    while ($thisUserExists) {
295        $queryUserExists = "SELECT username FROM users where username = '$newUsername'";
296        $resultUserExists = $connection->query($queryUserExists);
318
319        $query = "update users set password='$randomPasswordHash' WHERE username='$usernameOrEmail' or email='$usernameOrEmail'";
320        mysqli_query($connection, $query);
322        if(mysqli_affected_rows($connection)) {
323            $query = "select username, email from users where username='$usernameOrEmail' or email='$usernameOrEmail'";
324            $results = mysqli_query($connection, $query);
480
481                $query = "UPDATE users set username='$usernameFromForm', email='$email', course='$course', institute='$institute', password='$password' WHERE username ='$usernameLoggedIn'";
482                // Tabelisse sisestamise päring
495
496                $query = "UPDATE users set username='$usernameFromForm', email='$email', course='$course', institute='$institute' WHERE username ='$usernameLoggedIn'";
497                // Tabelisse sisestamise päring
activelog.php https://bitbucket.org/vincentbii/hkm-legal.git | PHP | 3,026 lines
164define("DB","legal");
165define("username","root");
166define("PWD","b$9bnFCa-1z,");
192	// --------------------------------------------------------------
193	  $CON = mysqli_connect(HOSTNAME, username, PWD) or trigger_error(mysqli_error(),E_USER_ERROR);
194	// --------------------------------------------------------------
309function recordexists($tablename,$columnname,$value) {
310	  $CON = mysqli_connect(HOSTNAME, username, PWD) or trigger_error(mysqli_error(),E_USER_ERROR);
311  
396
397	  $CON = mysqli_connect(HOSTNAME, username, PWD) or trigger_error(mysqli_error(),E_USER_ERROR);
398	  $logSQL = "SELECT ".$main.",".$id." FROM ".$table;
484
485	  $CON = mysqli_connect(HOSTNAME, username, PWD);
486	  if($CON){echo "connected";} else{ echo "error".mysqli_error($CON);}
d.php https://bitbucket.org/vincentbii/hkm-legal.git | PHP | 997 lines
2
3function getusername($enum) {
4$CON = mysqli_pconnect(HOSTNAME, username, PWD) or trigger_error(mysqli_error(),E_USER_ERROR);
13function getauthoriser($enum) {
14$CON = mysqli_pconnect(HOSTNAME, username, PWD) or trigger_error(mysqli_error(),E_USER_ERROR);
15    $logSQL = "SELECT * FROM employee WHERE id = '".$enum."'";
22function getdept($enum) {
23$CON = mysqli_pconnect(HOSTNAME, username, PWD) or trigger_error(mysqli_error(),E_USER_ERROR);
24    $logSQL = "SELECT * FROM employee WHERE id = '".$enum."'";
30function getuserdept($user) {
31  $CON = mysqli_pconnect(HOSTNAME, username, PWD) or trigger_error(mysqli_error(),E_USER_ERROR); 
32  $logSQL = "SELECT department.name FROM department INNER JOIN users ON department.id=users.department WHERE  users.authcode ='".$user."'";
40function gettheuserdept($enum) {
41$CON = mysqli_pconnect(HOSTNAME, username, PWD) or trigger_error(mysqli_error(),E_USER_ERROR);
42    $logSQL = "SELECT * FROM department WHERE id = '".$enum."'";
UsersApi.java https://bitbucket.org/qcifltd/xnat-web.git | Java | 929 lines
84
85    public static final String QUERY_USER_PROFILES = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username ORDER BY xdat_user.xdat_user_id";
86    public static final String QUERY_CURRENT_USERS = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username WHERE (xdat_user.enabled=1 OR (max_login > (CURRENT_DATE - INTERVAL '1 year') OR (max_login IS NULL AND (xdat_user_meta_data.last_modified > (CURRENT_DATE - INTERVAL '1 year') ) ) )) ORDER BY xdat_user.xdat_user_id";
86    public static final String QUERY_CURRENT_USERS = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username WHERE (xdat_user.enabled=1 OR (max_login > (CURRENT_DATE - INTERVAL '1 year') OR (max_login IS NULL AND (xdat_user_meta_data.last_modified > (CURRENT_DATE - INTERVAL '1 year') ) ) )) ORDER BY xdat_user.xdat_user_id";
87    public static final String QUERY_USER_PROFILE  = "SELECT enabled, login AS username, xdat_user_id AS id, firstname AS firstName, lastname AS lastName, email, verified, last_modified, auth.max_login AS lastSuccessfulLogin FROM xdat_user JOIN xdat_user_meta_data ON xdat_user.user_info=xdat_user_meta_data.meta_data_id JOIN (SELECT xdat_username, max(last_successful_login) max_login FROM xhbm_xdat_user_auth GROUP BY xdat_username) auth ON xdat_user.login=auth.xdat_username WHERE xdat_user.login=:username";
88
235    @AuthDelegate(UserResourceXapiAuthorization.class)
236    public ResponseEntity<User> getUser(@ApiParam(value = "Username of the user to fetch.", required = true) @PathVariable("username") @Username final String username) {
237        try {
306    @XapiRequestMapping(value = "{username}", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.PUT, restrictTo = User)
307    public ResponseEntity<User> updateUser(@ApiParam(value = "The username of the user to create or update.", required = true) @PathVariable("username") @Username final String username, @RequestBody final User model) throws NotFoundException, PasswordComplexityException, UserInitException {
308        final UserI user;
395    @XapiRequestMapping(value = "active/{username}", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.DELETE, restrictTo = User)
396    public ResponseEntity<List<String>> invalidateUser(final HttpSession current, @ApiParam(value = "The username of the user to invalidate.", required = true) @PathVariable("username") @Username final String username) throws NotFoundException {
397        final UserI  user;
usersGroups.js https://bitbucket.org/qcifltd/xnat-web.git | JavaScript | 1,583 lines
65            param = param || username || '';
66            username = (username||'') === param ? user : username;
67            return setUrl(username, path, param)
207        var $form = $$(form);
208        var username = $form.find('input#username').val();
209        opts = cloneObject(opts);
534        activeUsers = XNAT.data['/xapi/users/active'];
535        if (username && activeUsers && activeUsers[username] && activeUsers[username].sessions.length) {
536            sessionCount = activeUsers[username].sessions.length
610    function updateUserData(username, delay){
611        var USERNAME = typeof username === 'string' ? username : this.title.split(':')[0];
612        var USER_URL = USERNAME === 'profiles' ? '/xapi/users/profiles' : '/xapi/users/profile/' + USERNAME;
1322                            //console.log(tr);
1323                            // var _username = truncateText(username);
1324                            return spawn('a.username.link.truncate.edit-user', {
UserService.java https://bitbucket.org/ahmed_bilal_360factors/jira7-core.git | Java | 1,037 lines
177     * @param loggedInUser    The remote user trying to add a new user
178     * @param username        The username of the new user. Needs to be lowercase and unique.
179     * @param password        The password for the new user.
225     */
226    CreateUsernameValidationResult validateCreateUsername(ApplicationUser loggedInUser, String username);
227
237     */
238    CreateUsernameValidationResult validateCreateUsername(ApplicationUser loggedInUser, String username, Long directoryId);
239
535
536        public CreateUsernameValidationResult(final String username, final Long directoryId, final ErrorCollection errorCollection) {
537            super(errorCollection);
537            super(errorCollection);
538            this.username = username;
539            this.directoryId = directoryId;
Mention.js https://bitbucket.org/ahmed_bilal_360factors/jira7-core.git | JavaScript | 985 lines
164                        if (this.dataSource.hasQueryCache(username)) {
165                            if (!this.lastInvalidUsername || username.length <= this.lastInvalidUsername.length) {
166                                this.lastInvalidUsername = username;
496         *
497         * @param selectedUserName The username of the selected user.
498         * @param selectedUserDisplayName The display name of the selected user.
673                //Do not do a new request if they have continued typing after typing an invalid username.
674                if (username.indexOf(this.lastInvalidUsername) === 0 && (this.lastInvalidUsername.length < username.length)) {
675                    return false;
753                        _.defer(_.bind(function () {
754                            var username = this._getUserNameFromInput(this._getCaretPosition());
755                            ContextualMentionAnalyticsEvent.fireContextualMentionIsBeingLookedUpAnalyticsEvent(username, e.keyCode, e.ctrlKey, e.metaKey);
773                    this.listController.removeAllItems();
774                    this.lastQuery = this.lastValidUsername = this.lastInvalidUsername = "";
775                }
stemformatics_auth.py https://bitbucket.org/iwuyan/stemformatics-pyramid.git | Python | 1,606 lines
178    def check_user_password(db,username,password): #CRITICAL-2
179        username = username.lower()
180        try:
601
602            where = and_(user.username==username)
603            result = user.filter(where).all()
1297        username = user.username
1298        registration_url = external_base_url+url('auth/register?username=')+username
1299
1393        if len(result) ==1:
1394            username = result[0]['username']
1395            date_stamp = result[0]['created']
1429        if len(result) ==1:
1430            username = result[0]['username']
1431            base_export_key = result[0]['base_export_key']
users.e2e.tests.js https://bitbucket.org/mansoorali0707/sample.git | JavaScript | 552 lines
34      // Enter Username
35      element(by.model('vm.credentials.username')).sendKeys(user1.username);
36      // Enter Password
322      // Enter Username
323      element(by.model('vm.credentials.username')).sendKeys(user1.username);
324      // Enter Invalid Password
378      // Enter Username
379      element(by.model('vm.credentials.username')).sendKeys(user2.username);
380      // Enter Invalid Password
397      // Enter Username
398      element(by.model('vm.credentials.username')).sendKeys(user1.username);
399      // Enter Invalid Password
429      // Enter UserName
430      element(by.model('vm.credentials.usernameOrEmail')).sendKeys(user1.username);
431      // Enter Password
WebMatrix.WebData.xml https://bitbucket.org/metunccsmartdatabaseteam/smartdatabasewebapplication-rest.git | XML | 851 lines
242      <returns>true if the user account is confirmed; otherwise, false.</returns>
243      <param name="userName">The username.</param>
244      <param name="accountConfirmationToken">The account confirmation.</param>
252      <exception cref="T:System.Web.Security.MembershipCreateUserException">
253        <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>
254      <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>
262      <exception cref="T:System.Web.Security.MembershipCreateUserException">
263        <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>
264    </member>
300      <exception cref="T:System.Web.Security.MembershipCreateUserException">
301        <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>
302    </member>
682      <exception cref="T:System.Web.Security.MembershipCreateUserException">
683        <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>
684      <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>
WebMatrix.WebData.xml https://bitbucket.org/metunccsmartdatabaseteam/smartdatabasewebapplication-rest.git | XML | 851 lines
242      <returns>true if the user account is confirmed; otherwise, false.</returns>
243      <param name="userName">The username.</param>
244      <param name="accountConfirmationToken">The account confirmation.</param>
252      <exception cref="T:System.Web.Security.MembershipCreateUserException">
253        <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>
254      <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>
262      <exception cref="T:System.Web.Security.MembershipCreateUserException">
263        <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>
264    </member>
300      <exception cref="T:System.Web.Security.MembershipCreateUserException">
301        <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>
302    </member>
682      <exception cref="T:System.Web.Security.MembershipCreateUserException">
683        <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>
684      <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>
iam-2010-05-08.min.json https://bitbucket.org/radonys/itsproject.git | JSON | 3,186 lines
45          "GroupName",
46          "UserName"
47        ],
49          "GroupName": {},
50          "UserName": {}
51        }
83        "required": [
84          "UserName",
85          "PolicyArn"
87        "members": {
88          "UserName": {},
89          "PolicyArn": {}
113        "members": {
114          "UserName": {}
115        }
AuthUser.scala https://bitbucket.org/fsbt-tech-api/obp-api.git | Scala | 829 lines
67    */
68  lazy val username: userName = new userName()
69  class userName extends MappedString(this, 64) {
238        "#loginText * " #> {S.?("log.in")} &
239        "#usernameText * " #> {S.?("username")} &
240        "#passwordText * " #> {S.?("password")} &
744     val res = for {
745       username <- usernameFromGui
746       password <- passwordFromGui
760       user <- getUserFromConnector(name, password)
761       u <- Users.users.vend.getUserByUserName(username)
762       v <- tryo {Connector.connector.vend.updateUserAccountViews(u)}
772      for {
773       u <- Users.users.vend.getUserByUserName(username)
774       v <- tryo {Connector.connector.vend.updateUserAccountViews(u)}
WebRTCRoomBean.java https://bitbucket.org/jonaspfab/lw_web_socket.git | Java | 506 lines
183            if (userName != null && session != null) {
184                if (!userName.equals(member1.getUsername()) && !userName.equals(member2.getUsername())) {
185                    if (member1.getUsername() == null) {
233            if (userName != null) {
234                if (userName.equals(member1.getUsername())) {
235                    return member1;
327                return ((member1.getUsername() != null && !userName.equals(member1.getUsername()))
328                        || (member2.getUsername() != null && !userName.equals(member2.getUsername())))
329                        && !isFull();
407     * @param roomKey The room key
408     * @param userName The username which is joining
409     * @param session The session (websocket) of the user
445     * @param roomKey The roomKey of the user
446     * @param userName The username
447     */
x-data-provider.html https://bitbucket.org/insitu/star-wars.git | HTML | 4,301 lines
108      "email": "laura.arnaud@example.com",
109      "username": "yellowdog501",
110      "password": "zhou",
129      "email": "fabien.le gall@example.com",
130      "username": "goldenlion501",
131      "password": "outkast",
150      "email": "ruben.leclercq@example.com",
151      "username": "crazymouse343",
152      "password": "brutus",
171      "email": "kelya.roy@example.com",
172      "username": "tinymouse185",
173      "password": "fossil",
192      "email": "roxane.guillaume@example.com",
193      "username": "redswan463",
194      "password": "webmaster",
JDBCAuthProvider.java https://bitbucket.org/belinskiy/openfire4v2.git | Java | 694 lines
236            if (domain.equals(XMPPServer.getInstance().getServerInfo().getXMPPDomain())) {
237                username = username.substring(0, index);
238            } else {
401            if (domain.equals(XMPPServer.getInstance().getServerInfo().getXMPPDomain())) {
402                username = username.substring(0, index);
403            } else {
462        	if(useMSSQLConnection) {
463        		 if(username.length()>16&&username.matches("^[0-9].*")) {
464        			 passwordSQL="SELECT PrivatePasswordHash, UserPasswordHash FROM ChatUsers WHERE Jid=?";
523            if (domain.equals(XMPPServer.getInstance().getServerInfo().getXMPPDomain())) {
524                username = username.substring(0, index);
525            } else {
592     *
593     * @param username the username.
594     */
UserServiceController.java https://bitbucket.org/belinskiy/openfire4v2.git | Java | 543 lines
118            if (userEntity.getUsername() != null) {
119                if (!userEntity.getUsername().equals(username)) {
120                    JustMarriedController.changeName(username, userEntity.getUsername(), true, userEntity.getEmail(),
400     *
401     * @param username the username
402     * @param groupName the group name
444     *
445     * @param username the username
446     * @param groupName the group name
471    public UserEntities getUserEntitiesByProperty(String propertyKey, String propertyValue) throws ServiceException {
472        List<String> usernames = PropertyDAO.getUsernameByProperty(propertyKey, propertyValue);
473        List<UserEntity> users = new ArrayList<UserEntity>();
475
476        for (String username : usernames) {
477            users.add(getUserEntity(username));
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21