Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 221 for reauth (0.05 sec)

  1. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        @Test
        @DisplayName("reauthenticate throws CIFSException when underlying call fails")
        void reauthenticate_throws() throws CIFSException {
            doThrow(new CIFSException("reauth failed")).when(session).reauthenticate();
            CIFSException ex = assertThrows(CIFSException.class, () -> session.reauthenticate());
            assertTrue(ex.getMessage().contains("failed"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

                        request.setDigest(getDigest());
                    }
    
                    if (request instanceof RequestWithPath rpath) {
                        ((RequestWithPath) request).setFullUNCPath(getTargetDomain(), getTargetHost(), rpath.getFullUNCPath());
                    }
    
                    try {
                        if (log.isTraceEnabled()) {
                            log.trace("Request " + request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        }
    
        @Test
        @DisplayName("Should derive unique keys for different preauth values")
        void testDeriveKeys_UniquePreauthValues() {
            // Given
            byte[] preauth1 = new byte[64];
            byte[] preauth2 = new byte[64];
            new SecureRandom().nextBytes(preauth1);
            new SecureRandom().nextBytes(preauth2);
            int dialect = Smb2Constants.SMB2_DIALECT_0311;
    
            // When
    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. cmd/auth-handler.go

    		return authTypeAnonymous
    	}
    	return authTypeUnknown
    }
    
    func validateAdminSignature(ctx context.Context, r *http.Request, region string) (auth.Credentials, bool, APIErrorCode) {
    	var cred auth.Credentials
    	var owner bool
    	s3Err := ErrAccessDenied
    	if _, ok := r.Header[xhttp.AmzContentSha256]; ok &&
    		getRequestAuthType(r) == authTypeSigned {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. cmd/metrics-v3-cluster-health.go

    		"Count of offline nodes in the cluster")
    	healthNodesOnlineCountMD = NewGaugeMD(healthNodesOnlineCount,
    		"Count of online nodes in the cluster")
    )
    
    // loadClusterHealthNodeMetrics - `MetricsLoaderFn` for cluster health node
    // metrics.
    func loadClusterHealthNodeMetrics(ctx context.Context, m MetricValues,
    	c *metricsCache,
    ) error {
    	nodesUpDown, _ := c.nodesUpDown.Get()
    
    	m.Set(healthNodesOfflineCount, float64(nodesUpDown.Offline))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/PreauthIntegrityService.java

                if (enforceIntegrity) {
                    throw new CIFSException("No preauth integrity context found for session: " + sessionId);
                }
                log.warn("No preauth integrity context for session {}, skipping update", sessionId);
                return;
            }
    
            if (!context.isValid()) {
                throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/security/http-basic-auth.md

    # HTTP Basic Auth { #http-basic-auth }
    
    For the simplest cases, you can use HTTP Basic Auth.
    
    In HTTP Basic Auth, the application expects a header that contains a username and a password.
    
    If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error.
    
    And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter.
    
    That tells the browser to show the integrated prompt for a username and password.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. cmd/signature-v2.go

    //     - http://docs.aws.amazon.com/AmazonS3/latest/dev/auth-request-sig-v2.html
    // returns true if matches, false otherwise. if error is not nil then it is always false
    
    func validateV2AuthHeader(r *http.Request) (auth.Credentials, APIErrorCode) {
    	var cred auth.Credentials
    	v2Auth := r.Header.Get(xhttp.Authorization)
    	if v2Auth == "" {
    		return cred, ErrAuthHeaderEmpty
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

        private int[] hashAlgos;
        private byte[] salt;
    
        /**
         * Constructs a preauth integrity negotiate context with the specified parameters.
         *
         * @param config the SMB configuration
         * @param hashAlgos the supported hash algorithms
         * @param salt the salt value for preauth integrity
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

            void testDifferentContextTypes() {
                PreauthIntegrityNegotiateContext preauth = new PreauthIntegrityNegotiateContext();
                EncryptionNegotiateContext encryption = new EncryptionNegotiateContext();
    
                assertNotEquals(preauth.getContextType(), encryption.getContextType());
                assertEquals(0x1, preauth.getContextType());
                assertEquals(0x2, encryption.getContextType());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top