- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 761 for toen (0.01 sec)
-
src/test/java/jcifs/DfsReferralDataTest.java
// Given String server = "testserver"; when(mockReferralData.getServer()).thenReturn(server); // When String result = mockReferralData.getServer(); // Then assertEquals(server, result); verify(mockReferralData).getServer(); } @Test @DisplayName("Should get domain") void testGetDomain() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
} /** * Constructs a NegTokenInit by parsing the provided token bytes * @param token the SPNEGO token bytes to parse * @throws IOException if parsing fails */ public NegTokenInit(final byte[] token) throws IOException { parse(token); } /** * Gets the context flags indicating security capabilities
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
setMechanismListMIC(mechanismListMIC); } /** * Constructs a NegTokenTarg by parsing the provided token bytes * @param token the SPNEGO token bytes to parse * @throws IOException if parsing fails */ public NegTokenTarg(final byte[] token) throws IOException { parse(token); } /** * Gets the negotiation result code * @return the result code */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
/** * Creates a Kerberos AP request from a token. * * @param token the Kerberos AP-REQ token * @param keys the Kerberos keys for decryption * @throws PACDecodingException if the token cannot be decoded */ public KerberosApRequest(byte[] token, KerberosKey[] keys) throws PACDecodingException { this(parseSequence(token), keys); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
// Then String decoded = new String(buffer); assertEquals(testString, decoded); } @Test @DisplayName("Should handle buffer bounds checking") void testBufferBounds() { // Given byte[] smallBuffer = new byte[2]; // When/Then assertThrows(IndexOutOfBoundsException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
void testParseRejectsUnknownField() throws Exception { ASN1TaggedObject unknown = new DERTaggedObject(true, 7, new DEROctetString(new byte[] { 0x01 })); byte[] token = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, 0, null, null, false, null, null, unknown); IOException ex = assertThrows(IOException.class, () -> new NegTokenInit(token));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
config = new PropertyConfiguration(props); } @Test @DisplayName("Should create configuration from Properties") void testConfigurationCreation() throws CIFSException { // Then assertNotNull(config); assertEquals("testuser", config.getDefaultUsername()); assertEquals("testpass", config.getDefaultPassword()); assertEquals("testdomain", config.getDefaultDomain()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
@Test @DisplayName("Address interface should define correct method signatures") void testInterfaceContract() { // Given Address address = mockAddress; // When & Then - verify interface methods exist and can be called assertDoesNotThrow(() -> { address.getHostName(); address.getHostAddress(); address.firstCalledName();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/packaging/common/scripts/postrm
if [ "$SOURCE_ENV_FILE" = "true" ]; then FESS_ENV_FILE="${packaging.env.file}" if [ -f "$FESS_ENV_FILE" ]; then . "$FESS_ENV_FILE" fi fi if [ "$REMOVE_SERVICE" = "true" ]; then if command -v systemctl >/dev/null; then systemctl --no-reload disable fess.service > /dev/null 2>&1 || true fi if command -v chkconfig >/dev/null; then chkconfig --del fess 2> /dev/null || true
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Dec 10 01:24:02 UTC 2015 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
/** * Initializes the security context with the given token. * @param token the input token bytes * @param offset offset into the token array * @param len length of token data * @return the output token bytes * @throws SmbException if an error occurs during context initialization */ public byte[] initSecContext(byte[] token, final int offset, final int len) throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7K bytes - Viewed (0)