- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getUserDomain (0.12 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
if ( this.isUseUnicode() ) this.accountName = this.accountName.toUpperCase(); this.primaryDomain = a.getUserDomain() != null ? a.getUserDomain().toUpperCase() : "?"; } else { this.accountName = ""; this.primaryDomain = ""; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 17 10:20:23 UTC 2019 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
NtlmPasswordAuthenticator ntlm = (NtlmPasswordAuthenticator) obj; String domA = ntlm.getUserDomain() != null ? ntlm.getUserDomain().toUpperCase() : null; String domB = this.getUserDomain() != null ? this.getUserDomain().toUpperCase() : null; return ntlm.type == this.type && Objects.equals(domA, domB) && ntlm.getUsername().equalsIgnoreCase(this.getUsername())
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
NtlmPasswordAuthenticator setCredsNtlm = setCreds.unwrap(NtlmPasswordAuthenticator.class); assertEquals("TEST", setCredsNtlm.getUserDomain()); assertEquals("test-user", setCredsNtlm.getUsername()); assertEquals("test-pw", setCredsNtlm.getPassword()); assertThat("anonymous", setCredsNtlm.isAnonymous(), CoreMatchers.is(false)); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
return new Type3Message( this.transportContext, msg2, this.targetName, this.auth.getNTHash(), this.auth.getUserDomain(), this.auth.getUsername(), this.workstation, this.ntlmsspFlags); } return new Type3Message( this.transportContext,
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/Credentials.java
*/ <T extends Credentials> T unwrap ( Class<T> type ); /** * @return the domain the user account is in */ String getUserDomain (); /** * @return whether these are anonymous credentials */ boolean isAnonymous (); /** * @return whether these are guest credentials */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
private Map<String, Map<String, CacheEntry<DfsReferralDataInternal>>> getTrustedDomains ( CIFSContext tf ) throws SmbAuthException { if ( tf.getConfig().isDfsDisabled() || tf.getCredentials().getUserDomain() == null || tf.getCredentials().getUserDomain().isEmpty() ) { return null; } if ( this._domains != null && System.currentTimeMillis() > this._domains.expiration ) { this._domains = null; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:07:29 UTC 2023 - 29.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
* * @see java.lang.Object#hashCode() */ @Override public int hashCode () { return super.hashCode(); } @Override public String getUserDomain () { if ( this.realm == null && this.getSubject() != null ) { Set<Principal> pr = this.getSubject().getPrincipals(); for ( Iterator<Principal> ite = pr.iterator(); ite.hasNext(); ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 13K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
assertNotNull(ntcreds.getUsername()); assertEquals(user, ntcreds.getUsername()); assertNotNull(ntcreds.getUserDomain()); if ( dom != null ) { assertEquals(dom, ntcreds.getUserDomain()); } assertNotNull(ntcreds.getPassword()); assertEquals(pass, ntcreds.getPassword()); f.exists(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
return; } HttpSession ssn = request.getSession(); ssn.setAttribute("NtlmHttpAuth", ntlm); ssn.setAttribute("ntlmdomain", ntlm.getUserDomain()); ssn.setAttribute("ntlmuser", ntlm.getUsername()); } else { HttpSession ssn = request.getSession(false);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/KerberosTest.java
} } @Override public Kerb5Authenticator clone () { Kerb5Authenticator auth = new RefreshableKerb5Authenticator(getSubject(), getUserDomain(), getUser(), getPassword()); cloneInternal(auth, this); return auth; } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 11.5K bytes - Viewed (0)