- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for setPassword (0.29 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
port, protocol, "", authMethod); if (auth == null) return null; user = auth.getUserName(); password = new String(auth.getPassword()); } catch (Exception ex) { } } Type2Message type2 = (Type2Message) message; message = new Type3Message(type2, password, domain, user,
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
* object which will be the case when NTLM HTTP Authentication is * used. There is no way to retrieve a users password in plain text unless * it is supplied by the user at runtime. */ public String getPassword() { return password; } /** * Return the domain and username in the format: * <tt>domain\\username</tt>. This is equivalent to <tt>toString()</tt>. */ public String getName() {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 22.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
assertNotNull(ntcreds.getUserDomain()); if ( dom != null ) { assertEquals(dom, ntcreds.getUserDomain()); } assertNotNull(ntcreds.getPassword()); assertEquals(pass, ntcreds.getPassword()); f.exists(); } } // #68 @Test public void testPoolLogonSuccess () throws CIFSException, UnknownHostException {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
throw new RuntimeException("Plain text passwords are disabled"); } else { // plain text String password = a.getPassword(); this.lmHash = new byte[ ( password.length() + 1 ) * 2]; this.ntHash = new byte[0]; writeString(password, this.lmHash, 0); }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Mar 17 10:20:23 GMT 2019 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
} } else if ( cb instanceof PasswordCallback ) { PasswordCallback pc = (PasswordCallback) cb; if ( this.getPassword() != null ) { pc.setPassword(this.getPassword().toCharArray()); } } } }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
return new Type3Message( this.transportContext, msg2, this.targetName, this.auth.isGuest() ? this.transportContext.getConfig().getGuestPassword() : this.auth.getPassword(), this.auth.isGuest() ? null : this.auth.getUserDomain(), this.auth.isGuest() ? this.transportContext.getConfig().getGuestUsername() : this.auth.getUsername(), this.workstation,
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Tue Jul 07 12:07:20 GMT 2020 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
Assert.assertEquals("b@r", na.getPassword()); } try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) { Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo()); NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class); Assert.assertEquals("b@r", na.getPassword()); } } @Test
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
return ntlm.type == this.type && Objects.equals(domA, domB) && ntlm.getUsername().equalsIgnoreCase(this.getUsername()) && Objects.equals(getPassword(), ntlm.getPassword()); } return false; } /** * Return the upcased username hash code. */ @Override public int hashCode () {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Tue Jul 07 12:07:20 GMT 2020 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
String domain = npa.getUserDomain(); String user = !npa.isAnonymous() ? npa.getUsername() : null; String password = npa.getPassword(); String userInfo = this.url.getUserInfo(); if ( userInfo != null ) { userInfo = URLDecoder.decode(userInfo, "UTF-8");
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 25.5K bytes - Viewed (0)