- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getNetbiosName (0.51 sec)
-
src/test/java/jcifs/smb/SSPContextTest.java
throw new CIFSException("invalid offset/length"); } return Arrays.copyOfRange(token, off, off + len); } @Override public String getNetbiosName() { return this.nbName; } @Override public void dispose() throws CIFSException { if (this.disposed) { throw new CIFSException("already disposed");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
} @Test @DisplayName("getNetbiosName returns null and does not call delegate") void testGetNetbiosName() { SpnegoContext ctx = newContext(); // The mock setup is unnecessary since we never call it assertNull(ctx.getNetbiosName()); verify(this.mechContext, never()).getNetbiosName(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertNotNull(context); assertFalse(context.isEstablished()); assertNull(context.getServerChallenge()); assertNull(context.getSigningKey()); assertNull(context.getNetbiosName()); int expectedFlags = NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM2 | NtlmFlags.NTLMSSP_NEGOTIATE_128
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
byte[] initSecContext(byte[] token, int off, int len) throws CIFSException; /** * Gets the NetBIOS name of the remote endpoint. * @return the name of the remote endpoint */ String getNetbiosName(); /** * Disposes of the security context and releases any associated resources. * @throws CIFSException if an error occurs during disposal */ void dispose() throws CIFSException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
public boolean isMICAvailable() { return this.gssContext.getIntegState(); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#getNetbiosName() */ @Override public String getNetbiosName() { return null; } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#getSigningKey() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/main/java/jcifs/smb/SpnegoContext.java
void setMechs(final ASN1ObjectIdentifier[] mechs) { this.mechs = mechs; } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#getNetbiosName() */ @Override public String getNetbiosName() { return null; } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#getSigningKey() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
assertFalse(ctx.isMICAvailable()); assertTrue(ctx.isMICAvailable()); } @Test @DisplayName("getNetbiosName returns null") void getNetbiosName_null() { assertNull(ctx.getNetbiosName()); } @Test @DisplayName("getSigningKey throws when ExtendedGSSContext not implemented") void getSigningKey_notImplementedByGSSContext() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
*/ public byte[] getSigningKey() { return signingKey; } /** * Gets the NetBIOS name of the remote server. * @return the NetBIOS name */ public String getNetbiosName() { return netbiosName; } private String getNtlmsspListItem(final byte[] type2token, final int id0) { int ri = 58; for (;;) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
return this.serverChallenge; } @Override public byte[] getSigningKey() { return this.masterKey; } @Override public String getNetbiosName() { return this.netbiosName; } /** * Sets the target server's Service Principal Name (SPN). * @param targetName * the target's SPN */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
SmbTransport.log.println(nctx); } if (nctx.isEstablished()) { netbiosName = nctx.getNetbiosName(); connectionState = 2; state = 0; break; } try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0)