- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for getUserName (0.1 sec)
-
src/test/java/jcifs/tests/ContextConfigTest.java
NtlmPasswordAuthenticator ntlmAnonCreds = anonCreds.unwrap(NtlmPasswordAuthenticator.class); assertEquals("", ntlmAnonCreds.getUsername()); assertEquals("", ntlmAnonCreds.getPassword()); assertThat("anonymous", ntlmAnonCreds.isAnonymous(), CoreMatchers.is(true));
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
StringBuilder buffer = new StringBuilder(256); Proxy proxy = repository.getProxy(); if (proxy != null) { if (proxy.getUserName() != null) { int hash = (proxy.getUserName() + proxy.getPassword()).hashCode(); buffer.append(hash).append('@'); } buffer.append(proxy.getHost()).append(':').append(proxy.getPort()).append('>');
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java
smbAuth.setServer(fileAuth.getHostname()); smbAuth.setPort(fileAuth.getPort() == null ? -1 : fileAuth.getPort()); smbAuth.setUsername(fileAuth.getUsername()); smbAuth.setPassword(fileAuth.getPassword()); smbAuthList.add(smbAuth); final org.codelibs.fess.crawler.client.smb1.SmbAuthentication smb1Auth =
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
String domB = this.getUserDomain() != null ? this.getUserDomain().toUpperCase() : null; 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. */
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/main/java/jcifs/smb/NtlmContext.java
this.transportContext, msg2, this.targetName, this.auth.getNTHash(), this.auth.getUserDomain(), this.auth.getUsername(), this.workstation, this.ntlmsspFlags); } return new Type3Message( this.transportContext, msg2, this.targetName,
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 15.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
Authentication result = null; if (auth != null) { AuthenticationBuilder authBuilder = new AuthenticationBuilder(); authBuilder.addUsername(auth.getUsername()).addPassword(auth.getPassword()); authBuilder.addPrivateKey(auth.getPrivateKey(), auth.getPassphrase()); result = authBuilder.build(); } return result; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
assertTrue(creds instanceof NtlmPasswordAuthenticator); NtlmPasswordAuthenticator ntcreds = (NtlmPasswordAuthenticator) creds; assertNotNull(ntcreds.getUsername()); assertEquals(user, ntcreds.getUsername()); assertNotNull(ntcreds.getUserDomain()); if ( dom != null ) { assertEquals(dom, ntcreds.getUserDomain()); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/io/TempFileCreator.java
try { UserPrincipal user = FileSystems.getDefault() .getUserPrincipalLookupService() .lookupPrincipalByName(getUsername()); ImmutableList<AclEntry> acl = ImmutableList.of( AclEntry.newBuilder() .setType(ALLOW) .setPrincipal(user)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 12.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
for (Proxy proxy : decrypted.getProxies()) { AuthenticationBuilder authBuilder = new AuthenticationBuilder(); authBuilder.addUsername(proxy.getUsername()).addPassword(proxy.getPassword()); proxySelector.add( new org.eclipse.aether.repository.Proxy(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 25.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
} public static OptionalEntity<DuplicateHost> getDuplicateHost(final CreateForm form) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final String username = systemHelper.getUsername(); final long currentTime = systemHelper.getCurrentTimeAsLong(); return getEntity(form, username, currentTime).map(entity -> { entity.setUpdatedBy(username);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13.3K bytes - Viewed (0)