- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for UniAddress (0.07 sec)
-
src/main/java/jcifs/netbios/UniAddress.java
} /** * Compare two addresses for equality. Two <code>UniAddress</code>s are equal * if they are both <code>UniAddress</code>' and refer to the same IP address. */ @Override public boolean equals(final Object obj) { return obj instanceof UniAddress && this.addr.equals(((UniAddress) obj).addr); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
UniAddress dc = mock(UniAddress.class); NtlmChallenge nc = new NtlmChallenge(challenge, dc); assertSame(challenge, nc.challenge); assertSame(dc, nc.dc); } @Test @DisplayName("Constructor accepts null challenge") void testConstructorAcceptsNullChallenge() { UniAddress dc = mock(UniAddress.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
UniAddress ua = new UniAddress(dummy); assertSame(dummy, ua.getAddress(), "getAddress should return the wrapped address"); } @Test void getHostNameDelegatesToWrappedInetAddress() { InetAddress dummy = mock(InetAddress.class); when(dummy.getHostName()).thenReturn("host.example.com"); UniAddress ua = new UniAddress(dummy);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
import jcifs.smb1.Config; import jcifs.smb1.UniAddress; import jcifs.smb1.util.LogStream; @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class DfsTest { @Mock private NtlmPasswordAuthentication auth; @Mock private SmbTransport smbTransport; @Mock private UniAddress uniAddress; @Mock private DfsReferral dfsReferral;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmChallenge.java
*/ public byte[] challenge; /** * The domain controller address that issued the challenge. */ public UniAddress dc; NtlmChallenge(final byte[] challenge, final UniAddress dc) { this.challenge = challenge; this.dc = dc; } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
// To instantiate the non-static inner class ServerData, we need an instance of the outer class SmbTransport. UniAddress uniAddress = new UniAddress(InetAddress.getByName("127.0.0.1")); SmbTransport transport = new SmbTransport(uniAddress, 445, null, 0); serverData = transport.new ServerData(); response = new SmbComNegotiateResponse(serverData); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmChallenge.java
public byte[] challenge; /** * Server address */ public UniAddress dc; /** * Creates a new NTLM challenge with the specified parameters. * @param challenge the NTLM challenge bytes * @param dc the domain controller address */ public NtlmChallenge(final byte[] challenge, final UniAddress dc) { this.challenge = challenge; this.dc = dc; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
UniAddress dc; final boolean offerBasic = enableBasic && (insecureBasic || request.isSecure()); final String msg = request.getHeader("Authorization"); if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) { if (loadBalance) { dc = new UniAddress(NbtAddress.getByName(domainController, 0x1C, null));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
/** * Authenticate arbitrary credentials represented by the * <code>NtlmPasswordAuthentication</code> object against the domain controller * specified by the <code>UniAddress</code> parameter. If the credentials are * not accepted, an <code>SmbAuthException</code> will be thrown. If an error * occurs an <code>SmbException</code> will be thrown. If the credentials are
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
/** * Determines the address of a host given it's host name. The name can be a NetBIOS name like * "freto" or an IP address like "192.168.1.15". It cannot be a DNS name; * the analygous {@link jcifs.netbios.UniAddress} or {@link java.net.InetAddress} * <code>getByName</code> methods can be used for that. * * @param host * hostname to resolve * @return the resolved address
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0)