100+ results for 'password 1234'

Not the results you expected?

EmailAddressValidator.wsdl (https://github.com/kiouftis/Web-Services-Indexing-In-P2P.git) Web Services Description Language · 152 lines

63 <xs:sequence>

64 <xs:element minOccurs="0" name="UserID" type="xs:string"/>

65 <xs:element minOccurs="0" name="Password" type="xs:string"/>

66 </xs:sequence>

67 </xs:complexType>

nsICertificateDialogs.h (https://github.com/wyona/yulup.git) C Header · 220 lines

80 /* boolean setPKCS12FilePassword (in nsIInterfaceRequestor ctx, out AString password); */

81 NS_IMETHOD SetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval) = 0;

82

83 /**

131 NS_IMETHOD ConfirmDownloadCACert(nsIInterfaceRequestor *ctx, nsIX509Cert *cert, PRUint32 *trust, PRBool *_retval) { return _to ConfirmDownloadCACert(ctx, cert, trust, _retval); } \

132 NS_IMETHOD NotifyCACertExists(nsIInterfaceRequestor *ctx) { return _to NotifyCACertExists(ctx); } \

133 NS_IMETHOD SetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval) { return _to SetPKCS12FilePassword(ctx, password, _retval); } \

134 NS_IMETHOD GetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval) { return _to GetPKCS12FilePassword(ctx, password, _retval); } \

142 NS_IMETHOD SetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPKCS12FilePassword(ctx, password, _retval); } \

143 NS_IMETHOD GetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPKCS12FilePassword(ctx, password, _retval); } \

144 NS_IMETHOD ViewCert(nsIInterfaceRequestor *ctx, nsIX509Cert *cert) { return !_to ? NS_ERROR_NULL_POINTER : _to->ViewCert(ctx, cert); } \

145 NS_IMETHOD CrlImportStatusDialog(nsIInterfaceRequestor *ctx, nsICRLInfo *crl) { return !_to ? NS_ERROR_NULL_POINTER : _to->CrlImportStatusDialog(ctx, crl); }

191 /* boolean setPKCS12FilePassword (in nsIInterfaceRequestor ctx, out AString password); */

192 NS_IMETHODIMP nsCertificateDialogs::SetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval)

