PageRenderTime 3093ms queryTime 265ms sortTime 1346ms getByIdsTime 223ms findMatchingLines 30ms

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

Not the results you expected?
HttpDownloader.java https://gitlab.com/jnettome/AntennaPod | Java | 306 lines
                    
88                }
                    
89            } else if (!StringUtils.isEmpty(request.getUsername()) && request.getPassword() != null) {
                    
90                String credentials = encodeCredentials(request.getUsername(), request.getPassword(),
                    
128                    }
                    
129                } else if (!StringUtils.isEmpty(request.getUsername()) && request.getPassword() != null) {
                    
130                    String credentials = encodeCredentials(request.getUsername(), request.getPassword(),
                    
294
                    
295    public static String encodeCredentials(String username, String password, String charset) {
                    
296        try {
                    
296        try {
                    
297            String credentials = username + ":" + password;
                    
298            byte[] bytes = credentials.getBytes(charset);
                    
                
PjSipAccount.java https://bitbucket.org/bohlooli/csipsimple2.git | Java | 366 lines
                    
154
                    
155		if(profile.username != null || profile.data != null) {
                    
156			cfg.setCred_count(1);
                    
162			if(profile.username != null) {
                    
163				cred_info.setUsername(pjsua.pj_str_copy(profile.username));
                    
164			}
                    
                
FriendsToApprovalList.ascx.cs https://bitbucket.org/kudutest/kenticogit.git | C# | 355 lines
                    
141            gridElem.OnExternalDataBound += gridElem_OnExternalDataBound;
                    
142            gridElem.OrderBy = "UserName";
                    
143            gridElem.IsLiveSite = IsLiveSite;
                    
310
                    
311            case "formattedusername":
                    
312                return HTMLHelper.HTMLEncode(Functions.GetFormattedUserName(Convert.ToString(parameter), this.IsLiveSite));
                    
                
sqlsrv_driver.php https://gitlab.com/lisit1003/TTPHPServer | PHP | 599 lines
                    
61		$connection = array(
                    
62			'UID'				=> empty($this->username) ? '' : $this->username,
                    
63			'PWD'				=> empty($this->password) ? '' : $this->password,
                    
69		
                    
70		// If the username and password are both empty, assume this is a 
                    
71		// 'Windows Authentication Mode' connection.
                    
                
http_util.h https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C Header | 320 lines
                    
32  // made up of the protocol, host, [port], path, [query]. Everything else
                    
33  // is stripped (username, password, reference).
                    
34  static std::string SpecForRequest(const GURL& url);
                    
                
init.pp https://bitbucket.org/tmakinen/puppet.git | Puppet | 445 lines
                    
102#     $samba_join_user:
                    
103#         Username to use when joining to domain. Only used when $auth is
                    
104#         set to domain.
                    
                
vs-azure-tools-cloud-service-publish-set-up-required-services-in-visual-studio.md https://gitlab.com/yeah568/azure-content | Markdown | 155 lines
                    
40
                    
411. If you haven't signed in, sign in with your username and password for the Microsoft account or organizational account that's associated with your Azure subscription.
                    
42
                    
                
HRExpenseAccountModelImpl.java https://github.com/stevenjiancao/liferay-plugins.git | Java | 485 lines
                    
174	public void setUserName(String userName) {
                    
175		_userName = userName;
                    
176	}
                    
266		hrExpenseAccountImpl.setUserId(getUserId());
                    
267		hrExpenseAccountImpl.setUserName(getUserName());
                    
268		hrExpenseAccountImpl.setCreateDate(getCreateDate());
                    
344
                    
345		hrExpenseAccountCacheModel.userName = getUserName();
                    
346
                    
346
                    
347		String userName = hrExpenseAccountCacheModel.userName;
                    
348
                    
348
                    
349		if ((userName != null) && (userName.length() == 0)) {
                    
350			hrExpenseAccountCacheModel.userName = null;
                    
                
UserManager.java https://bitbucket.org/Lloir/miragebase.git | Java | 371 lines
                    
67     */
                    
68    public String getUserName() {
                    
69        try {
                    
243     */
                    
244    public void setUserName(int userHandle, String name) {
                    
245        try {
                    
245        try {
                    
246            mService.setUserName(userHandle, name);
                    
247        } catch (RemoteException re) {
                    
                
active-directory-aadconnect-user-signin.md https://gitlab.com/yeah568/azure-content | Markdown | 149 lines
                    
74
                    
75The UPN of the user is of the format username@domai. For example, for an active directory contoso.com user John might have UPN john@contoso.com. The UPN of the user is based on RFC 822. Although UPN and email share the same format, the value of UPN for a user may or may not be equal to the email address of the user.
                    
76
                    
                
active-directory-saas-performancecentre-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 328 lines
                    
91For single sign-on to work, Azure AD needs to know what the counterpart user in PerformanceCentre to an user in Azure AD is. In other words, a link relationship between an Azure AD user and the related user in PerformanceCentre needs to be established.  
                    
92This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in PerformanceCentre.
                    
93 
                    
                
editor.rb https://github.com/tilthouse/hacketyhack.git | Ruby | 456 lines
                    
233        glossb "Upload", :width => 70, :top => 2, :left => 0 do
                    
234          if HH::PREFS['username'].nil?
                    
235            alert("To upload, first connect your account on hackety-hack.com by clicking Preferences near the bottom left of the window.")
                    
236          else
                    
237            hacker = Hacker.new :username => HH::PREFS['username'], :password => HH::PREFS['password']
                    
238            hacker.save_program_to_the_cloud(script[:name].to_slug, @str) do |response|
                    
                
mysql.php https://github.com/AvinashMudunuri/Modernize.git | PHP | 438 lines
                    
57	var $database;
                    
58	var $username;
                    
59	var $password;
                    
84		if( $UID ) {
                    
85			$this->username = $UID;
                    
86		}
                    
87		elseif( preg_match("/uid=([^;]+);/",  $ConnectionString, $ret) ) {
                    
88			$this->username = $ret[1];
                    
89		}
                    
100	{
                    
101	  $this->connectionId = mysql_connect($this->hostname, $this->username, $this->password);
                    
102		if (isset($this->connectionId) && $this->connectionId && is_resource($this->connectionId))
                    
                
sender.php https://gitlab.com/alexprowars/bitrix | PHP | 594 lines
                    
514
                    
515		$userNameFormated = \CUser::formatName(\CSite::getNameFormat(), $userData, true, false);
                    
516
                    
522				{
                    
523					$mailboxName = trim($mailbox['USERNAME']) ?: trim($mailbox['OPTIONS']['name']) ?: $userNameFormated;
                    
524
                    
537		{
                    
538			$key = hash('crc32b', mb_strtolower($userNameFormated).$crmAddress->getEmail());
                    
539
                    
540			$mailboxes[$userId][$key] = array(
                    
541				'name'  => $crmAddress->getName() ?: $userNameFormated,
                    
542				'email' => $crmAddress->getEmail(),
                    
560		{
                    
561			$item['NAME']  = trim($item['NAME']) ?: $userNameFormated;
                    
562			$item['EMAIL'] = mb_strtolower($item['EMAIL']);
                    
                
WebView.java https://github.com/JTroniks/CyanogenMod-7.git | Java | 147 lines
                    
43public  void savePassword(java.lang.String host, java.lang.String username, java.lang.String password) { throw new RuntimeException("Stub!"); }
                    
44public  void setHttpAuthUsernamePassword(java.lang.String host, java.lang.String realm, java.lang.String username, java.lang.String password) { throw new RuntimeException("Stub!"); }
                    
45public  java.lang.String[] getHttpAuthUsernamePassword(java.lang.String host, java.lang.String realm) { throw new RuntimeException("Stub!"); }
                    
                
edit_entry_handler.php https://github.com/jessfishenden/mrbs-mcr.git | PHP | 465 lines
                    
56
                    
57if (!getWritable($create_by, getUserName()))
                    
58{
                    
423  {
                    
424    mrbsDelEntry(getUserName(), $id, ($edit_type == "series"), 1);
                    
425  }
                    
                
MediaPlace.php https://github.com/soverc/writehive_server.git | PHP | 436 lines
                    
64		
                    
65		public function login($_username, $_password)
                    
66		{
                    
67
                    
68			$_userSql = "SELECT * FROM `user` WHERE display_name = '".$this->__sanitize($_username)."' AND (passwd = PASSWORD('".addslashes($_password)."') OR passwd = MD5(SHA1('".addslashes($_password)."')))";
                    
69			$_user = $this->_dbx->query($_userSql);
                    
                
TarOutputStream.cs https://github.com/acken/mono.git | C# | 428 lines
                    
258				longHeader.GroupName = "";
                    
259				longHeader.UserName = "";
                    
260				longHeader.LinkName = "";
                    
                
devise.rb https://gitlab.com/xenetics/services-website | Ruby | 263 lines
                    
29  # Configure which keys are used when authenticating a user. The default is
                    
30  # just :email. You can configure it to use [:username, :subdomain], so for
                    
31  # authenticating a user, both parameters are required. Remember that those
                    
                
main.py https://github.com/mikea/appengine-mapreduce.git | Python | 404 lines
                    
95  @staticmethod
                    
96  def getLastKeyForUser(username):
                    
97    """Helper function that returns the last possible key a user could own.
                    
101    Args:
                    
102      username: The given user's e-mail address.
                    
103    Returns:
                    
124    Returns:
                    
125      The internal key for the item specified by (username, date, blob_key).
                    
126    """
                    
128    sep = FileMetadata.__SEP
                    
129    return str(username + sep + str(date) + sep + blob_key)
                    
130
                    
154    self.response.out.write(template.render("templates/index.html",
                    
155                                            {"username" : username,
                    
156                                             "items" : items,
                    
                
ongage-custom-sender.php https://gitlab.com/itinarraylab/ongage-custom-sender | PHP | 382 lines
                    
149            && self::getOption('esp_id')
                    
150            && self::getOption('username')
                    
151            && self::getOption('password')
                    
167        $settings['password'] = self::getOption('password');
                    
168        $settings['username'] = self::getOption('username');
                    
169        $settings['type'] = self::getOption('type', 'email');
                    
                
Kubernetes.groovy https://gitlab.com/CORP-RESELLER/kubernetes-pipeline-plugin | Groovy | 358 lines
                    
210            this.timeout = timeout
                    
211            this.username = username
                    
212            this.password = password
                    
248            kubernetes.node {
                    
249                kubernetes.script.buildImage(name: name, rm: rm, path: path, timeout: timeout, username: username, password: password, email: email, ignorePatterns: ignorePatterns)
                    
250            }
                    
318            this.timeout = timeout
                    
319            this.username = username
                    
320            this.password = password
                    
335
                    
336        PushImage withUsername(String username) {
                    
337            return new PushImage(kubernetes, name, tagName, timeout, username, password, email)
                    
349            kubernetes.node {
                    
350                kubernetes.script.pushImage(name: name, tagName: tagName, timeout: timeout, registry: registry, username: username, password: password, email: email)
                    
351            }
                    
                
gemini_install.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 326 lines
                    
279            subprocess.check_call(sudo_cmd + ["mkdir", "-p", dname])
                    
280            username = subprocess.check_output("echo $USER", shell=True).strip()
                    
281            subprocess.check_call(sudo_cmd + ["chown", username, dname])
                    
                
follow_run.htm https://gitlab.com/wuhang2003/phpwind | HTML | 338 lines
                    
41							<dl class="cc J_friends_items">
                    
42								<dt><a href="{@url:space/index/run?uid=$value['touid']}" data-uid="{$value['touid']}" class="J_user_card_show"><img class="J_avatar" src="{@Pw::getAvatar($value['touid'], 'small')}" data-type="small" width="50" height="50" alt="{$value['username']}" /></a><a href="{@url:message/message/pop?username=$value['username']}" data-name="{$value['username']}" class="called J_send_msg_pop">打招呼</a></dt>
                    
43								<dd>
                    
44									<div class="title">
                    
45										<a href="{@url:space/index/run?uid=$value['touid']}" data-uid="{$value['touid']}" class="name J_user_card_show">{$value['username']}</a>
                    
46										<!--# $gender = $value['gender'] == 1 ? 'women' : 'man';
                    
82								<!--# foreach ($recommend as $value) { #-->
                    
83								<li><a data-uid="{$value['uid']}" class="J_user_card_show" href="{@url:space/index/run?uid=$value['uid']}"><img class="J_avatar" src="{@Pw::getAvatar($value['uid'], 'middle')}" data-type="middle" width="90" height="90" alt="{$value['username']}" /></a><label title="{$value['username']}"><input class="J_check" type="checkbox" name="uids[]" value="{$value['uid']}">{$value['username']}</label></li>
                    
84								<!--# } #-->
                    
                
en.html https://github.com/mrnbrkt/asciicasts.com-translations.git | HTML | 194 lines
                    
77    &lt;p&gt;
                    
78      &lt;strong&gt;&lt;%=h user.username %&gt;&lt;/strong&gt;
                    
79      &lt;%= link_to &quot;Add Friend&quot;, friendships_path(:friend_id =&gt; user), :method =&gt; :post %&gt;
                    
106&lt;% title &quot;My Profile&quot; %&gt;
                    
107&lt;p&gt;Username: &lt;%=h @user.username %&gt;&lt;/p&gt;
                    
108&lt;p&gt;&lt;%= link_to &quot;Find Friends&quot;, users_path %&gt;&lt;/p&gt;
                    
114  &lt;% for user in @user.friends %&gt;
                    
115  &lt;li&gt;&lt;%= h. user.username %&gt;&lt;/li&gt;
                    
116  &lt;% end %&gt;  
                    
134  &lt;li&gt;
                    
135    &lt;%= h friendship.friend.username %&gt;
                    
136    (&lt;%= link_to &quot;remove&quot;, friendship, :method =&gt; :delete %&gt;)
                    
140</pre>
                    
141<p>We can now get each friend&rsquo;s name by using <code>friendship.friend.username</code> and create our delete link by passing the friendship as a parameter to the link and telling it to use DELETE as the method so that it will call the <code>destroy</code> action.</p>
                    
142
                    
                
user_agent.php https://bitbucket.org/valmy/openx.git | PHP | 333 lines
                    
37        var $_proxy = false;
                    
38        var $_proxy_username = false;
                    
39        var $_proxy_password = false;
                    
167         *    @param string $proxy        Proxy URL.
                    
168         *    @param string $username     Proxy username for authentication.
                    
169         *    @param string $password     Proxy password for authentication.
                    
171         */
                    
172        function useProxy($proxy, $username, $password) {
                    
173            if (! $proxy) {
                    
180            $this->_proxy = &new SimpleUrl($proxy);
                    
181            $this->_proxy_username = $username;
                    
182            $this->_proxy_password = $password;
                    
198         *    @param string $realm       Full name of realm.
                    
199         *    @param string $username    Username for realm.
                    
200         *    @param string $password    Password for realm.
                    
                
style.css https://github.com/WeMake-IT/Hosting-Service.git | CSS | 235 lines
                    
197
                    
198.form_username {
                    
199    background-color: #eeeeee;
                    
200    border: 1px solid #333333;
                    
201    background-image: url(images/username.gif);
                    
202    background-repeat: no-repeat;
                    
                
URLFileSystemBrowser.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 204 lines
                    
44
                    
45	private static final String USERNAME_PREFIX = Messages.UrlConnectionRetrieveFileTransfer_USERNAME_PROMPT;
                    
46
                    
60
                    
61	protected String username = null;
                    
62
                    
177			return;
                    
178		final NameCallback usernameCallback = new NameCallback(USERNAME_PREFIX);
                    
179		final ObjectCallback passwordCallback = new ObjectCallback();
                    
179		final ObjectCallback passwordCallback = new ObjectCallback();
                    
180		// Call callback with username and password callbacks
                    
181		callbackHandler.handle(new Callback[] {usernameCallback, passwordCallback});
                    
181		callbackHandler.handle(new Callback[] {usernameCallback, passwordCallback});
                    
182		username = usernameCallback.getName();
                    
183		Object o = passwordCallback.getObject();
                    
                
PostgresAdapter.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 271 lines
                    
49 *      postgres.cayenne.adapter = org.apache.cayenne.dba.postgres.PostgresAdapter
                    
50 *      postgres.jdbc.username = test
                    
51 *      postgres.jdbc.password = secret
                    
                
style.css https://github.com/williamswebworks/DraftApp.git | CSS | 404 lines
                    
188					
                    
189					#currentPickBox p.userName, #onDeckBox p.userName {
                    
190					font-size:1.5em;
                    
                
zsh.vim https://github.com/Brijen/macvim.git | Vim Script | 213 lines
                    
96  syn match zshLongDeref        '\$\%(MACHTYPE\|OLDPWD OPTARG\|OPTIND\|OSTYPE\|PPID\|PWD\|RANDOM\|SECONDS\|SHLVL\|signals\)'
                    
97  syn match zshLongDeref        '\$\%(TRY_BLOCK_ERROR\|TTY\|TTYIDLE\|UID\|USERNAME\|VENDOR\|ZSH_NAME\|ZSH_VERSION\|REPLY\|reply\|TERM\)'
                    
98endif
                    
                
UserList.as https://bitbucket.org/nidinthb/clink_virtual_classroom.git | ActionScript | 497 lines
                    
46		
                    
47		private var _usernameList:Array;
                    
48		private var _listItemList:Array;
                    
211		{
                    
212			var username:String = _userSO.getProperty("username",slot) as String;
                    
213			var permission:String = _userSO.getProperty("userPermission",slot) as String
                    
214			
                    
215			//remove the slot.toString() back to only username after testing is complete
                    
216			var uli:UserListItem = new UserListItem(username/* +slot.toString()*/,_configInfo,_userSO,_configInfo.userPermission,slot,true);
                    
217			
                    
218			//create the label using the username and slot number so we always have a unique label
                    
219			_userScrollList.addListItem(uli,username + slot.toString());
                    
                
class-wp-ms-users-list-table.php https://gitlab.com/webkod3r/tripolis | PHP | 460 lines
                    
167			'cb'         => '<input type="checkbox" />',
                    
168			'username'   => __( 'Username' ),
                    
169			'name'       => __( 'Name' ),
                    
178		 *
                    
179		 * @param array $users_columns An array of user columns. Default 'cb', 'username',
                    
180		 *                             'name', 'email', 'registered', 'blogs'.
                    
190		return array(
                    
191			'username'   => 'login',
                    
192			'name'       => 'name',
                    
228	/**
                    
229	 * Handles the username column output.
                    
230	 *
                    
235	 */
                    
236	public function column_username( $user ) {
                    
237		$super_admins = get_super_admins();
                    
                
SlackHandler.php https://gitlab.com/judielsm/Handora | PHP | 293 lines
                    
40     */
                    
41    private $username;
                    
42
                    
74     * @param string      $channel                Slack channel (encoded ID or name)
                    
75     * @param string      $username               Name of a bot
                    
76     * @param bool        $useAttachment          Whether the message should be added to Slack as attachment (plain text otherwise)
                    
82     */
                    
83    public function __construct($token, $channel, $username = 'Monolog', $useAttachment = true, $iconEmoji = null, $level = Logger::CRITICAL, $bubble = true, $useShortAttachment = false, $includeContextAndExtra = false)
                    
84    {
                    
92        $this->channel = $channel;
                    
93        $this->username = $username;
                    
94        $this->iconEmoji = trim($iconEmoji, ':');
                    
139            'channel'     => $this->channel,
                    
140            'username'    => $this->username,
                    
141            'text'        => '',
                    
                
login_database_unittest.cc https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C++ | 283 lines
                    
51  form.action = GURL("http://www.google.com/accounts/Login");
                    
52  form.username_element = ASCIIToUTF16("Email");
                    
53  form.username_value = ASCIIToUTF16("test@gmail.com");
                    
182  form.origin = GURL(url + std::string("/LoginAuth"));
                    
183  form.username_element = ASCIIToUTF16(unique_string);
                    
184  form.username_value = ASCIIToUTF16(unique_string);
                    
259  form.action = GURL("http://www.google.com/accounts/Login");
                    
260  form.username_element = ASCIIToUTF16("Email");
                    
261  form.password_element = ASCIIToUTF16("Passwd");
                    
                
Nirvanix.php https://github.com/Doap/iCms---intelligent-Content-management-system.git | PHP | 399 lines
                    
35{
                    
36    const USERNAME         = 'auth_username';
                    
37    const PASSWORD         = 'auth_password';
                    
67        $auth = array(
                    
68            'username' => $options[self::USERNAME],
                    
69            'password' => $options[self::PASSWORD],
                    
                
LoginViewController.m https://gitlab.com/M.Umair/nextdoor | Objective C | 282 lines
                    
152//    [self.navigationController pushViewController:userLogin animated:YES];
                    
153    if ( ([_txt_username.text length] != 0) && ([_txt_password.text length] != 0)){
                    
154    
                    
159    
                    
160    NSDictionary *paramDict = [NSDictionary dictionaryWithObjectsAndKeys:_txt_username.text,@"username",
                    
161                               _txt_password.text,@"password",
                    
                
email-inline.scss https://gitlab.com/vincent.perdereau/picandparts | Sass | 679 lines
                    
341}
                    
342// Highlight information like username/password
                    
343.highlighted-text {
                    
                
event.rb https://gitlab.com/alexkeramidas/gitlab-ce | Ruby | 403 lines
                    
43
                    
44  delegate :name, :email, :public_email, :username, to: :author, prefix: true, allow_nil: true
                    
45  delegate :title, to: :issue, prefix: true, allow_nil: true
                    
                
POP35.php https://github.com/ECP-Black/ECP.git | PHP | 365 lines
                    
66		}
                    
67		if (!is_string($user)) $err[] = 'invalid username type';
                    
68		else if (($user = FUNC5::str_clear($user)) == '') $err[] = 'invalid username value';
                    
103		if (!is_resource($conn)) $err[] = 'invalid resource connection';
                    
104		if (!is_string($user)) $err[] = 'invalid username type';
                    
105		else if (($user = FUNC5::str_clear($user)) == '') $err[] = 'invalid username value';
                    
                
index.md https://gitlab.com/gitlab-r2devops/gitlab-foss | Markdown | 430 lines
                    
105
                    
106#### Package without a username and a channel
                    
107
                    
111to distinguish your package from a similarly named existing package,
                    
112the username and channel are not mandatory fields for a Conan package.
                    
113
                    
113
                    
114You can create a package without a username and channel by removing them from
                    
115the `create` command:
                    
234```shell
                    
235conan user <gitlab_username or deploy_token_username> -r gitlab -p <personal_access_token or deploy_token>
                    
236```
                    
264```shell
                    
265`CONAN_LOGIN_USERNAME=<gitlab_username or deploy_token_username> CONAN_PASSWORD=<personal_access_token or deploy_token> <conan command> --remote=gitlab
                    
266```
                    
                
dailymotion.py https://gitlab.com/vitalii.dr/yt-dlp | Python | 389 lines
                    
56                }
                    
57                username, password = self._get_login_info()
                    
58                if username:
                    
61                        'password': password,
                    
62                        'username': username,
                    
63                    })
                    
75                    raise
                    
76                self._set_dailymotion_cookie('access_token' if username else 'client_token', token)
                    
77            self._HEADERS['Authorization'] = 'Bearer ' + token
                    
                
models.py https://github.com/kawazrepos/Kommonz.git | Python | 255 lines
                    
37            user = request.user
                    
38        path = os.path.join(MATERIAL_FILE_PATH, user.username, filename)
                    
39        path = default_storage.get_available_name(path) # dirname will not duplicate.
                    
                
class.smtp.php https://github.com/nils-werner/symphony-2.git | PHP | 496 lines
                    
55		 *  	$options['secure'] can be ssl, tls or null.
                    
56		 *  	$options['username'] the username used to login to the server. Leave empty for no authentication.
                    
57		 *  	$options['password'] the password used to login to the server. Leave empty for no authentication.
                    
94			
                    
95			if(($options['username'] !== null) && ($options['password'] !== null)){
                    
96				$this->_user = $options['username'];
                    
                
package.html https://bitbucket.org/molequedeideias/wonder.git | HTML | 205 lines
                    
25prototype "EORESTPrototypes" and select the Adaptor "REST".</li>
                    
26	<li>In the URL, enter "http://beast.caboo.se" and leave the username and password 
                    
27blank (currently JavaRESTAdaptor does not support HTTP authentication).</li>
                    
                
constants.php https://github.com/naderman/phpbb-orchestra.git | PHP | 282 lines
                    
64define('LOGIN_SUCCESS_CREATE_PROFILE', 20);
                    
65define('LOGIN_ERROR_USERNAME', 10);
                    
66define('LOGIN_ERROR_PASSWORD', 11);
                    
                
android.c https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C | 673 lines
                    
284{
                    
285	const char *username = NULL;
                    
286	char *end = NULL;
                    
296			if (android_ids[n].aid == appid) {
                    
297				username = android_ids[n].name;
                    
298				break;
                    
300		}
                    
301		if (!username)
                    
302			goto err;
                    
303	} else if (appid < AID_ISOLATED_START) {
                    
304		username = "app_";
                    
305		appid -= AID_APP;
                    
306	} else {
                    
307		username = "isolated";
                    
308		appid -= AID_ISOLATED_START;
                    
                
test_nifty_authentication_generator.rb https://github.com/loucal/nifty-generators.git | Ruby | 274 lines
                    
224          assert_match "class CreateAccounts", body
                    
225          assert_match "t.string :username", body
                    
226          assert_match "t.string :email", body
                    
                
acp_bots.php https://github.com/naderman/phpbb-orchestra.git | PHP | 418 lines
                    
183					{
                    
184						$sql = 'SELECT u.username_clean
                    
185							FROM ' . BOTS_TABLE . ' b, ' . USERS_TABLE . " u
                    
197						{
                    
198							$bot_name = $row['username_clean'];
                    
199						}
                    
227								'group_id'				=> (int) $group_row['group_id'],
                    
228								'username'				=> (string) $bot_row['bot_name'],
                    
229								'user_regdate'			=> time(),
                    
269							{
                    
270								$sql_ary['username'] = (string) $bot_row['bot_name'];
                    
271								$sql_ary['username_clean'] = (string) utf8_clean_string($bot_row['bot_name']);
                    
284
                    
285							// Updated username?
                    
286							if ($bot_row['bot_name'] !== $row['bot_name'])
                    
                
class-wc-api-customers.php https://gitlab.com/webkod3r/tripolis | PHP | 504 lines
                    
147			'last_name'        => $customer->last_name,
                    
148			'username'         => $customer->user_login,
                    
149			'last_order_id'    => is_object( $last_order ) ? $last_order->id : null,
                    
                
authorization_test.rb https://github.com/ghar/rails.git | Ruby | 248 lines
                    
58
                    
59  def test_authorization_header_with_username_but_no_password
                    
60    @conn = ActiveResource::Connection.new("http://david:@localhost")
                    
67
                    
68  def test_authorization_header_with_password_but_no_username
                    
69    @conn = ActiveResource::Connection.new("http://:test123@localhost")
                    
85
                    
86  def test_authorization_header_explicitly_setting_username_and_password
                    
87    @authenticated_conn = ActiveResource::Connection.new("http://@localhost")
                    
97
                    
98  def test_authorization_header_explicitly_setting_username_but_no_password
                    
99    @conn = ActiveResource::Connection.new("http://@localhost")
                    
107
                    
108  def test_authorization_header_explicitly_setting_password_but_no_username
                    
109    @conn = ActiveResource::Connection.new("http://@localhost")
                    
                
helpers.rb https://gitlab.com/alexkeramidas/gitlab-ce | Ruby | 499 lines
                    
59    def save_current_user_in_env(user)
                    
60      env[API_USER_ENV] = { user_id: user.id, username: user.username }
                    
61    end
                    
100      else
                    
101        User.find_by(username: id)
                    
102      end
                    
455      sudoed_user = find_user(sudo_identifier)
                    
456      not_found!("User with ID or username '#{sudo_identifier}'") unless sudoed_user
                    
457
                    
                
index.php https://github.com/websupport/moodle.git | PHP | 350 lines
                    
102    if ($user) {
                    
103        $frm->username = $user->username;
                    
104    } else {
                    
115
                    
116    $frm->username = trim(moodle_strtolower($frm->username));
                    
117
                    
118    if (is_enabled_auth('none') ) {
                    
119        if ($frm->username !== clean_param($frm->username, PARAM_USERNAME)) {
                    
120            $errormsg = get_string('username').': '.get_string("invalidusername");
                    
185
                    
186        } else if (empty($CFG->rememberusername) or ($CFG->rememberusername == 2 and empty($frm->rememberusername))) {
                    
187            // no permanent cookies, delete old one if exists
                    
303    if (!empty($_GET["username"])) {
                    
304        $frm->username = clean_param($_GET["username"], PARAM_RAW); // we do not want data from _POST here
                    
305    } else {
                    
                
active-directory-saas-insperityexpensable-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 272 lines
                    
90For single sign-on to work, Azure AD needs to know what the counterpart user in Insperity ExpensAble to an user in Azure AD is. In other words, a link relationship between an Azure AD user and the related user in Insperity ExpensAble needs to be established.  
                    
91This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in Insperity ExpensAble.
                    
92
                    
                
active-directory-saas-beeline-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 276 lines
                    
91For single sign-on to work, Azure AD needs to know what the counterpart user in Beeline is to a user in Azure AD. In other words, a link relationship between an Azure AD user and the related user in Beeline needs to be established.
                    
92This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in Beeline.
                    
93
                    
                
active-directory-saas-kindling-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 294 lines
                    
91For single sign-on to work, Azure AD needs to know what the counterpart user in Kindling to an user in Azure AD is. In other words, a link relationship between an Azure AD user and the related user in Kindling needs to be established.  
                    
92This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in Kindling.
                    
93 
                    
                
ApplicationDbContext.cs https://gitlab.com/pavel.ivanov/JP | C# | 277 lines
                    
62                {
                    
63                    UserName = s,
                    
64                    Email = s,
                    
                
ConfirmForgotPasswordRequest.java https://gitlab.com/github-cloud-corp/aws-sdk-android | Java | 478 lines
                    
248     */
                    
249    public void setUsername(String username) {
                    
250        this.username = username;
                    
419        if (getUsername() != null)
                    
420            sb.append("Username: " + getUsername() + ",");
                    
421        if (getConfirmationCode() != null)
                    
435        hashCode = prime * hashCode + ((getSecretHash() == null) ? 0 : getSecretHash().hashCode());
                    
436        hashCode = prime * hashCode + ((getUsername() == null) ? 0 : getUsername().hashCode());
                    
437        hashCode = prime * hashCode
                    
462            return false;
                    
463        if (other.getUsername() == null ^ this.getUsername() == null)
                    
464            return false;
                    
464            return false;
                    
465        if (other.getUsername() != null && other.getUsername().equals(this.getUsername()) == false)
                    
466            return false;
                    
                
UriInterface.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 323 lines
                    
74     *
                    
75     * @return string The URI user information, in "username[:password]" format.
                    
76     */
                    
                
index.js https://github.com/c4milo/skywriter.git | JavaScript | 408 lines
                    
159                    var pr = loginController.showLogin();
                    
160                    pr.then(function(username) {
                    
161                        // Add the username as constructor argument.
                    
161                        // Add the username as constructor argument.
                    
162                        config.objects.session.arguments.push(username);
                    
163
                    
                
HRUserProjectModelImpl.java https://github.com/stevenjiancao/liferay-plugins.git | Java | 501 lines
                    
167	public void setUserName(String userName) {
                    
168		_userName = userName;
                    
169	}
                    
273		hrUserProjectImpl.setUserId(getUserId());
                    
274		hrUserProjectImpl.setUserName(getUserName());
                    
275		hrUserProjectImpl.setCreateDate(getCreateDate());
                    
347
                    
348		hrUserProjectCacheModel.userName = getUserName();
                    
349
                    
349
                    
350		String userName = hrUserProjectCacheModel.userName;
                    
351
                    
351
                    
352		if ((userName != null) && (userName.length() == 0)) {
                    
353			hrUserProjectCacheModel.userName = null;
                    
                
view_category_question.jsp https://github.com/l15k4/liferay-plugins.git | JavaServer Pages | 352 lines
                    
227						<c:otherwise>
                    
228							<%= HtmlUtil.escape(PortalUtil.getUserName(message.getUserId(), message.getUserName())) %>
                    
229						</c:otherwise>
                    
296						<%
                    
297						String lastPostByUserName = HtmlUtil.escape(PortalUtil.getUserName(thread.getLastPostByUserId(), StringPool.BLANK));
                    
298
                    
298
                    
299						if (Validator.isNull(lastPostByUserName)) {
                    
300							lastPostByUserName = LanguageUtil.get(pageContext, "anonymous");
                    
303
                    
304						<%= lastPostByUserName %>
                    
305					</div>
                    
                
MySubscriptions.ascx.cs https://bitbucket.org/kudutest/kenticogit.git | C# | 494 lines
                    
203
                    
204            this.userIsIdentified = (ui != null) && (!ui.IsPublic()) && (ValidationHelper.IsEmail(ui.Email) || ValidationHelper.IsEmail(ui.UserName));
                    
205            if (this.userIsIdentified)
                    
242                    }
                    
243                    else if (ValidationHelper.IsEmail(ui.UserName))
                    
244                    {
                    
244                    {
                    
245                        subscriberEmail = ui.UserName;
                    
246                    }
                    
344            // Create new subsciber (bind to existing user account)
                    
345            if ((!ui.IsPublic()) && (ValidationHelper.IsEmail(ui.Email) || ValidationHelper.IsEmail(ui.UserName)))
                    
346            {
                    
                
KaleoNotificationRecipientWrapper.java https://github.com/l15k4/liferay-plugins.git | Java | 407 lines
                    
159	*/
                    
160	public java.lang.String getUserName() {
                    
161		return _kaleoNotificationRecipient.getUserName();
                    
166	*
                    
167	* @param userName the user name of this kaleo notification recipient
                    
168	*/
                    
168	*/
                    
169	public void setUserName(java.lang.String userName) {
                    
170		_kaleoNotificationRecipient.setUserName(userName);
                    
                
Smtp.php https://github.com/sgtcarneiro/horde.git | PHP | 355 lines
                    
133     *             DEFAULT: NONE
                    
134     * 'username' - (string) The username to use for SMTP auth.
                    
135     *              DEFAULT: NONE
                    
149            'timeout' => null,
                    
150            'username' => ''
                    
151        ), $params);
                    
300
                    
301            $res = $this->_smtp->auth($this->_params['username'], $this->_params['password'], $method);
                    
302            if ($res instanceof PEAR_Error) {
                    
                
ManagedRepositoryITest.java https://github.com/ximenesuk/openmicroscopy.git | Java | 346 lines
                    
118        EventContext ec = new EventContext();
                    
119        ec.userName = "";
                    
120        ec.userId = -1L;
                    
207    @Test
                    
208    public void testExpandTemplateUserName() {
                    
209        String expected = "user-1";
                    
210        EventContext ecStub = newEventContext();
                    
211        ecStub.userName = expected;
                    
212        String actual = this.tmri.expandTemplate("%user%", ecStub);
                    
                
installer.pm https://bitbucket.org/droidzone/i-mscp.git | Perl | 573 lines
                    
165	) {
                    
166		# Ask for the phpmyadmin restricted SQL username
                    
167		do{
                    
168			($rs, $dbUser) = iMSCP::Dialog->factory()->inputbox(
                    
169				"\nPlease enter an username for the restricted phpmyadmin SQL user:", $dbUser
                    
170			);
                    
                
authentication.php https://bitbucket.org/sammousa/valuematchbv-ls2.git | PHP | 379 lines
                    
92        {
                    
93            $sUserName = Yii::app()->request->getPost('user');
                    
94            $sEmailAddr = Yii::app()->request->getPost('email');
                    
95
                    
96            $aFields = User::model()->findAllByAttributes(array('users_name' => $sUserName, 'email' => $sEmailAddr));
                    
97
                    
99            {
                    
100                // wrong or unknown username and/or email
                    
101                $aData['errormsg'] = $this->getController()->lang->gT('User name and/or email not found!');
                    
128
                    
129        $username = sprintf($clang->gT('Username: %s'), $aFields[0]['users_name']);
                    
130        $email    = sprintf($clang->gT('Email: %s'), $sEmailAddr);
                    
246    * Note: This function is replicated in parts in remotecontrol.php controller - if you change this don't forget to make according changes there, too (which is why we should make a login helper)
                    
247    * @param string $sUsername The username to login with
                    
248    * @param string $sPassword The password to login with
                    
                
active-directory-saas-tableauserver-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 342 lines
                    
93
                    
94This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in Tableau Server.
                    
95
                    
128
                    
129	b. In the **Attrubute Name** textbox, type **username**.
                    
130
                    
277
                    
278The objective of this section is to create a user called Britta Simon in Tableau Server. You need to provision all the users in the Tableau server. Also note that username of the user should match the value which you have configured in the Azure AD custom attribute of **username**. With the correct mapping the integration should work [Configuring Azure AD Single Sign-On](#configuring-azure-ad-single-single-sign-on).
                    
279
                    
                
edit_task.jsp https://github.com/l15k4/liferay-plugins.git | JavaServer Pages | 281 lines
                    
93					<c:if test="<%= (tasksEntry != null) && (assigneeUserId > 0) && (assigneeUserId != user.getUserId()) %>">
                    
94						<option selected value="<%= assigneeUserId %>"><%= PortalUtil.getUserName(assigneeUserId, tasksEntry.getAssigneeFullName()) %></option>
                    
95					</c:if>
                    
                
simpletest.php https://github.com/keiouu/Evelite.git | PHP | 391 lines
                    
123     *    @param string $proxy     Proxy host as URL.
                    
124     *    @param string $username  Proxy username for authentication.
                    
125     *    @param string $password  Proxy password for authentication.
                    
126     */
                    
127    static function useProxy($proxy, $username = false, $password = false) {
                    
128        $registry = &SimpleTest::getRegistry();
                    
129        $registry['DefaultProxy'] = $proxy;
                    
130        $registry['DefaultProxyUsername'] = $username;
                    
131        $registry['DefaultProxyPassword'] = $password;
                    
143    /**
                    
144     *    Accessor for default proxy username.
                    
145     *    @return string    Proxy username for authentication.
                    
146     */
                    
147    static function getDefaultProxyUsername() {
                    
148        $registry = &SimpleTest::getRegistry();
                    
                
UVProfileViewController.m https://github.com/appsocial/uservoice-iphone-sdk.git | Objective C | 335 lines
                    
32@synthesize userId;
                    
33@synthesize userName;
                    
34@synthesize user;
                    
41
                    
42- (id)initWithUserId:(NSInteger)theUserId name:(NSString *)theUserName avatarUrl:(NSString *)theAvatarUrl {
                    
43	if (self = [super init]) {
                    
44		self.userId = theUserId;
                    
45		self.userName = theUserName;
                    
46		self.avatarUrl = theAvatarUrl;
                    
87	label.tag = UV_PROFILE_TAG_NAME;
                    
88	label.text = self.userName ? self.userName : @"Anonymous";
                    
89	label.font = [UIFont boldSystemFontOfSize:16];
                    
142	UILabel *label = (UILabel *)[header viewWithTag:UV_PROFILE_TAG_NAME];
                    
143	label.text = self.userName ? self.userName : @"Anonymous";
                    
144
                    
                
zsyscall_windows.go https://gitlab.com/adotout/gcc | Go | 327 lines
                    
275
                    
276func NetUserGetLocalGroups(serverName *uint16, userName *uint16, level uint32, flags uint32, buf **byte, prefMaxLen uint32, entriesRead *uint32, totalEntries *uint32) (neterr error) {
                    
277	r0, _, _ := syscall.Syscall9(procNetUserGetLocalGroups.Addr(), 8, uintptr(unsafe.Pointer(serverName)), uintptr(unsafe.Pointer(userName)), uintptr(level), uintptr(flags), uintptr(unsafe.Pointer(buf)), uintptr(prefMaxLen), uintptr(unsafe.Pointer(entriesRead)), uintptr(unsafe.Pointer(totalEntries)), 0)
                    
                
CreateAction.java https://github.com/bibulous/SkyrackJbill2.2.git | Java | 265 lines
                    
99                dto.setCompany(new CompanyDTO(entityId));
                    
100                dto.setUserName((String)userForm.get("username"));
                    
101                dto.setPassword((String)userForm.get("password"));
                    
198                    UserDTO user = myRemoteSession.getUserDTO(
                    
199                            dto.getUserName(), entityId);
                    
200                    if (user != null) {
                    
202                                new ActionError("user.create.error.taken", 
                    
203                                (String) userForm.get("username")));
                    
204                    } else {
                    
218                                new ActionError("user.create.error.taken", 
                    
219                                (String) userForm.get("username")));
                    
220                    } else if (newUserId.intValue() == -1) {
                    
                
index.cshtml https://bitbucket.org/v_jli/jean0311case1346.git | Razor | 166 lines
                    
40                        <li class="active"><a href="#profile" data-toggle="tab"><i class="icon-chevron-right"></i>Profile</a></li>
                    
41                        <li><a href="#changeUsername" data-toggle="tab"><i class="icon-chevron-right"></i>Username</a></li>
                    
42                        <li><a href="#changePassword" data-toggle="tab"><i class="icon-chevron-right"></i>Password</a></li>
                    
75                        <div class="account-details-body">
                    
76                            <form class="form-horizontal" action="@Url.Content("~/account/changeusername")#changeUsername" method="POST">
                    
77                                @Html.ValidationSummary()
                    
78                                <div class="control-group">
                    
79                                    <label class="control-label" for="username">Username</label>
                    
80                                    <div class="controls">
                    
80                                    <div class="controls">
                    
81                                        @Html.TextBox("username", "input-xlarge", "Username")
                    
82                                    </div>
                    
84                                <div class="control-group">
                    
85                                    <label class="control-label" for="confirmUsername">Confirm Username</label>
                    
86                                    <div class="controls">
                    
                
AccountUnlockScreen.java https://github.com/MIPS/frameworks-policies-base.git | Java | 347 lines
                    
103        mLogin = (EditText) findViewById(R.id.login);
                    
104        mLogin.setFilters(new InputFilter[] { new LoginFilter.UsernameFilterGeneric() } );
                    
105        mLogin.addTextChangedListener(this);
                    
220    /**
                    
221     * Given the string the user entered in the 'username' field, find
                    
222     * the stored account that they probably intended.  Prefer, in order:
                    
225     *   - a case-insensitive match for what was typed, or
                    
226     *   - if they didn't include a domain, an exact match of the username, or
                    
227     *   - if they didn't include a domain, a case-insensitive
                    
254                    String aUsername = a.name.substring(0, i);
                    
255                    if (username.equals(aUsername)) {
                    
256                        score = 2;
                    
256                        score = 2;
                    
257                    } else if (username.equalsIgnoreCase(aUsername)) {
                    
258                        score = 1;
                    
                
en.php https://github.com/masuman/elgg-1.git | PHP | 217 lines
                    
29			'dgroups:name' => 'group name',
                    
30			'dgroups:username' => 'group short name (displayed in URLs, alphanumeric characters only)',
                    
31			'dgroups:description' => 'Description',
                    
                
exploratory_testing.md https://gitlab.com/18dit020/gitlab | Markdown | 360 lines
                    
49        1. Add `akismet-guaranteed-spam@example.com` as a secondary email for the administrator user.
                    
50        1. Confirm it in the Rails console: `bin/rails c` -> `User.find_by_username('root').emails.last.confirm`
                    
51        1. Switch this verified email to be your primary email:
                    
                
rest.php https://gitlab.com/bandana/Astro-Veda | PHP | 461 lines
                    
110|
                    
111| The function should accept two parameters: class->function($username, $password)
                    
112| In other cases override the function _perform_library_auth in your controller
                    
113|
                    
114| For digest authentication the library function should return already stored md5(username:restrealm:password) for that username
                    
115|	E.g: md5('admin:REST API:1234') = '1e957ebc35631ab22d5bd6526bd14ea2'
                    
150|--------------------------------------------------------------------------
                    
151| REST Login usernames
                    
152|--------------------------------------------------------------------------
                    
153|
                    
154| Array of usernames and passwords for login, if ldap is configured this is ignored
                    
155|
                    
                
comment_view_tests.py https://github.com/theosp/google_appengine.git | Python | 294 lines
                    
116        data['name'] = data['email'] = ''
                    
117        self.client.login(username="normaluser", password="normaluser")
                    
118        self.response = self.client.post("/post/", data, REMOTE_ADDR="1.2.3.4")
                    
122        self.assertEqual(c.ip_address, "1.2.3.4")
                    
123        u = User.objects.get(username='normaluser')
                    
124        self.assertEqual(c.user, u)
                    
132        """
                    
133        user = User.objects.create_user(username='jane_other',
                    
134                email='jane@example.com', password='jane_other')
                    
137        data['name'] = data['email'] = ''
                    
138        self.client.login(username="jane_other", password="jane_other")
                    
139        self.response = self.client.post("/post/", data, REMOTE_ADDR="1.2.3.4")
                    
                
mysqli_driver.php https://gitlab.com/relacilia/cakra | PHP | 503 lines
                    
160
                    
161		if ($mysqli->real_connect($hostname, $this->username, $this->password, $this->database, $port, $socket, $client_flags))
                    
162		{
                    
                
JournalFeedLocalServiceImpl.java https://github.com/lululiferay/liferay-portal.git | Java | 411 lines
                    
84		feed.setUserId(user.getUserId());
                    
85		feed.setUserName(user.getFullName());
                    
86		feed.setCreateDate(serviceContext.getCreateDate(now));
                    
                
util.php https://gitlab.com/alexprowars/bitrix | PHP | 672 lines
                    
236			{
                    
237				$users[$i]['FORMATTED_NAME'] = \CCalendar::getUserName($users[$i]);
                    
238			}
                    
                
service.py https://bitbucket.org/jasonrglasgow/gdata.git | Python | 264 lines
                    
41
                    
42  def _serviceUrl(self, setting_id, username, domain=None):
                    
43    if domain is None:
                    
44      domain = self.domain
                    
45    return '/a/feeds/emailsettings/%s/%s/%s/%s' % (API_VER, domain, username,
                    
46                                                   setting_id)
                    
47
                    
48  def CreateLabel(self, username, label):
                    
49    """Create a label.
                    
51    Args:
                    
52      username: User to create label for.
                    
53      label: Label to create.
                    
57    """
                    
58    uri = self._serviceUrl('label', username)
                    
59    properties = {'label': label}
                    
                
__init__.py https://github.com/liaowang11/v2ex.git | Python | 270 lines
                    
13    deactivated = db.IntegerProperty(required=True, default=0)
                    
14    username = db.StringProperty(required=False, indexed=True)
                    
15    username_lower = db.StringProperty(required=False, indexed=True)
                    
                
user.php https://github.com/xoops-pi/legacy.git | PHP | 461 lines
                    
116     * Updated by Catzwolf 11 Jan 2004
                    
117     * find the username for a given ID
                    
118     *
                    
                
capture_opts.h https://gitlab.com/crondaemon/wireshark-legacy | C Header | 394 lines
                    
126    capture_auth  auth_type;        /**< Authentication type */
                    
127    gchar        *auth_username;    /**< Remote authentication parameters */
                    
128    gchar        *auth_password;    /**< Remote authentication parameters */
                    
137    capture_auth  auth_type;        /**< Authentication type */
                    
138    gchar        *auth_username;    /**< Remote authentication parameters */
                    
139    gchar        *auth_password;    /**< Remote authentication parameters */
                    
224    capture_auth      auth_type;
                    
225    gchar            *auth_username;
                    
226    gchar            *auth_password;
                    
                
nebula.py https://gitlab.com/vitalii.dr/yt-dlp | Python | 288 lines
                    
24    def _perform_nebula_auth(self):
                    
25        username, password = self._get_login_info()
                    
26        if not (username and password):
                    
28
                    
29        data = json.dumps({'email': username, 'password': password}).encode('utf8')
                    
30        response = self._download_json(
                    
150
                    
151    def _perform_login(self, username=None, password=None):
                    
152        # FIXME: username should be passed from here to inner functions
                    
                
MemberBlogController.go https://gitlab.com/Mr.Tomato/leanote | Go | 526 lines
                    
37// 得到sorterField 和 isAsc
                    
38// okSorter = ['email', 'username']
                    
39func (c MemberBlog) getSorter(sorterField string, isAsc bool, okSorter []string) (string, bool) {
                    
                
User.java https://github.com/oburakevych/Integration-Payments.git | Java | 257 lines
                    
42     *
                    
43     * @param username the username presented to the
                    
44     *        <code>DaoAuthenticationProvider</code>
                    
64
                    
65        if (((username == null) || "".equals(username)) || (password == null)) {
                    
66            throw new IllegalArgumentException("Cannot pass null or empty values to constructor");
                    
103
                    
104        if (((username == null) || "".equals(username)) || (password == null)) {
                    
105            throw new IllegalArgumentException("Cannot pass null or empty values to constructor");
                    
194        if (rhs instanceof User) {
                    
195            return username.equals(((User) rhs).username);
                    
196        }
                    
211        sb.append(super.toString()).append(": ");
                    
212        sb.append("Username: ").append(this.username).append("; ");
                    
213        sb.append("Password: [PROTECTED]; ");
                    
                
monitor.jsp https://github.com/zigama/ESRMS.git | JavaServer Pages | 285 lines
                    
31
                    
32$("#userName,#username").autocomplete('search.user', {
                    
33		width: 600,
                    
67<tr><td>
                    
68<form name="form1" action="index.htm?mdl=monitor&username=${myLoggedUser.userName }&view=all&sid" method="POST" autocomplete="off">
                    
69	<table border=0 width="500" cellpadding="0" cellspacing="0" align="center" bgcolor="#FFFCCC" style="border:groove #FFFCCC 2px;">
                    
                
smbcquotas.c https://gitlab.com/envieidoc/tomato | C | 553 lines
                    
157		
                    
158		fstrcpy(username_str,p);
                    
159		p = p2;
                    
221
                    
222static int do_quota(struct cli_state *cli, enum SMB_QUOTA_TYPE qtype, uint16 cmd, pstring username_str, SMB_NTQUOTA_STRUCT *pqt)
                    
223{
                    
249		case SMB_USER_QUOTA_TYPE:
                    
250			if (!StringToSid(&qt.sid, username_str)) {
                    
251				d_printf("StringToSid() failed for [%s]\n",username_str);
                    
487	if (!fix_user)
                    
488		pstrcpy(username_str,cmdline_auth_info.username);
                    
489
                    
536		case LIST_QUOTA:
                    
537			result = do_quota(cli,SMB_USER_QUOTA_TYPE, QUOTA_LIST, username_str, NULL);
                    
538			break;
                    
                
GUtils.h https://github.com/concord-consortium/goio-jna.git | C Header | 259 lines
                    
89	// System Info
                    
90	static cppstring	OSGetUserName(void);
                    
91	static bool			OSIsQuickTimeAvailable(void);
                    
                
AccountModel.java https://github.com/stevenjiancao/liferay-plugins.git | Java | 521 lines
                    
126	@AutoEscape
                    
127	public String getUserName();
                    
128
                    
131	 *
                    
132	 * @param userName the user name of this account
                    
133	 */
                    
133	 */
                    
134	public void setUserName(String userName);
                    
135
                    
                
base.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 486 lines
                    
159        """
                    
160        :param    key: API key or username to used (required)
                    
161        :type     key: ``str``
                    
                
fr.inc.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 286 lines
                    
6	'Server' => 'Serveur',
                    
7	'Username' => 'Utilisateur',
                    
8	'Password' => 'Mot de passe',
                    
                
main.cpp https://github.com/narpaldhillon/HPCC-Platform.git | C++ | 337 lines
                    
42    out.append("        server=<esp-server-url> \n");
                    
43    out.append("        username=<user-name>\n");
                    
44    out.append("        password=<password>\n");
                    
99    out.append("        srcdali=<foreign-dali-ip> -- optional\n");
                    
100    out.append("        srcusername=<username-for-accessing-srcdali> -- optional\n");
                    
101    out.append("        srcpassword=<password-for-accessing-srcdali> -- optional\n");
                    
134    out.append("        srcdali=<foreign-dali-ip>\n");
                    
135    out.append("        srcusername=<username-for-accessing-srcdali> -- optional\n");
                    
136    out.append("        srcpassword=<password-for-accessing-srcdali> -- optional\n");
                    
147    out.append("        srcdali=<source-dali-ip>\n");
                    
148    out.append("        srcusername=<user-name-for-source-dali>\n");
                    
149    out.append("        srcpassword=<password-for-source-dali>\n");
                    
                
rlm_sql_log.c https://github.com/artisdom/freeradius-server.git | C | 505 lines
                    
267 */
                    
268static int sql_set_user(rlm_sql_log_t *inst, REQUEST *request, char *sqlusername, const char *username)
                    
269{
                    
273	tmpuser[0] = '\0';
                    
274	sqlusername[0] = '\0';
                    
275
                    
281
                    
282	if (username != NULL) {
                    
283		strlcpy(tmpuser, username, MAX_STRING_LEN);
                    
291	if (tmpuser[0] != '\0') {
                    
292		strlcpy(sqlusername, tmpuser, sizeof(tmpuser));
                    
293		RDEBUG2("sql_set_user escaped user --> '%s'", sqlusername);
                    
293		RDEBUG2("sql_set_user escaped user --> '%s'", sqlusername);
                    
294		vp = pairmake("SQL-User-Name", sqlusername, 0);
                    
295		if (vp == NULL) {
                    
                
devise.rb https://gitlab.com/junxianlim/Limageshare | Ruby | 256 lines
                    
25  # Configure which keys are used when authenticating a user. The default is
                    
26  # just :email. You can configure it to use [:username, :subdomain], so for
                    
27  # authenticating a user, both parameters are required. Remember that those
                    
31  # or not authentication should be aborted when the value is not present.
                    
32  config.authentication_keys = [ :username ]
                    
33
                    
                
ql4_glbl.h https://gitlab.com/karrei/inel-imx6-kernel | C Header | 290 lines
                    
83		uint8_t outCount, uint32_t *mbx_cmd, uint32_t *mbx_sts);
                    
84int qla4xxx_get_chap_index(struct scsi_qla_host *ha, char *username,
                    
85			   char *password, int bidi, uint16_t *chap_index);
                    
85			   char *password, int bidi, uint16_t *chap_index);
                    
86int qla4xxx_set_chap(struct scsi_qla_host *ha, char *username, char *password,
                    
87		     uint16_t idx, int bidi);
                    
169			    dma_addr_t fw_ddb_entry_dma, uint16_t ddb_index);
                    
170int qla4xxx_get_chap(struct scsi_qla_host *ha, char *username,
                    
171		     char *password, uint16_t idx);
                    
268			    dma_addr_t dma_addr);
                    
269int qla4xxx_get_uni_chap_at_index(struct scsi_qla_host *ha, char *username,
                    
270				  char *password, uint16_t chap_index);
                    
                
 

Source

Language