Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,329 for toen (0.04 sec)

  1. src/test/java/jcifs/util/HexdumpTest.java

            // Then
            assertNotNull(result);
            assertEquals("000FFF7F80", result);
        }
    
        @Test
        @DisplayName("Should handle empty byte array")
        void testToHexStringEmpty() {
            // Given
            byte[] data = {};
    
            // When
            String result = Hexdump.toHexString(data);
    
            // Then
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. cmd/jwt.go

    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    	// Default JWT token for web handlers is one day.
    	defaultJWTExpiry = 24 * time.Hour
    
    	// Inter-node JWT token expiry is 100 years approx.
    	defaultInterNodeJWTExpiry = 100 * 365 * 24 * time.Hour
    )
    
    var (
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Given
            int dialect = Smb2Constants.SMB2_DIALECT_0300;
    
            // When
            byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity);
    
            // Then
            assertNotNull(signingKey, "Signing key should not be null");
            assertEquals(16, signingKey.length, "Signing key should be 16 bytes");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. tests/update_test.go

    	}
    
    	owner := TokenOwner{
    		Name:  "user",
    		Token: Token{Content: "token"},
    	}
    	o1, err := saveTokenOwner(&owner)
    	if err != nil {
    		t.Errorf("failed to save token owner, got error: %v", err)
    	}
    	if o1.Name != "user_name" {
    		t.Errorf(`owner name should be "user_name", but got: "%s"`, o1.Name)
    	}
    	if o1.Token.Content != "token_encrypted" {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  5. dockerscripts/docker-entrypoint.sh

    #!/bin/sh
    #
    
    # If command starts with an option, prepend minio.
    if [ "${1}" != "minio" ]; then
    	if [ -n "${1}" ]; then
    		set -- minio "$@"
    	fi
    fi
    
    docker_switch_user() {
    	if [ -n "${MINIO_USERNAME}" ] && [ -n "${MINIO_GROUPNAME}" ]; then
    		if [ -n "${MINIO_UID}" ] && [ -n "${MINIO_GID}" ]; then
    			chroot --userspec=${MINIO_UID}:${MINIO_GID} / "$@"
    		else
    			echo "${MINIO_USERNAME}:x:1000:1000:${MINIO_USERNAME}:/:/sbin/nologin" >>/etc/passwd
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Nov 03 21:18:18 UTC 2023
    - 675 bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // When
            transformHeader.setSignature(signature);
    
            // Then
            assertArrayEquals(signature, transformHeader.getSignature());
        }
    
        @Test
        @DisplayName("Should set and get nonce")
        void testNonce() {
            // When
            transformHeader.setNonce(testNonce);
    
            // Then
            assertArrayEquals(testNonce, transformHeader.getNonce());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SSPContext.java

        /**
         * Initializes the security context with the given token.
         * @param token the input token bytes
         * @param off offset into the token array
         * @param len length of token data
         * @return result token
         * @throws SmbException if an SMB protocol error occurs
         * @throws CIFSException if a general CIFS error occurs
         */
        byte[] initSecContext(byte[] token, int off, int len) 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)
  8. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            // Given: A non-workgroup type with a host
            when(locator.getType()).thenReturn(SmbConstants.TYPE_SERVER);
            when(locator.getURL()).thenReturn(createSmbURL("smb://server/"));
    
            // When & Then: Constructor should throw SmbException
            SmbException exception = assertThrows(SmbException.class, () -> new NetServerEnumIterator(parent, treeHandle, "*", 0, null));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

        @Test
        @DisplayName("Should create SpnegoException with default constructor")
        void testDefaultConstructor() {
            // When
            SpnegoException ex = new SpnegoException();
    
            // Then
            assertNotNull(ex, "Exception should be created");
            assertNull(ex.getMessage(), "Default message should be null");
            assertNull(ex.getCause(), "Default cause should be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/CIFSExceptionTest.java

            CIFSException exception = new CIFSException(cause);
    
            // Then
            assertNotNull(exception);
            assertEquals(cause, exception.getCause());
            assertTrue(exception.getMessage().contains("Root cause"));
        }
    
        @Test
        @DisplayName("Should handle null message")
        void testNullMessage() {
            // When/Then
            assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top