193 {

194 return NS_ERROR_NOT_IMPLEMENTED;

smtp_spec.rb (https://github.com/okkez/mail.git) Ruby · 207 lines

11 :domain => 'localhost.localdomain',

12 :user_name => nil,

13 :password => nil,

14 :authentication => nil,

15 :enable_starttls_auto => true,

160 to "to@someemail.com"

161 from "from@someemail.com"

162 message_id "<1234@someemail.com>"

163 body "body"

164

174 to "to@someemail.com"

175 from "from@someemail.com"

176 message_id "<1234@someemail.com>"

177 body "body"

178

MongoUserRepositoryTest.scala (https://github.com/cyrusinnovation/inquisition.git) Scala · 181 lines

16

17 val TestUser = User("testy@example.com", "Tester", "Testy", "McTesterton", "4879b790020a04377613fd860a4e754add628f6bfdd5c1e675a28c286d379ebd", "cc11ce5ba1cd05411aa492b1a2f6bd78")

18 val AnotherUser = User("another@example.com", "anoTher", "Another", "User", "password", "salt")

19

20 @Before

135 @Test

136 def testCanSaveAndRetrieveUserWithFriends() {

137 val facebookFriend = Friend(None, Some("12345"))

138 val localFriend = Friend(Some("another"), None)

139 val facebookAndLocalFriend = Friend(Some("third"), Some("4567"))

154 assertEquals(None, repository.findById(savedUser.id).get.facebookId)

155

156 val updatedUser = repository.save(SavedUser(savedUser.id, savedUser.user.copy(facebookId = Some("1234"))))

157

158 assertEquals(Some("1234"), updatedUser.facebookId)

amazon_login.php (https://gitlab.com/firstrate/firstrate) PHP · 194 lines

113 'telephone' => '',

114 'fax' => '',

115 'password' => uniqid(rand(), true),

116 'company' => '',

117 'address_1' => '',

params.pp (https://github.com/stribert/puppet-modules.git) Puppet · 255 lines

12 $mysql_random_password = fqdn_rand(100000000000)

13

14 $root_password = $mysql_root_password ? {

15 '' => "",

16 auto => "$mysql_random_password",

17 default => "$mysql_root_password",

18 }

19

user_details_test.rb (https://github.com/465858/Proman2.git) Ruby · 205 lines

46 end

47

48 test "test invalid password has less than 6 characters" do

49 ["a", "ab", "abc", "abcd", "abcde", "abcdef"].each do |password|

52 :name => @name,

53 #:staff_or_student_number => "777777",

54 :password => "test",

55 :password_confirmation => "test")

75 :name => @name,

76 #:staff_or_student_number => "777777",

77 :password => "0123456789112345678921234567893123456789",

78 :password_confirmation => "0123456789112345678921234567893123456789")

86 :password => "01234567891123456789212345678931234567894",

87 :password_confirmation => "01234567891123456789212345678931234567894")

88

89 assert !user.save, "Password has more than 40 characters"

api_steps.rb (https://github.com/duelinmarkers/RapidFTR.git) Ruby · 173 lines

86 When /^I login with user (.+):(.+) for device with imei (.+)$/ do |user, password, imei|

87 post(sessions_path, {:imei => imei, :user_name => user, :password => password, :mobile_number => "123456", :format => 'json'})

88 end

89

OpenAirTest.cs (https://gitlab.com/yzu.1001453/yzu2014-Shopcart.git) C# · 1386 lines

18 MemberRecord user = new MemberRecord();

19

20 Assert.That(user.Register("ABC", "a123", "Joe", "0123456789", "Joe@gmail.com", "Taiwan")

21 , Is.EqualTo(true));

22 user = user.Login("ABC", "a123");

23 Assert.That(user.GetID(), Is.EqualTo("ABC"));

24 Assert.That(user.GetPassword(), Is.EqualTo("a123"));

25 Assert.That(user.GetName(), Is.EqualTo("Joe"));

26 Assert.That(user.GetPhone(), Is.EqualTo("0123456789"));

36 OpenAir system = new OpenAir();

37 MemberRecord user1 = new MemberRecord();

38 Assert.That(user1.Register("ABC", "a123", "Joe", "0123456789", "Joe@gmail.com", "Taiwan")

39 , Is.EqualTo(true));

40

seeds.rb (https://github.com/ldso2011/studyspots.git) Ruby · 219 lines

146 ADMIN = User.create!(

147 :email => "admin@studyspots.com",

148 :password => "123456",

149 :password_confirmation => "123456",

153 USER1 = User.create!(

154 :email => "user1@studyspots.com",

155 :password => "123456",

156 :password_confirmation => "123456",

160 USER2 = User.create!(

161 :email => "user2@studyspots.com",

162 :password => "123456",

163 :password_confirmation => "123456",

167 USER3 = User.create!(

168 :email => "user3@studyspots.com",

169 :password => "123456",

170 :password_confirmation => "123456",

package-tree.html (https://github.com/joechen2010/IM.git) HTML · 149 lines

89 <LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>

90 <LI TYPE="circle">org.jivesoftware.openfire.commands.<A HREF="../../../../../../org/jivesoftware/openfire/commands/AdHocCommand.html" title="class in org.jivesoftware.openfire.commands"><B>AdHocCommand</B></A><UL>

91 <LI TYPE="circle">org.jivesoftware.openfire.commands.admin.user.<A HREF="../../../../../../org/jivesoftware/openfire/commands/admin/user/AddUser.html" title="class in org.jivesoftware.openfire.commands.admin.user"><B>AddUser</B></A><LI TYPE="circle">org.jivesoftware.openfire.commands.admin.user.<A HREF="../../../../../../org/jivesoftware/openfire/commands/admin/user/AuthenticateUser.html" title="class in org.jivesoftware.openfire.commands.admin.user"><B>AuthenticateUser</B></A><LI TYPE="circle">org.jivesoftware.openfire.commands.admin.user.<A HREF="../../../../../../org/jivesoftware/openfire/commands/admin/user/ChangeUserPassword.html" title="class in org.jivesoftware.openfire.commands.admin.user"><B>ChangeUserPassword</B></A><LI TYPE="circle">org.jivesoftware.openfire.commands.admin.user.<A HREF="../../../../../../org/jivesoftware/openfire/commands/admin/user/UserProperties.html" title="class in org.jivesoftware.openfire.commands.admin.user"><B>UserProperties</B></A></UL>

92 </UL>

93 </UL>

Makefile (https://github.com/JasonZigelbaum/Outgoing-Packet-Tool.git) Makefile · 364 lines

227 /usr/local/Trolltech/Qt-4.7.4/bin/moc $(DEFINES) $(INCPATH) attack-dialog.h -o moc_attack-dialog.cpp

228

229 moc_password-window.cpp: password-window.h

230 /usr/local/Trolltech/Qt-4.7.4/bin/moc $(DEFINES) $(INCPATH) password-window.h -o moc_password-window.cpp

320 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o route-editor.o route-editor.cpp

321

322 password-window.o: password-window.cpp password-window.h \

323 train-dialog.h \

324 write-dialog.h \

329 globals.h \

330 packet-sieve.h

331 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o password-window.o password-window.cpp

332

333 moc_main-window.o: moc_main-window.cpp

351 moc_password-window.o: moc_password-window.cpp

352 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_password-window.o moc_password-window.cpp

353

354 qrc_application.o: qrc_application.cpp

UserApi.java (https://github.com/OpenAPITools/openapi-generator.git) Java · 217 lines

136 for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {

137 if (mediaType.isCompatibleWith(MediaType.valueOf("application/json"))) {

138 String exampleString = "{ \"firstName\" : \"firstName\", \"lastName\" : \"lastName\", \"password\" : \"password\", \"userStatus\" : 6, \"phone\" : \"phone\", \"id\" : 0, \"email\" : \"email\", \"username\" : \"username\" }";

139 ApiUtil.setExampleResponse(request, "application/json", exampleString);

140 break;

141 }

142 if (mediaType.isCompatibleWith(MediaType.valueOf("application/xml"))) {

143 String exampleString = "<User> <id>123456789</id> <username>aeiou</username> <firstName>aeiou</firstName> <lastName>aeiou</lastName> <email>aeiou</email> <password>aeiou</password> <phone>aeiou</phone> <userStatus>123</userStatus> </User>";

144 ApiUtil.setExampleResponse(request, "application/xml", exampleString);

145 break;

169 produces = { "application/xml", "application/json" }

170 )

171 default ResponseEntity<String> loginUser(@NotNull @ApiParam(value = "The user name for login", required = true) @Valid @RequestParam(value = "username", required = true) String username,@NotNull @ApiParam(value = "The password for login in clear text", required = true) @Valid @RequestParam(value = "password", required = true) String password) {

172 return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED);

173

ZipArchive.cs (https://bitbucket.org/jens13/cleanzip.git) C# · 237 lines

48 }

49

50 public ZipEntry Add(string fileName, string entryName, CompressionType compressionType, string password)

51 {

52 Func<string, ZipEntry> createMethod = name => new ZipEntry(fileName, name, compressionType, password);

53 Action<ZipEntry> setMethod = zipEntry => zipEntry.SetNewFile(fileName, compressionType, password);

54 return ChangeOrCreateZipEntry(entryName, setMethod, createMethod);

55 }

62 }

63

64 public ZipEntry Add(Stream fileStream, string entryName, CompressionType compressionType, string password)

65 {

66 Func<string, ZipEntry> createMethod = name => new ZipEntry(fileStream, name, compressionType, password);

67 Action<ZipEntry> setMethod = zipEntry => zipEntry.SetNewStream(fileStream, compressionType, password);

68 return ChangeOrCreateZipEntry(entryName, setMethod, createMethod);

69 }

cite_data_postgis2.sql (https://github.com/geoserver/geoserver.git) SQL · 505 lines

2 -- geoserver. To work with the tar file of featureType directories it

3 -- should be run in a database called cite, that either has a user with

4 -- a password of cite, cite, or that allows anyone read/write access.

5 -- You can also just run this script in whatever database you like with

6 -- your user name, but then you have to modify all the user access info

146

147 --

148 -- TOC Entry ID 32 (OID 312341)

149 --

150 -- Name: MultiLineStringFeature Type: TABLE Owner: cite

157

158 --

159 -- TOC Entry ID 33 (OID 312348)

160 --

161 -- Name: MultiPolygonFeature Type: TABLE Owner: cite

registerable_test.rb (https://github.com/pgsql/spree.git) Ruby · 268 lines

92

93 fill_in 'email', :with => 'user@test.com'

94 fill_in 'password', :with => '123456'

95 fill_in 'password confirmation', :with => '123456'

232

233 test 'a user sign up with valid information in XML format should return valid response' do

234 post user_registration_path(:format => 'xml'), :user => { :email => 'new_user@test.com', :password => 'new_user123', :password_confirmation => 'new_user123' }

235 assert_response :success

236 assert response.body.include? %(<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<user>)

241

242 test 'a user sign up with invalid information in XML format should return invalid response' do

243 post user_registration_path(:format => 'xml'), :user => { :email => 'new_user@test.com', :password => 'new_user123', :password_confirmation => 'invalid' }

244 assert_response :unprocessable_entity

245 assert response.body.include? %(<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<errors>)

248 test 'a user update information with valid data in XML format should return valid response' do

249 user = sign_in_as_user

250 put user_registration_path(:format => 'xml'), :user => { :current_password => '123456', :email => 'user.new@test.com' }

251 assert_response :success

252 assert_equal user.reload.email, 'user.new@test.com'

test.scm (git://git.savannah.gnu.org/liquidwar6.git) Scheme · 208 lines

81 (c-lw6pil-execute-command game-state "123123123123 1234123412341234 REGISTER" 123123123123)

82 (c-lw6pil-execute-command game-state "123123123123 1234123412341234 ADD 1234 RED" 123123123123)

83 (c-lw6pil-execute-command game-state "123123123123 1234123412341234 ADD 2345 GREEN" 123123123123)

84 (let (

85 (bot1 (c-lw6bot-new "idiot" game-state pilot 2 "1234" 1.0 100))

86 (bot2 (c-lw6bot-new "random" game-state pilot 2 "2345" 1.0 100))

87 )

163 (cons "bind-port" 8056)

164 (cons "public-url" "http://localhost/")

165 (cons "password" "")

166 (cons "title" "")

167 (cons "description" (_ "Dummy test node"))

recovery_code_tests.js (https://github.com/mozilla/fxa.git) JavaScript · 251 lines

15 let server, client, email, recoveryCodes;

16 const recoveryCodeCount = 9;

17 const password = 'pssssst';

18 const metricsContext = {

19 flowBeginTime: Date.now(),

20 flowId: '0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef',

21 };

22

41 config.publicUrl,

42 email,

43 password,

44 server.mailbox

45 ).then((x) => {

config_test.go (https://github.com/zaquestion/lab.git) Go · 295 lines

41 fmt.Fprintln(&buf, "https://gitlab.zaquestion.io")

42

43 oldreadPassword := readPassword

44 readPassword = func(bufio.Reader) (string, string, error) {

46 }

47 defer func() {

48 readPassword = oldreadPassword

49 }()

50

165 fmt.Fprintln(&buf, "https://gitlab.zaquestion.io")

166

167 oldreadPassword := readPassword

168 readPassword = func(bufio.Reader) (string, string, error) {

170 }

171 defer func() {

172 readPassword = oldreadPassword

173 }()

174

test_shutdown.t (https://code.google.com/p/bugzilla4intranet/) Unknown · 69 lines

49 $sel->title_is("Log in to Bugzilla");

50 $sel->type_ok("Bugzilla_login", $config->{admin_user_login}, "Enter admin login name");

51 $sel->type_ok("Bugzilla_password", $config->{admin_user_passwd}, "Enter admin password");

52 $sel->click_ok("log_in");

53 $sel->wait_for_page_to_load_ok(WAIT_TIME);

PasswordAuthenticator.html (https://gitlab.com/essere.lab.public/qualitas.class-corpus) HTML · 173 lines

81 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">

82 <TD COLSPAN=2><FONT SIZE="+2">

83 Packages that use <A HREF="../../../../../../org/objectweb/cjdbc/controller/authentication/PasswordAuthenticator.html" title="class in org.objectweb.cjdbc.controller.authentication">PasswordAuthenticator</A></FONT></TD>

84 </TR>

85 <TR BGCOLOR="white" CLASS="TableRowColor">

94 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">

95 <TD COLSPAN=2><FONT SIZE="+2">

96 Uses of <A HREF="../../../../../../org/objectweb/cjdbc/controller/authentication/PasswordAuthenticator.html" title="class in org.objectweb.cjdbc.controller.authentication">PasswordAuthenticator</A> in <A HREF="../../../../../../org/objectweb/cjdbc/controller/authentication/package-summary.html">org.objectweb.cjdbc.controller.authentication</A></FONT></TD>

97 </TR>

98 </TABLE>

102 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

103 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">

104 <TD COLSPAN=2>Fields in <A HREF="../../../../../../org/objectweb/cjdbc/controller/authentication/package-summary.html">org.objectweb.cjdbc.controller.authentication</A> declared as <A HREF="../../../../../../org/objectweb/cjdbc/controller/authentication/PasswordAuthenticator.html" title="class in org.objectweb.cjdbc.controller.authentication">PasswordAuthenticator</A></FONT></TD>

105 </TR>

106 <TR BGCOLOR="white" CLASS="TableRowColor">

Users.router.ts (https://gitlab.com/dreamteam109/stuckwithticketsfinal) TypeScript · 352 lines

66 * example:

67 * email: "IsraelIsraeli@gmail.com"

68 * password: "123456"

69 * firstName: "Israel"

70 * lastName: "Israeli"

83 * example:

84 * email: "IsraelIsraeli@gmail.com"

85 * password: "123456"

86 * AccessAndRefreshTokens:

87 * type: object

119 * firstName: "Israel"

120 * lastName: "Israeli"

121 * phoneNumber: "050-1234567"

122 * imageId: "e49bb982bd2e419682565e285a899a2f"

123 * interests: "I like rock music"

156 * lastName: "Israeli"

157 * email: "IsraelIsraeli@gmail.com"

158 * password: "123456"

159 * phoneNumber: "050-1234567"

ds_custom_jewel.xsd (https://github.com/mamluka/JonOldBackOffice.git) XML Schema · 151 lines

11 <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" type="xs:int" />

12 <xs:element name="email" type="xs:string" />

13 <xs:element name="password" type="xs:string" minOccurs="0" />

14 <xs:element name="firstname" type="xs:string" minOccurs="0" />

15 <xs:element name="lastname" type="xs:string" minOccurs="0" />

signup_controller_spec.js (https://github.com/blockchain/My-Wallet-V3-Frontend.git) JavaScript · 199 lines

62 it('should have initial values', () => {

63 expect(scope.fields.email).toBeDefined();

64 expect(scope.fields.password).toBeDefined();

65 expect(scope.fields.confirmation).toBeDefined();

66 expect(scope.fields.acceptedAgreement).toBe(false);

85 });

86

87 it('should not have an error if password confirmation matches', () => {

88 scope.signupForm.password.$setViewValue('testing');

104 let form = scope.signupForm;

105 form.email.$setViewValue('a@b.com');

106 form.password.$setViewValue('my_password12345');

107 form.confirmation.$setViewValue('my_password12345');

123 let form = scope.signupForm;

124 form.email.$setViewValue('a@b.com');

125 form.password.$setViewValue('my_password12345');

126 form.confirmation.$setViewValue('my_password12345');

validation.js (https://github.com/koodaamo/uni-form.git) JavaScript · 444 lines

6 * Note that IE can't do attr('type','text')

7 *

8 * @param string type input type enumerated [checkbox, radio, text, password]

9 * @param string value text value of input

10 *

linux_virtual_machine_scale_set_identity_resource_test.go (https://github.com/terraform-providers/terraform-provider-azurerm.git) Go · 386 lines

180 instances = 1

181 admin_username = "adminuser"

182 admin_password = "P@ssword1234!"

183

184 disable_password_authentication = false

293 instances = 1

294 admin_username = "adminuser"

295 admin_password = "P@ssword1234!"

296

297 disable_password_authentication = false

349 instances = 1

350 admin_username = "adminuser"

351 admin_password = "P@ssword1234!"

352

353 disable_password_authentication = false

JsonResourcePasswordManagementServiceTests.java (https://github.com/frett/cas.git) Java · 118 lines

73 @Qualifier("passwordChangeService")

74 private PasswordManagementService passwordChangeService;

75

76 @Autowired

100 public void verifyUserPasswordChange() {

101 val c = new UsernamePasswordCredential("casuser", "password");

102 val bean = new PasswordChangeBean();

103 bean.setConfirmedPassword("newPassword");

104 bean.setPassword("newPassword");

105 val res = passwordChangeService.change(c, bean);

110 public void verifyPasswordValidationService() {

111 val c = new UsernamePasswordCredential("casuser", "password");

112 val bean = new PasswordChangeBean();

113 bean.setConfirmedPassword("Test@1234");

114 bean.setPassword("Test@1234");

115 val isValid = passwordValidationService.isValid(c, bean);

lesson_group_override.feature (https://github.com/vadimonus/moodle.git) Gherkin Specification · 340 lines

146 And I set the following fields to these values:

147 | Override group | Group 1 |

148 | Password protected lesson | 12345 |

149 And I press "Save"

150 And I should see "Password protected lesson"

155 Then I should see "Test lesson name is a password protected lesson"

156 And I should not see "Cat is an amphibian"

157 And I set the field "userpassword" to "moodle_rules"

158 And I press "Continue"

159 And I should see "Login failed, please try again..."

160 And I should see "Test lesson name is a password protected lesson"

161 And I set the field "userpassword" to "12345"

162 And I press "Continue"

163 And I should see "Cat is an amphibian"

173 And I should see "Test lesson name is a password protected lesson"

174 And I should not see "Cat is an amphibian"

175 And I set the field "userpassword" to "12345"

176 And I press "Continue"

177 And I should see "Login failed, please try again..."

0007_replace_special_chars_and_whitespace_in_usernames.py (https://github.com/SEL-Columbia/formhub.git) Python · 103 lines

49 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),

50 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),

51 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),

52 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),

53 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})

recoverable_test.rb (https://github.com/kenan-memis/university-web.git) Ruby · 138 lines

40 test 'should reset password and save the record' do

41 assert create_user.reset_password!('123456789', '123456789')

42 end

43

49 assert_present user.reset_password_token

50 assert user.reset_password!('123456789', '123456789')

51 assert_nil user.reset_password_token

105 user.send :generate_reset_password_token!

106

107 reset_password_user = User.reset_password_by_token(:reset_password_token => user.reset_password_token)

108 assert_equal reset_password_user, user

111 test 'should a new record with errors if no reset_password_token is found' do

112 reset_password_user = User.reset_password_by_token(:reset_password_token => 'invalid_token')

113 assert_not reset_password_user.persisted?

117 test 'should a new record with errors if reset_password_token is blank' do

118 reset_password_user = User.reset_password_by_token(:reset_password_token => '')

119 assert_not reset_password_user.persisted?

CoreApplicationPrototypeTests.swift (https://gitlab.com/InboundRX-Capstone/Paulsens-iOS-App) Swift · 193 lines

150 XCTAssertTrue(user.loggedIn())

151

152 result = user.editPassword(currentPassword: "password123", password: "password321", repeatPassword:"password321")

153 XCTAssert(result.0)

154

155

156 result = user.editPassword(currentPassword: "password321", password: "password123", repeatPassword:"password123")

157 XCTAssert(result.0)

158

170 XCTAssertTrue(user.loggedIn())

171

172 result = user.editPhone(phone: "1234567890", currentPassword: "password123")

173 XCTAssert(result.0)

174

x76f100.c (https://github.com/groovybits/groovymame.git) C · 328 lines

6 * The X76F100 is a Password Access Security Supervisor, containing one 896-bit Secure SerialFlash array.

7 * Access to the memory array can be controlled by two 64-bit passwords. These passwords protect read and

8 * write operations of the memory array.

9 *

77 int offset = 0;

78 memcpy(response_to_reset, rb + offset, SIZE_RESPONSE_TO_RESET); offset += SIZE_RESPONSE_TO_RESET;

79 memcpy(write_password, rb + offset, SIZE_WRITE_PASSWORD); offset += SIZE_WRITE_PASSWORD;

80 memcpy(read_password, rb + offset, SIZE_READ_PASSWORD); offset += SIZE_READ_PASSWORD;

315 {

316 file.read(response_to_reset, SIZE_RESPONSE_TO_RESET);

317 file.read(write_password, SIZE_WRITE_PASSWORD);

318 file.read(read_password, SIZE_READ_PASSWORD);

325 file.write(write_password, SIZE_WRITE_PASSWORD);

326 file.write(read_password, SIZE_READ_PASSWORD);

327 file.write(data, SIZE_DATA);

328 }

LoginDialogFragment.java (https://gitlab.com/khoa-io/slp) Java · 168 lines

69 Button cancelButton = (Button) view.findViewById(R.id.btn_cancel);

70 usernameEdit = (EditText) view.findViewById(R.id.edit_username);

71 passwordEdit = (EditText) view.findViewById(R.id.edit_password);

72 checkRememberLogin = (CheckBox) view.findViewById(R.id.check_remember_login);

73

74 AppPreferences prefs = AppPreferences.getInstance(getActivity());

75 usernameEdit.setText(prefs.getString(getActivity().getString(R.string.username), ""));

76 passwordEdit.setText(prefs.getString(getActivity().getString(R.string.password), ""));

77

78 if (BuildConfig.DEBUG) {

79 usernameEdit.setText("dungpqshipper");

80 passwordEdit.setText("12345678");

81 }

82

DatabaseTest.cs (https://gitlab.com/jslee1/azure-powershell) C# · 213 lines

64 /// The end point to use for the tests

65 /// </summary>

66 private const string LocalRdfeEndpoint = @"https://management.dev.mscds.com:12346/";

67

68 /// <summary>

75 string arguments = string.Format(

76 CultureInfo.InvariantCulture,

77 "-ManageUrl \"{0}\" -UserName \"{1}\" -Password \"{2}\" "

78 + "-SubscriptionId \"{3}\" -SerializedCert \"{4}\" ",

79 SqlDatabaseTestSettings.Instance.ManageUrl,

80 SqlDatabaseTestSettings.Instance.UserName,

81 SqlDatabaseTestSettings.Instance.Password,

82 SqlDatabaseTestSettings.Instance.SubscriptionId,

83 SqlDatabaseTestSettings.Instance.SerializedCert);

Program.cs (https://github.com/e-travel/EnyimMemcached.git) C# · 123 lines

31 config.Authentication.Type = typeof(PlainTextAuthenticator);

32 config.Authentication.Parameters["userName"] = "demo";

33 config.Authentication.Parameters["password"] = "demo";

34

35 var mc = new MemcachedClient(config);

72

73 //// store some other items

74 //mc.Store(StoreMode.Set, "D1", 1234L);

75 //mc.Store(StoreMode.Set, "D2", DateTime.Now);

76 //mc.Store(StoreMode.Set, "D3", true);

80

81

82 ////mc2.Store(StoreMode.Set, "D1", 1234L);

83 ////mc2.Store(StoreMode.Set, "D2", DateTime.Now);

84 ////mc2.Store(StoreMode.Set, "D3", true);

MutableUserDetails.java (https://github.com/WISEngineering-Dev-Group/webapp.git) Java · 139 lines

52

53 /**

54 * Sets the user's password. This may or may not be plaintext. It will be up

55 * to the implementor to decide if encryption is required. If encryption is

56 * used, it must be representable as a <code>String</code>.

58 * @param password

59 */

60 public void setPassword(String password);

61

62 /**

zipdistance.wsdl (https://github.com/kiouftis/Web-Services-Indexing-In-P2P.git) Web Services Description Language · 130 lines

43 <xs:sequence>

44 <xs:element minOccurs="0" name="UserID" type="xs:string" />

45 <xs:element minOccurs="0" name="Password" type="xs:string" />

46 </xs:sequence>

47 </xs:complexType>

maltiverse-client.py (https://github.com/TheHive-Project/Cortex-Analyzers.git) Python · 150 lines

15 self.service = self.get_param('config.service', None, 'Service parameter is missing')

16 # self.username = self.get_param('config.username', None, 'Missing Maltiverse API Username')

17 # self.password = self.get_param('config.password', None, 'Missing Maltiverse API Password')

18 self.polling_interval = self.get_param('config.polling_interval', 60)

19 self.proxies = self.get_param('config.proxy', None)

PacienteControllerTestes.java (https://gitlab.com/lfelipelizeu/desafio-tecnico-backend-conexa) Java · 202 lines

21 import org.springframework.boot.test.mock.mockito.MockBean;

22 import org.springframework.http.MediaType;

23 import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

24 import org.springframework.test.context.junit4.SpringRunner;

25 import org.springframework.test.web.servlet.MockMvc;

46 Medico medico = new Medico();

47 medico.setEmail("luis@email.com");

48 BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();

49 medico.setSenha(encoder.encode("12345"));

user_controller_test.exs (https://github.com/healthlocker/healthlocker.git) Elixir · 160 lines

64 case Repo.insert %User{

65 email: "me@example.com",

66 password: "password",

67 security_question: "Favourite food?",

68 security_answer: "pizza"

103

104 test "does not create duplicate resource and redirects when user has previously signed up with false data_access", %{conn: conn} do

105 Repo.insert %User{email: "me@example.com", password_hash: Comeonin.Bcrypt.hashpwsalt("password"), data_access: false}

106 conn = post conn, user_path(conn, :create), user: @step1_attrs

107 assert html_response(conn, 200) =~ "Sign up"

143 Repo.insert %User{

144 email: "me@example.com",

145 password: "password",

146 security_question: "Favourite food?",

147 security_answer: "pizza"

UserServiceTests.groovy (https://bitbucket.org/stefanjummp/jummp.git) Groovy · 374 lines

30

31 @Test

32 void testChangePassword() {

33 authenticateAsTestUser()

34 shouldFail(BadCredentialsException) {

35 userService.changePassword("wrong", "secure")

36 }

37 userService.changePassword("secret", "secure")

81 User user = userService.getUser("username")

82 assertEquals("username", user.username)

83 assertNull(user.password)

84 assertNull(user.enabled)

85 assertNull(user.accountExpired)

StandardScrambler.java (https://github.com/bluepimento/openflexo.git) Java · 304 lines

21

22 /**

23 * Scrambles text (the password) using the standard scheme described in the CVS protocol version 1.10. This encoding is trivial and should

24 * not be used for security, but rather as a mechanism for avoiding inadvertant compromise.

25 *

admin.php (https://github.com/gustavosf/semac.git) PHP · 202 lines

54 {

55 $auth = Auth::instance();

56 if ($auth->login(Input::post('username'), Input::post('password')))

57 {

58 $goto = Cookie::get('redirect', '/');

107 else

108 {

109 $pass = substr(str_shuffle('abcdefghijklmnopqrstuvxyzABCDEFGHIJKLMNOPQRSTUVXYZ0123456789'),0,6);

110 $pass = $user->resetar_senha(); // já efetua o salvamento do registro

111

162 if (Input::post('nova_senha') === Input::post('confirmacao_nova_senha'))

163 {

164 if ( ! $user->change_password(Input::post('senha_atual'), Input::post('nova_senha')))

165 {

166 Session::set_flash('error', 'Senha antiga não confere');

registrations_controller_spec.rb (https://gitlab.com/tbeadle/gitlab-ce) Ruby · 165 lines

5

6 describe '#create' do

7 let(:user_params) { { user: { name: 'new_user', username: 'new_username', email: 'new@user.com', password: 'Any_password' } } }

8

9 context 'email confirmation' do

120 context 'user requires password confirmation' do

121 it 'fails if password confirmation is not provided' do

122 post :destroy

123

127 it 'fails if password confirmation is wrong' do

128 post :destroy, password: 'wrong password'

129

130 expect_password_failure

133 it 'succeeds if password is confirmed' do

134 post :destroy, password: '12345678'

135

136 expect_success

calendarscript.js (https://gitlab.com/sylver.gocloud/demo-sw-k12-enrollment) JavaScript · 207 lines

117

118 //for username generation in hrd or admin (employee_settings/change_settings)

119 var charArray = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";

120 $('#gen_uname').click(function(){

121 var rand_uname = "";

138 });

139

140 //for password generation in hrd or admin (employee_settings/change_settings)

141 $('#gen_pword').click(function(){

142 var rand_pword = "";

145 rand_pword += charArray.charAt(Math.floor(Math.random()*62)+1);

146 }

147 $("<div title='Generated Password'>Use " + rand_pword + " as password?</div>").dialog({

148 resizable: false,

149 buttons: {

test_api.py (https://github.com/inventree/InvenTree.git) Python · 327 lines

24 # Create a user for auth

25 User = get_user_model()

26 self.user = User.objects.create_user('testuser', 'test@testing.com', 'password')

27

28 # Add the necessary permissions to the user

39 addUserPermissions(self.user, perms)

40

41 self.client.login(username='testuser', password='password')

42

43 def doPost(self, url, data={}):

190

191 data['items'] = [{

192 'pk': 1234

193 }]

194

test_server.py (https://github.com/griddynamics/keystone.git) Python · 88 lines

21 self.request = webob.Request(environ)

22 self.auth_data = auth.ValidateData(auth.Token(datetime.date.today(),

23 "2231312"), auth.User("id", "username", "12345", "aTenant"))

24

25 #def tearDown(self):

44 self.assertTrue(user.get("username"), "username")

45 self.assertTrue(user.get("id"), "id")

46 self.assertTrue(user.get("tenantId"), '12345')

47 self.assertTrue(token.get("id"), '2231312')

48 self.assertTrue(token.get("expires"), datetime.date.today())

71 def test_get_normalized_request_content_xml(self):

72 self.request.environ["CONTENT_TYPE"] = "application/xml"

73 auth.AuthWithPasswordCredentials("username", "password", "1")

74 body = '<?xml version="1.0" encoding="UTF-8"?> \

75 <auth xmlns="http://docs.openstack.org/identity/api/v2.0">\

metadata_test.go (https://gitlab.com/CORP-RESELLER/cf-distribution) Go · 182 lines

15 Premium bool

16 }

17 Password string

18 secret string

19 Email string `json:"email"`

62 "Premium": false,

63 },

64 "Password": "",

65 "email": "",

66 },

125 "password": "secret",

126 "array": []hash{{

127 "creditcard": "1234567812345678",

128 "broken": broken,

129 }},

mail_owner.php (https://gitlab.com/shaon2016/bidwarbd) PHP · 110 lines

76 //Password to use for SMTP authentication

77 $mail->Password = "php12345";

78 //Set who the message is to be sent from

79 $mail->setFrom('php.mail.practice@gmail.com', 'BidWarBD');

DeviceAdminInfo.h (https://github.com/scapix-com/scapix.git) C Header · 114 lines

34 static jint USES_POLICY_DISABLE_CAMERA_();

35 static jint USES_POLICY_DISABLE_KEYGUARD_FEATURES_();

36 static jint USES_POLICY_EXPIRE_PASSWORD_();

37 static jint USES_POLICY_FORCE_LOCK_();

38 static jint USES_POLICY_LIMIT_PASSWORD_();

39 static jint USES_POLICY_RESET_PASSWORD_();

40 static jint USES_POLICY_WATCH_LOGIN_();

41 static jint USES_POLICY_WIPE_DATA_();

86 inline jint DeviceAdminInfo::USES_POLICY_DISABLE_CAMERA_() { return get_static_field<SCAPIX_META_STRING("USES_POLICY_DISABLE_CAMERA"), jint>(); }

87 inline jint DeviceAdminInfo::USES_POLICY_DISABLE_KEYGUARD_FEATURES_() { return get_static_field<SCAPIX_META_STRING("USES_POLICY_DISABLE_KEYGUARD_FEATURES"), jint>(); }

88 inline jint DeviceAdminInfo::USES_POLICY_EXPIRE_PASSWORD_() { return get_static_field<SCAPIX_META_STRING("USES_POLICY_EXPIRE_PASSWORD"), jint>(); }

89 inline jint DeviceAdminInfo::USES_POLICY_FORCE_LOCK_() { return get_static_field<SCAPIX_META_STRING("USES_POLICY_FORCE_LOCK"), jint>(); }

90 inline jint DeviceAdminInfo::USES_POLICY_LIMIT_PASSWORD_() { return get_static_field<SCAPIX_META_STRING("USES_POLICY_LIMIT_PASSWORD"), jint>(); }

91 inline jint DeviceAdminInfo::USES_POLICY_RESET_PASSWORD_() { return get_static_field<SCAPIX_META_STRING("USES_POLICY_RESET_PASSWORD"), jint>(); }

92 inline jint DeviceAdminInfo::USES_POLICY_WATCH_LOGIN_() { return get_static_field<SCAPIX_META_STRING("USES_POLICY_WATCH_LOGIN"), jint>(); }

93 inline jint DeviceAdminInfo::USES_POLICY_WIPE_DATA_() { return get_static_field<SCAPIX_META_STRING("USES_POLICY_WIPE_DATA"), jint>(); }

fips.sh (https://github.com/rillian/firefox.git) Shell · 293 lines

83 html_msg $? 0 "List the FIPS module keys (certutil -K)" "."

84

85 echo "$SCRIPTNAME: Attempt to list FIPS module keys with incorrect password"

86 echo "certutil -d ${P_R_FIPSDIR} -K -f ${FIPSBADPWFILE}"

87 ${BINDIR}/certutil -d ${P_R_FIPSDIR} -K -f ${FIPSBADPWFILE} 2>&1

88 RET=$?

89 html_msg $RET 255 "Attempt to list FIPS module keys with incorrect password (certutil -K)" "."

90 echo "certutil -K returned $RET"

91

db_pos_7_27_2016.sql (https://gitlab.com/MohammadShakil/POS_Management_System) SQL · 355 lines

64 `last_name` varchar(50) NOT NULL,

65 `email` varchar(50) NOT NULL,

66 `password` varchar(50) NOT NULL,

67 PRIMARY KEY (`id`)

68 ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;

72 --

73

74 INSERT INTO `login` (`id`, `first_name`, `last_name`, `email`, `password`) VALUES

75 (1, 'mamun', 'rahaman', 'mamunur@gmail.com', '123456'),

279

280 INSERT INTO `users` (`user_id`, `user_type_id`, `user_name`, `user_email`, `user_pass`) VALUES

281 (1, 1, 'smartrashed', 'smartrashed@gmail.com', '123456');

282

283 -- --------------------------------------------------------

test_read_format_7zip_encryption_partially.c (https://bitbucket.org/freebsd/freebsd-base.git) C · 82 lines

30 /* This file is password protected (encrypted) with AES-256. The headers

31 are NOT encrypted. Password is "12345678". It contains one encrypted

32 and one unencrypted file. */

33 const char *refname = "test_read_format_7zip_encryption_partially.7z";

fixtures.yml (https://github.com/rah00l/spot-us.git) YAML · 301 lines

23 login: merchant id

24 user: username

25 password: password

26

27 braintree:

67 modern_payments:

68 login: login

69 password: password

70

71 # Working credentials, no need to replace

257 secure_pay:

258 login: LOGIN

259 password: PASSWORD

260

261 secure_pay_tech:

basicauthentication.c (https://github.com/fetzerch/xbmc.git) C · 182 lines

7 #define REALM "\"Maintenance\""

8 #define USER "a legitimate user"

9 #define PASSWORD "and his password"

10

11

49 int

50 is_authenticated (struct MHD_Connection *connection,

51 const char *username, const char *password)

52 {

53 const char *headervalue;

64 return 0;

65

66 expected = malloc (strlen (username) + 1 + strlen (password) + 1);

67 if (NULL == expected)

68 return 0;

login_controller_spec.rb (https://github.com/liquid/taskboard.git) Ruby · 124 lines

94

95 it "should allow adding new viewer user" do

96 user_data = {:username => "newuser", :password => "password", :password_confirmation => "password"}

97 user = User.new(user_data)

98 User.should_receive(:new).with({"username" => "newuser", "password" => "password", "password_confirmation" => "password"}).and_return(user)

106

107 it "should allow adding new editor user" do

108 user_data = {:username => "newuser", :password => "password", :password_confirmation => "password", :editor => true}

109 user = User.new(user_data)

110 user.editor?.should be_true

111 User.should_receive(:new).with({"username" => "newuser", "password" => "password", "password_confirmation" => "password", "editor" => true}).and_return(user)

112 user.should_receive(:save).and_return(true)

113 User.should_receive(:new)

api.html.erb (https://github.com/jlneto/myraces.git) Ruby HTML · 44 lines

18 Authorization: Bearer exampletoken</code></pre>

19

20 <p class="mb-4">If you'd like to authenticate users through the API using their email and password to retrieve an API token, you can make a POST request to the auth endpoint with the user's email and password. This is handy for authenticating from a mobile app, etc.</p>

21

22 <pre><code>POST /api/v1/auth.json

23 Params: { email: "steve@apple.com", password: "hunter2" }</code></pre>

24

25 <p>This will return a JSON response with a token you can use to access the API.</p>

26 <pre><code>{ token: "abcd1234" }</code></pre>

27

28 <h2 class="pb-3 mb-6 border-b border-gray-400">Controllers & Routes</h2>

utils_test.go (https://gitlab.com/auchalet/mattermost) Go · 197 lines

36 {[]byte(sDateTime0), false, true, tDate0},

37 {"", true, false, tDate0},

38 {"1234", true, false, tDate0},

39 {0, true, false, tDate0},

40 }

66 {0x00000000000000fa, []byte{0xfa}},

67 {0x0000000000000100, []byte{0xfc, 0x00, 0x01}},

68 {0x0000000000001234, []byte{0xfc, 0x34, 0x12}},

69 {0x000000000000ffff, []byte{0xfc, 0xff, 0xff}},

70 {0x0000000000010000, []byte{0xfd, 0x00, 0x00, 0x01}},

71 {0x0000000000123456, []byte{0xfd, 0x56, 0x34, 0x12}},

72 {0x0000000000ffffff, []byte{0xfd, 0xff, 0xff, 0xff}},

73 {0x0000000001000000, []byte{0xfe, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}},

schema.rb (https://github.com/mustang1365/start_and_win.git) Ruby · 304 lines

269 t.string "login"

270 t.string "email"

271 t.string "crypted_password"

272 t.string "salt"

273 t.datetime "created_at"

275 t.string "remember_me_token"

276 t.datetime "remember_me_token_expires_at"

277 t.string "reset_password_token"

278 t.datetime "reset_password_token_expires_at"

279 t.datetime "reset_password_email_sent_at"

280 t.datetime "last_login_at"

281 t.datetime "last_logout_at"

292 add_index "users", ["last_logout_at", "last_activity_at"], :name => "index_users_on_last_logout_at_and_last_activity_at"

293 add_index "users", ["remember_me_token"], :name => "index_users_on_remember_me_token"

294 add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token"

295

296 create_table "variants", :force => true do |t|

ecommerce.sql (https://gitlab.com/thoussem/Tunisie-Shop) SQL · 147 lines

100 `titre` varchar(30) NOT NULL,

101 `email` varchar(50) NOT NULL,

102 `password` varchar(30) NOT NULL,

103 `tel` int(8) NOT NULL,

104 `ville` varchar(20) NOT NULL,

117 UNIQUE KEY `email_6` (`email`),

118 UNIQUE KEY `email_7` (`email`),

119 FULLTEXT KEY `password` (`password`)

120 ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=38 ;

121

124 --

125

126 INSERT INTO `utilisateurs` (`id`, `username`, `nom`, `prenom`, `titre`, `email`, `password`, `tel`, `ville`, `codpost`, `codtel`, `adresse1`, `adresse2`) VALUES

127 (37, 't.houssem', 'Trabelsi', 'Houssem', 'mr', 't.houssemg@gmail.com', '123456', 0, '', 0, 0, '', '');

launch.rst (https://github.com/fcr/StarCluster.git) ReStructuredText · 167 lines

25 >>> Master AMI: ami-17b15e7e

26 >>> Creating security group @sc-physicscluster...

27 RESERVATION r-d71f20be 123456789012 default

28 INSTANCE i-10e91578 ami-17b15e7e pending gsg-keypair 0 m1.small ...

29 >>> Launching worker nodes...

30 >>> Node AMI: ami-17b15e7e

31 RESERVATION r-ab1f20c2 123456789012 default

32 INSTANCE i-14e9157c ami-17b15e7e pending gsg-keypair 0 m1.small ...

33 >>> Waiting for cluster to start...

42 >>> Configuring /etc/hosts on each node

43 >>> Configuring NFS...

44 >>> Configuring passwordless ssh for root

45 >>> Configuring passwordless ssh for user: myuser

postgresql.php (https://github.com/Hackwar/joomla-platform.git) PHP · 141 lines

36 * This method is called before the first test of this test class is run.

37 *

38 * An example DSN would be: host=localhost;port=5432;dbname=joomla_ut;user=utuser;pass=ut1234

39 *

40 * @return void

83 break;

84 case 'pass':

85 self::$_options['password'] = $v;

86 break;

87 }

135

136 // Create the PDO object from the DSN and options.

137 $pdo = new PDO($dsn, self::$_options['user'], self::$_options['password']);

138

139 return $this->createDefaultDBConnection($pdo, self::$_options['database']);

chapter_03.scm (https://gitlab.com/o1s2/selflrrn) Scheme · 218 lines

37 (define (incorrect-password ignored-amount)

38 (set! incorrect-password-attempts (inc incorrect-password-attempts))

39 (if (>= incorrect-password-attempts %allowed-attempts)

89 (define (make-account acc-password balance)

90 (let ((incorrect-password-attempts 0) (passwords (list acc-password)))

91 (define %allowed-attempts 3)

92 (define (withdraw amount)

111 (cond ((eq? message 'withdraw) withdraw)

112 ((eq? message 'deposit) deposit)

113 ((eq? message 'add-password) add-password)

114 (else (error "Unknown request -- MAKE-ACCOUNT" m))))

115 incorrect-password))

118 (define (make-joint account acc-password extra-password)

119 ((account acc-password 'add-password) extra-password)

120 account)

121

options_panel.php (https://gitlab.com/inglobe/mgt-clemente-css) PHP · 209 lines

93 </ul>

94 <ul class="formline">

95 <li class="label">Password</li>

96 <li class="value"><input type="text" name="CSV:remotepass"

97 id="CSV:remotepass"

LoadUnidadFuncional.php (https://gitlab.com/cesarsebastian/expensas) PHP · 127 lines

28 public function load(ObjectManager $manager)

29 {

30 $encoder = $this->container->get('security.password_encoder');

31

32 ///////////////////////ALTA UNIDADES FUNCIONALES PRADO////////////////////////////////

telly.config.toml (https://github.com/Artiume/docker.git) TOML · 98 lines

2 [Discovery] # most likely you won't need to change anything here

3 Device-Auth = "telly123" # These settings are all related to how telly identifies

4 Device-ID = "12345678" # itself to Plex.

5 Device-UUID = ""

6 Device-Firmware-Name = "hdhomeruntc_atsc"

45 # UNCOMMENT THIS SECTION

46 # Username = "" # This is under construction; no provider

47 # Password = "" # works with it at this time

48

49 # AT LEAST ONE SOURCE IS REQUIRED #################################################################

55 # IF YOUR PROVIDER IS NOT ONE OF THE ABOVE, CONFIGURE IT AS A "Custom" PROVIDER; SEE BELOW

56 # Username = "YOUR_IPTV_USERNAME"

57 # Password = "YOUR_IPTV_PASSWORD"

58 # THE FOLLOWING KEYS ARE OPTIONAL IN THEORY, REQUIRED IN PRACTICE

59 # Filter = "YOUR|FILTER|*REGEX"

Shared.xsd (https://github.com/zibalas/Learn-Sharp-API-Samples.git) XML Schema · 132 lines

98 <xs:element minOccurs="0" name="Locale" nillable="true" type="xs:string" />

99 <xs:element minOccurs="0" name="Login" nillable="true" type="xs:string" />

100 <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />

101 <xs:element minOccurs="0" name="StudentID" nillable="true" type="xs:string" />

102 <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/Shared.Enums" minOccurs="0" name="TypeID" type="q4:UserTypes" />

login.c (https://github.com/quixadhal/bloodlines.git) C · 117 lines

35

36 varargs string gateway(mixed args){

37 string pass_hash, who, password, ip;

38 string ret = "";

39 int max_tries = 3;

58 if(!strsrch(password,"password=")){

59 password = replace_string(password,"password=","",1);

60 if(grepp(password, "%")){

61 foreach(string key, string val in Specials){

62 password = replace_string(password, key, val);

63 }

64 }

103 ret += "<FORM ACTION=\"login.html\" METHOD=POST>";

104 ret += "username: <INPUT TYPE=TEXT NAME=\"username\" MAXLENGTH=32><BR>";

105 ret += "password: <INPUT TYPE=PASSWORD NAME=\"password\" MAXLENGTH=32>";

106 ret += "<P><INPUT TYPE=SUBMIT VALUE=\"submit\">";

107 ret += "</FORM>";

UserAccountFormValidator.java (https://github.com/WISEngineering-Dev-Group/webapp.git) Java · 109 lines

38 public class UserAccountFormValidator implements Validator {

39

40 protected static final int MAX_PASSWORD_LENGTH = 20;

41

42 /**

55

56 if (userAccountForm.isNewAccount()) {

57 ValidationUtils.rejectIfEmptyOrWhitespace(errors, "userDetails.password",

58 "error.password-not-specified");

62 }

63

64 if (userDetails.getPassword().length() > MAX_PASSWORD_LENGTH) {

65 errors.rejectValue("userDetails.password", "error.password-too-long");

69 if (!StringUtils.isAlphanumeric(userDetails.getPassword())) {

70 errors.rejectValue("userDetails.password", "error.password-illegal-characters");

71 return;

72 }

AuthTest.java (https://bitbucket.org/robeden/intrepid.git) Java · 129 lines

86

87 @Test( expected = ConnectionFailureException.class )

88 public void testUserAuth_badPassword() throws Exception {

89 client_instance.connect( InetAddress.getLoopbackAddress(),

90 server_instance.getServerPort(),

96 VMID server_vmid = client_instance.connect(

97 InetAddress.getLoopbackAddress(), server_instance.getServerPort(),

98 new UserCredentialsConnectionArgs( "reden", "12345".toCharArray() ),

99 null );

100 Assert.assertEquals( server_instance.getLocalVMID(), server_vmid );

120 }

121

122 if ( !"12345".equals( new String( credentials.getPassword() ) ) ) {

123 throw new ConnectionAuthFailureException( "Bad password" );

AccountController.cs (https://github.com/stasberkman/JCE-STD.git) C# · 204 lines

36 return RedirectToAction("moti","Home");

37 }

38 else if (model.UserName == "stasbe" && model.Password == "1234")

39 {

40 return RedirectToAction("stas", "Home");

122 [Authorize]

123 [HttpPost]

124 public ActionResult ChangePassword(ChangePasswordModel model)

125 {

126 if (ModelState.IsValid)

133 {

134 MembershipUser currentUser = Membership.GetUser(User.Identity.Name, true /* userIsOnline */);

135 changePasswordSucceeded = currentUser.ChangePassword(model.OldPassword, model.NewPassword);

136 }

137 catch (Exception)

wallet.md (https://gitlab.com/jslee1/api-v1-client-python) Markdown · 155 lines

6 ```

7 identifier : str

8 password : str

9 service_url : str - URL to an instance of service-my-wallet-v3 (with trailing slash)

10 second_password : str (optional)

16 from blockchain.wallet import Wallet

17

18 wallet = Wallet('ada4e4b6-3c9f-11e4-baad-164230d1df67', 'password123', 'http://localhost:3000')

19 ```

20

test_webrick_server.rb (https://gitlab.com/MichelZuniga/ruby) Ruby · 137 lines

72 @s = XMLRPC::Client.new3(:host => addr.ip_address, :port => addr.ip_port, :use_ssl => use_ssl)

73 @s.user = 'admin'

74 @s.password = 'admin'

75 silent do

76 do_test

78 @s.http.finish

79 @s = XMLRPC::Client.new3(:host => addr.ip_address, :port => addr.ip_port, :use_ssl => use_ssl)

80 @s.user = '01234567890123456789012345678901234567890123456789012345678901234567890123456789'

81 @s.password = 'guest'

apps.amine.bou.readerforselfoss.yml (https://gitlab.com/revuwa/fdroiddata) YAML · 419 lines

28 - appLoginUrl="URL"

29 - appLoginUsername="LOGIN"

30 - appLoginPassword="PASS"

31

32 - versionName: 1618071881-github

39 - appLoginUrl="URL"

40 - appLoginUsername="LOGIN"

41 - appLoginPassword="PASS"

42

43 - versionName: 1618082151-github

50 - appLoginUrl="URL"

51 - appLoginUsername="LOGIN"

52 - appLoginPassword="PASS"

53

54 - versionName: 1618092531-github

reset.tests.js (https://gitlab.com/nioto/michel-app) JavaScript · 378 lines

127 $('#a0-reset_easy_password').val(password);

128 $('#a0-reset_easy_repeat_password').val(password);

129

130 bean.fire($('.a0-reset form')[0], 'submit');

139 var auth0 = this.widget;

140 var username = '1.1.1.1';

141 var password = '12345';

142

143 auth0

215 .once('reset ready', function() {

216 $('#a0-reset_easy_email').val(email);

217 $('#a0-reset_easy_password').val(password);

218 $('#a0-reset_easy_repeat_password').val(password);

283 .once('reset ready', function() {

284 $('#a0-reset_easy_email').val(email);

285 $('#a0-reset_easy_repeat_password').val(password + 'invalid');

286

287 bean.fire($('.a0-reset form')[0], 'submit');

test_forums_post.py (https://gitlab.com/bplatta/proto-api) Python · 345 lines

170 self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)

171 self.assertEqual(response.data, {

172 'forum_password': ['A `forum_password` must be provided if '

173 'forum type is private']

174 })

265 def test_update_forum_private_no_password_fails(self):

266 """

267 Test updating type of forum to private without password fails

268 """

269 forum, p = self.forum_data.create_single_forum__public(user=self.user)

280 self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)

281 self.assertEqual(response.data, {

282 'forum_password': ['A `forum_password` must be provided if '

283 'forum type is private']

284 })

LoginForm.jest.tsx (https://github.com/artsy/force-public.git) TypeScript · 328 lines

103 {

104 email: "foo@bar.com",

105 password: "password123", // pragma: allowlist secret

106 otp_attempt: "123456",

138 expect(props.handleSubmit.mock.calls[0][0]).toEqual({

139 email: "email@email.com",

140 password: "password", // pragma: allowlist secret

141 otpRequired: false,

142 })

292 expect(props.handleSubmit.mock.calls[1][0]).toEqual({

293 email: "email@email.com",

294 password: "password", // pragma: allowlist secret

295 otp_attempt: "111111",

296 otpRequired: true,

306 expect(props.handleSubmit.mock.calls[2][0]).toEqual({

307 email: "email@email.com",

308 password: "password", // pragma: allowlist secret

309 otp_attempt: "123456",

profile_emp.php (https://gitlab.com/batmaster/on-webproject) PHP · 70 lines

36 $name = $r["name"];

37 $lastname = $r["lastname"];

38 $password = $r["password"];

39 $email = $r["email"];

40 $address = $r["address"];

52 <div>นามสกุล: <div class=\"form-group\"><input type=\"text\" class=\"form-control\" value=\"$lastname\"disabled></div></div>

53 <div>อีเมล์: <div class=\"form-group\"><input type=\"text\" class=\"form-control\" value=\"$email\"disabled></div></div>

54 <div>รหัสผ่าน: <div class=\"form-group\"><input type=\"text\" class=\"form-control\" value=\"$password\"disabled></div></div>

55 <div>ที่อยู่: <div class=\"form-group\"><input type=\"text\" class=\"form-control\" value=\"$address\"disabled></div></div>

56 <div>เลขบัตรประชาชน: <div class=\"form-group\"><input type=\"text\" class=\"form-control\" value=\"$id_zen\"disabled></div></div>

GivenEmbeddedViewerAndPersistentDomainObject.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 157 lines

140 employeeVO = viewer.view(employeeDO);

141

142 employeeVO.setPassword("12345678");

143 }

144

151 // TODO: also ... be able to inject EmbeddedViewer as a service itself, if required.

152

153 employeeVO.setPassword("12345678");

154

155 }

registrations_controller.rb (https://github.com/FundingCircle/devise.git) Ruby · 114 lines

25 end

26 else

27 clean_up_passwords(resource)

28 respond_with_navigational(resource) { render_with_scope :new }

29 end

41 self.resource = resource_class.to_adapter.get!(send(:"current_#{resource_name}").to_key)

42

43 if resource.update_with_password(params[resource_name])

44 set_flash_message :notice, :updated if is_navigational_format?

45 sign_in resource_name, resource, :bypass => true

46 respond_with resource, :location => after_update_path_for(resource)

47 else

48 clean_up_passwords(resource)

49 respond_with_navigational(resource){ render_with_scope :edit }

50 end

registerable_test.rb (https://github.com/kenan-memis/university-web.git) Ruby · 153 lines

62

63 fill_in 'email', :with => 'user@test.com'

64 fill_in 'password', :with => '123456'

65 fill_in 'password confirmation', :with => '123456'

90

91 fill_in 'email', :with => 'user.new@email.com'

92 fill_in 'current password', :with => '123456'

93 click_button 'Update'

94

121 fill_in 'password confirmation', :with => 'pas123'

122 fill_in 'current password', :with => '123456'

123 click_button 'Update'

124

136 fill_in 'password confirmation', :with => ''

137 fill_in 'current password', :with => '123456'

138 click_button 'Update'

139

elavon_test.rb (https://github.com/Epictetus/Active-Merchant-Paypal-Recurring-payment-support-for-rails-2.x.git) Ruby · 139 lines

6 :login => 'login',

7 :user => 'user',

8 :password => 'password'

9 )

10

24 assert response = @gateway.purchase(@amount, @credit_card, @options)

25 assert_success response

26 assert_equal '123456', response.authorization

27 assert response.test?

28 end

35 assert_success response

36

37 assert_equal '123456', response.authorization

38 assert_equal "APPROVED", response.message

39 assert response.test?

index_new.html.erb (https://github.com/neosoft123/bencho.git) Ruby HTML · 111 lines

47 </p>

48 <p>

49 <label>Password</label> <%= f.password_field :password %>

50 </p>

51 <p>

73 </p>

74 <p>

75 <%= f.label :password, 'Password:' %> <%= f.password_field :password %>

76 </p>

77 <p class="checkbox">

schema.rb (https://github.com/zhalowz/Acmeca.git) Ruby · 118 lines

102 create_table "users", :force => true do |t|

103 t.string "email", :default => "", :null => false

104 t.string "encrypted_password", :default => "", :null => false

105 t.string "reset_password_token"

106 t.datetime "reset_password_sent_at"

107 t.datetime "remember_created_at"

108 t.integer "sign_in_count", :default => 0

114

115 add_index "users", ["email"], :name => "index_users_on_email", :unique => true

116 add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true

117

118 end

server.cpp (https://bitbucket.org/Tuxilero/ipk-2.git) C++ · 269 lines

165 parsed.push_back(radek.substr(parser_start,parser_end-parser_start)); // 1

166

167 // PASSWORD

168 parser_start = parser_end;

169 parser_end = radek.find(":",parser_start+1);

block_reverse_http.asm (https://github.com/icewall/metasploit-framework.git) Assembly · 141 lines

36 push ecx ; dwFlags

37 push byte 3 ; DWORD dwService (INTERNET_SERVICE_HTTP)

38 push ecx ; password

39 push ecx ; username

40 push dword 4444 ; PORT

94

95 server_uri:

96 db "/12345", 0x00

97

98 failure:

acceptance_helper.rb (https://github.com/amaierhofer/rstat.us.git) Ruby · 76 lines

35 end

36

37 def log_in(user, uid = 12345)

38 if user.is_a? User

39 user = user.username

52 within("form") do

53 fill_in "username", :with => user.username

54 fill_in "password", :with => "anything"

55 end

56

KanbanDataBuilderTest.scala (https://github.com/garethdevans/RallyKanbanData.git) Scala · 104 lines

11 var fakeKanbanStateMatcher = new FakeKanbanStateMatcher

12 var kanbanDataBuilder = new KanbanDataBuilder(new FakeRepository, fakeKanbanStateMatcher, new FakeRevisionParser, new FakeDateParser)

13 var kanbanStates = kanbanDataBuilder.build(new Project("name", "uri", List(), "username", "password"), "revisionHistoryUri")

14 fakeKanbanStateMatcher.matchCounter should equal (1)

15 }

19 var fakeRevisionParser = new FakeRevisionParser

20 var kanbanDataBuilder = new KanbanDataBuilder(new FakeRepository, fakeKanbanStateMatcher, fakeRevisionParser, new FakeDateParser)

21 var kanbanStates = kanbanDataBuilder.build(new Project("name", "uri", List(), "username", "password"), "revisionHistoryUri")

22 kanbanStates.length should be (4)

23 kanbanStates.count(k => k.state == "KANBANSTATE changed from [Dev (Stories)] to [Release Ready]" && k.date.getTime() == 12345 ) should be (1)

24 kanbanStates.count(k => k.state == "NAME changed from [Bill] to [Bob], KANBANSTATE changed from [Dev (Stories)] to [Test (Stories)]" && k.date.getTime() == 12345 ) should be (1)

25 kanbanStates.count(k => k.state == "READY changed from [false] to [true]" && k.date.getTime() == 12345 ) should be (1)

26 kanbanStates.count(k => k.state == "SCHEDULE STATE changed from [In-Progress] to [Completed], TASK REMAINING TOTAL changed from [1.0] to [0.0]" && k.date.getTime() == 12345 ) should be (1)

27 fakeRevisionParser.parseCounter should be (4)

28 }

adb.h (https://github.com/rhuitl/uClinux.git) C Header · 134 lines

22 typedef long osa_adb_ret_t;

23

24 #define OSA_ADB_POLICY_DB_MAGIC 0x12345A00

25 #define OSA_ADB_PRINC_DB_MAGIC 0x12345B00

29 #define OSA_ADB_PERMANENT 0x7003

30

31 #define OSA_ADB_PRINC_VERSION_MASK 0x12345C00

32 #define OSA_ADB_PRINC_VERSION_1 0x12345C01

33 #define OSA_ADB_POLICY_VERSION_MASK 0x12345D00

34 #define OSA_ADB_POLICY_VERSION_1 0x12345D01

51 } osa_adb_db_ent, *osa_adb_db_t, *osa_adb_princ_t, *osa_adb_policy_t;

52

53 /* an osa_pw_hist_ent stores all the key_datas for a single password */

54 typedef struct _osa_pw_hist_t {

55 int n_key_data;

tc_gdata_client_calendar.rb (https://github.com/dmiskiew/gdata.git) Ruby · 41 lines

23 def setup

24 @cl = GData::Client::Calendar.new

25 @cl.clientlogin(self.get_username, self.get_password)

26 end

27

34

35 #login again to make sure the session cookie gets cleared

36 @cl.clientlogin(self.get_username, self.get_password)

37 self.assert_nil(@cl.session_cookie, 'Should clear session cookie.')

38 end

remote_beanstream_interac_test.rb (https://github.com/bennett/xlsuite.git) Ruby · 53 lines

13 :name => 'xiaobo zzz',

14 :phone => '555-555-5555',

15 :address1 => '1234 Levesque St.',

16 :address2 => 'Apt B',

17 :city => 'Montreal',

45 :merchant_id => '',

46 :login => '',

47 :password => ''

48 )

49 assert response = gateway.purchase(@amount, @options)

PasswordEncoder.html (https://bitbucket.org/RobertoDiBi/java3-project.git) HTML · 145 lines

6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">

7 <TITLE>

8 Uses of Class org.jasypt.spring.security3.PasswordEncoder (JASYPT: Java Simplified Encryption 1.9.2 API)

9 </TITLE>

10

17 {

18 if (location.href.indexOf('is-external=true') == -1) {

19 parent.document.title="Uses of Class org.jasypt.spring.security3.PasswordEncoder (JASYPT: Java Simplified Encryption 1.9.2 API)";

20 }

21 }

41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>

42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>

43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/jasypt/spring/security3/PasswordEncoder.html" title="class in org.jasypt.spring.security3"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>

44 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>

45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>

PasswordEncoder.html (https://bitbucket.org/RobertoDiBi/java3-project.git) HTML · 145 lines

6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">

7 <TITLE>

8 Uses of Class org.jasypt.spring.security2.PasswordEncoder (JASYPT: Java Simplified Encryption 1.9.2 API)

9 </TITLE>

10

17 {

18 if (location.href.indexOf('is-external=true') == -1) {

19 parent.document.title="Uses of Class org.jasypt.spring.security2.PasswordEncoder (JASYPT: Java Simplified Encryption 1.9.2 API)";

20 }

21 }

41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>

42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>

43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/jasypt/spring/security2/PasswordEncoder.html" title="class in org.jasypt.spring.security2"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>

44 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>

45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>

PasswordException.html (http://vt-middleware.googlecode.com/svn/) HTML · 164 lines

84 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">

85 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">

86 Uses of <A HREF="../../../../../edu/vt/middleware/password/PasswordException.html" title="class in edu.vt.middleware.password">PasswordException</A> in <A HREF="../../../../../edu/vt/middleware/password/package-summary.html">edu.vt.middleware.password</A></FONT></TH>

87 </TR>

88 </TABLE>

92 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

93 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">

94 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../edu/vt/middleware/password/package-summary.html">edu.vt.middleware.password</A> that throw <A HREF="../../../../../edu/vt/middleware/password/PasswordException.html" title="class in edu.vt.middleware.password">PasswordException</A></FONT></TH>

95 </TR>

96 <TR BGCOLOR="white" CLASS="TableRowColor">

97 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">

98 <CODE>&nbsp;boolean</CODE></FONT></TD>

99 <TD><CODE><B>PasswordChecker.</B><B><A HREF="../../../../../edu/vt/middleware/password/PasswordChecker.html#checkPassword(edu.vt.middleware.password.Password)">checkPassword</A></B>(<A HREF="../../../../../edu/vt/middleware/password/Password.html" title="class in edu.vt.middleware.password">Password</A>&nbsp;password)</CODE>

100

101 <BR>

m160614_231609_add_defaultRole_and_root_user.php (https://gitlab.com/Georgiy.Zhegusov/museum_documents) PHP · 63 lines

38 'phone' => '89031867393',

39 'authKey' => 'CqDnVMGWs4N8uBqQU0Op1O5ER2NkiSkY',

40 'password' => crypt('123456789', "$5\$rounds=132000\$gaur-@mail.ru"),

41 'groupId' => 1,

42 ]);

cmserr.h (https://bitbucket.org/freebsd/freebsd-base.git) C Header · 202 lines

31 # define CMS_F_CMS_ADD0_CERT 164

32 # define CMS_F_CMS_ADD0_RECIPIENT_KEY 100

33 # define CMS_F_CMS_ADD0_RECIPIENT_PASSWORD 165

34 # define CMS_F_CMS_ADD1_RECEIPTREQUEST 158

35 # define CMS_F_CMS_ADD1_RECIPIENT_CERT 101

46 # define CMS_F_CMS_DECRYPT 112

47 # define CMS_F_CMS_DECRYPT_SET1_KEY 113

48 # define CMS_F_CMS_DECRYPT_SET1_PASSWORD 166

49 # define CMS_F_CMS_DECRYPT_SET1_PKEY 114

50 # define CMS_F_CMS_DIGESTALGORITHM_FIND_CTX 115

91 # define CMS_F_CMS_RECIPIENTINFO_PWRI_CRYPT 167

92 # define CMS_F_CMS_RECIPIENTINFO_SET0_KEY 144

93 # define CMS_F_CMS_RECIPIENTINFO_SET0_PASSWORD 168

94 # define CMS_F_CMS_RECIPIENTINFO_SET0_PKEY 145

95 # define CMS_F_CMS_SD_ASN1_CTRL 170

imified_spec.rb (https://github.com/karayusuf/imified.git) Ruby · 153 lines

12 config.botkey = 'my botkey'

13 config.email_address = 'my email address'

14 config.password = 'my super secret password'

15 end

16 end

26 it "should set the password to the specified value" do

27 Imified.password.should eql('my super secret password')

28 end

29

66 mock_request.

67 should_receive(:add_field).

68 with('userkey', '123456789')

69 Imified.send_message('A Message', :to => 'me@jkarayusuf.com')

70 end

130 config.botkey = 'botkey'

131 config.email_address = 'test email'

132 config.password = 'super secret'

133 end

134

uRDPHash.pas (http://theunknownones.googlecode.com/svn/trunk/) Pascal · 221 lines

36 {$ifndef FPC}function DecryptRDPPassword(sPasswordHash: string): string;{$endif}

37 function BlobDataToHexStr(P: PByte; I: Integer): string;

38 function PasswordHashToBlobData(sPasswordHash: string): DATA_BLOB;

39

40 implementation

126 { encrypted password hash }

127 { an RDP file }

128 { sPassword: plaintext password }

129 {***********************************************************}

130 function CryptRDPPassword(sPassword: string): string;

183 begin

184

185 DataIn := PasswordHashToBlobData(sPasswordHash);

186

187 DataOut.cbData := 0;

custom_methods_test.rb (https://github.com/rpattabi/ironruby.git) Ruby · 101 lines

10 @matz_array = [{ :id => 1, :name => 'Matz' }].to_xml(:root => 'people')

11 @ryan = { :name => 'Ryan' }.to_xml(:root => 'person')

12 @addy = { :id => 1, :street => '12345 Street' }.to_xml(:root => 'address')

13 @addy_deep = { :id => 1, :street => '12345 Street', :zip => "27519" }.to_xml(:root => 'address')

31 mock.put "/people/1/addresses/1/normalize_phone.xml?locale=US", {}, nil, 204

32 mock.put "/people/1/addresses/sort.xml?by=name", {}, nil, 204

33 mock.post "/people/1/addresses/new/link.xml", {}, { :street => '12345 Street' }.to_xml(:root => 'address'), 201, 'Location' => '/people/1/addresses/2.xml'

34 end

35

36 Person.user = nil

37 Person.password = nil

38 end

39

74 # With nested resources

75 assert_equal StreetAddress.find(1, :params => { :person_id => 1 }).get(:deep),

76 { "id" => 1, "street" => '12345 Street', "zip" => "27519" }

77 assert_equal ActiveResource::Response.new("", 204, {}),

78 StreetAddress.find(1, :params => { :person_id => 1 }).put(:normalize_phone, :locale => 'US')

test_store_location.py (https://github.com/griddynamics/glance.git) Python · 284 lines

39 good_store_uris = [

40 'https://user:pass@example.com:80/images/some-id',

41 'http://images.oracle.com/123456',

42 'swift://account:user:pass@authurl.com/container/obj-id',

43 'swift+https://account:user:pass@authurl.com/container/obj-id',

103 self.assertEqual(uri, loc.get_uri())

104

105 uri = 'https://user:password@example.com:8080/images/container/1'

106 loc.parse_uri(uri)

107

109 self.assertEqual("example.com:8080", loc.netloc)

110 self.assertEqual("user", loc.user)

111 self.assertEqual("password", loc.password)

112 self.assertEqual("/images/container/1", loc.path)

113 self.assertEqual(uri, loc.get_uri())

update.blade.php (https://gitlab.com/yamenpun/repair-tracking-system) PHP · 150 lines

79

80 <div class="form-group">

81 <label class="col-sm-3 control-label no-padding-right" for="password">Password</label>

82

83 <div class="col-sm-6">

100

101 <div class="form-group">

102 <label class="col-sm-3 control-label no-padding-right" for="password_confirmation">Confirm Password</label>

103

104 <div class="col-sm-6">

105

106 {!! Form::password('password_confirmation', null, [

107 "kl_virtual_keyboard_secure_input" => "on",

108 'id' => 'password_confirmation',

gitlab-shell.rb (https://gitlab.com/ruvasik/omnibus-gitlab) Ruby · 121 lines

102 :redis_port => redis_port,

103 :redis_socket => redis_socket,

104 :redis_password => node['gitlab']['gitlab-rails']['redis_password'],

105 :redis_database => node['gitlab']['gitlab-rails']['redis_database'],

106 :log_file => File.join(log_directory, "gitlab-shell.log"),

test_views.py (https://gitlab.com/brenddongontijo/SMI-UnB) Python · 140 lines

58

59 self.assertRedirects(response, reverse('my_account:index'))

60 self.assertTrue(check_password(new_password, user.password))

61

62 def test_not_change_password_with_incorrect_old_password(self):

65 url = reverse('my_account:change_password')

66

67 new_password = 'newpassword'

68

69 params = {

70 'old_password': 'wrongpassword',

71 'new_password1': new_password,

72 'new_password2': new_password,

124

125 def test_not_self_edit_user_with_first_name_too_long(self):

126 self.client.login(username=self.superuser.email, password='12345')

127

128 url = reverse('my_account:self_edit')

helpers.rb (https://github.com/bwalding/devise.git) Ruby · 60 lines

26 { :username => "usertest",

27 :email => generate_unique_email,

28 :password => '123456',

29 :password_confirmation => '123456' }.update(attributes)

access_test.rb (https://github.com/kenan-memis/university-web.git) Ruby · 50 lines

6 setup do

7 @user = Factory(:user, :email => "rmu@test.com",

8 :password => "123456", :password_confirmation => "123456")

9 end

10

17

18 fill_in "Email", :with => "rmu@test.com"

19 fill_in "Password", :with => "123456"

20 click_button "Sign in"

21

30

31 fill_in "Email", :with => "rmu@test.com"

32 fill_in "Password", :with => "654321"

33 click_button "Sign in"

34

Resource.designer.cs (https://github.com/decriptor/yastroid.git) C# · 438 lines

310

311 // aapt resource value: 0x7f050016

312 public const int add_server_password = 2131034134;

313

314 // aapt resource value: 0x7f050014

jigoshop_shortcodes.php (https://github.com/steveclarkcouk/jigoshop.git) PHP · 256 lines

251 add_shortcode('jigoshop_my_account', 'get_jigoshop_my_account');

252 add_shortcode('jigoshop_edit_address', 'get_jigoshop_edit_address');

253 add_shortcode('jigoshop_change_password', 'get_jigoshop_change_password');

254 add_shortcode('jigoshop_view_order', 'get_jigoshop_view_order');

255 add_shortcode('jigoshop_pay', 'get_jigoshop_pay');

oracle.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 127 lines

22 <parameter name="sid" default="SID" description="Oracle SID"/>

23 <parameter name="user" default="scott" description="Oracle user"/>

24 <parameter name="password" default="tiger" description="Oracle password"/>

25 <string>jdbc:oracle:thin:@{host}:{port}:{sid}</string>

26 </connection>

build-impl.xml (https://bitbucket.org/atchariya/nokia.git) XML · 1247 lines

481 <nb-enter-password keystore="${sign.keystore}" keyalias="${sign.alias}" passwordproperty="sign.alias.password"/>

482 </target>

483 <target name="set-password" depends="set-password-init,set-keystore-password,set-alias-password"/>

484 <!--create JAD-->

485 <target name="add-configuration" unless="contains.manifest.configuration">

622 <!--update-jad-->

623 <target name="update-jad" if="cldc-platform.trigger">

624 <nb-jad jadfile="${dist.dir}/${dist.jad}" jarfile="${dist.dir}/${dist.jar}" url="${dist.jar}" sign="${sign.enabled}" keystore="${sign.keystore}" keystorepassword="${sign.keystore.password}" alias="${sign.alias}" aliaspassword="${sign.alias.password}" encoding="UTF-8"/>

625 </target>

626 <target name="sign-jar" if="sign.jar.trigger">

664 <target name="override-jad" if="override.jarurl.trigger">

665 <property name="deployment.jarurl" value="${dist.jar}"/>

666 <nb-jad jadfile="${dist.dir}/${dist.jad}" jarfile="${dist.dir}/${dist.jar}" url="${deployment.jarurl}" sign="${sign.enabled}" keystore="${sign.keystore}" keystorepassword="${sign.keystore.password}" alias="${sign.alias}" aliaspassword="${sign.alias.password}" encoding="UTF-8"/>

667 </target>

668 <!--semc-make-sis-->

server.rb (https://bitbucket.org/aarmea/markdown-server.git) Ruby · 101 lines

96

97 execute "mysql-install-privileges" do

98 command "/usr/bin/mysql -u root -p#{node[:mysql][:server_root_password]} < /etc/mysql/grants.sql"

99 action :nothing

100 subscribes :run, resources(:template => "/etc/mysql/grants.sql"), :immediately

ant-complete.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 2638 lines

466 <attribute name="id" type="ID" />

467 <attribute name="passfile" type="CDATA" />

468 <attribute name="password" type="CDATA" />

469 <attribute name="taskname" type="CDATA" />

470 </element>

832 <attribute name="newer" type="(true|false|on|off|yes|no)" />

833 <attribute name="passive" type="(true|false|on|off|yes|no)" />

834 <attribute name="password" type="CDATA" />

835 <attribute name="port" type="CDATA" />

836 <attribute name="remotedir" type="CDATA" />

german.qph (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 1076 lines

639 </phrase>

640 <phrase>

641 <source>password</source>

642 <target>Kennwort</target>

643 </phrase>

curl.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 2142 lines

467 that failed */

468 CURLE_SSL_ENGINE_INITFAILED, /* 66 - failed to initialise ENGINE */

469 CURLE_LOGIN_DENIED, /* 67 - user, password or similar was not

470 accepted and we failed to login */

471 CURLE_TFTP_NOTFOUND, /* 68 - file not found on server */

519 /* These are scheduled to disappear by 2009 */

520 #define CURLE_OBSOLETE CURLE_OBSOLETE50 /* noone should be using this! */

521 #define CURLE_BAD_PASSWORD_ENTERED CURLE_OBSOLETE46

522 #define CURLE_BAD_CALLING_ORDER CURLE_OBSOLETE44

523 #define CURLE_FTP_USER_PASSWORD_INCORRECT CURLE_OBSOLETE10

595 #define CURLSSH_AUTH_NONE 0 /* none allowed, silly but complete */

596 #define CURLSSH_AUTH_PUBLICKEY (1<<0) /* public/private key files */

597 #define CURLSSH_AUTH_PASSWORD (1<<1) /* password */

598 #define CURLSSH_AUTH_HOST (1<<2) /* host key files */

599 #define CURLSSH_AUTH_KEYBOARD (1<<3) /* keyboard interactive */

qsql_odbc.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 158 lines

129 bool open(const QString& db,

130 const QString& user,

131 const QString& password,

132 const QString& host,

133 int port,

fi.po (https://bitbucket.org/ultra_iter/vim-qt.git) Portable Object · 6527 lines

27 "Content-Transfer-Encoding: 8bit\n"

28

29 msgid "E831: bf_key_init() called with empty password"

30 msgstr "E831: bf_key_init() tyhjהllה salasanalla"

31

ja.po (https://bitbucket.org/ultra_iter/vim-qt.git) Portable Object · 6493 lines

19 "Content-Transfer-Encoding: 8-bit\n"

20

21 msgid "E831: bf_key_init() called with empty password"

22 msgstr "E831: bf_key_init() が空パスワードで呼び出されました"

23

XMLHttpRequest.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1131 lines

449 }

450

451 void XMLHttpRequest::open(const String& method, const KURL& url, bool async, const String& user, const String& password, ExceptionCode& ec)

452 {

453 KURL urlWithCredentials(url);

454 urlWithCredentials.setUser(user);

455 urlWithCredentials.setPass(password);

456

457 open(method, urlWithCredentials, async, ec);

qsocks5socketengine.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1930 lines

466 }

467

468 QSocks5PasswordAuthenticator::QSocks5PasswordAuthenticator(const QString &userName, const QString &password)

469 {

470 this->userName = userName;

471 this->password = password;

472 }

473

593 QSOCKS5_D_DEBUG << "using username/password authentication; user =" << proxyInfo.user();

594 data->authenticator = new QSocks5PasswordAuthenticator(proxyInfo.user(), proxyInfo.password());

595 } else {

596 QSOCKS5_D_DEBUG << "not using authentication";

737 proxyInfo.setPassword(auth.password());

738 data->authenticator = new QSocks5PasswordAuthenticator(proxyInfo.user(), proxyInfo.password());

739

740 data->controlSocket->blockSignals(true);