Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 552 for authenticator (0.06 sec)

  1. src/test/java/jcifs/SmbTransportPoolTest.java

            }
    
            @Test
            @DisplayName("Should handle authentication failure during logon")
            void testLogonAuthenticationFailure() throws CIFSException {
                // Given
                doThrow(new CIFSException("Authentication failed")).when(transportPool).logon(context, address);
    
                // When & Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

                    assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "server.example.com", init, false));
            assertTrue(ex.getMessage().contains("Server does not support kerberos authentication"));
            // No fallback attempted; config should not be queried in this path
            verify(tc, never()).getConfig();
            verifyNoInteractions(config);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. docs/en/docs/features.md

        * URL.
        * Email.
        * UUID.
        * ...and others.
    
    All the validation is handled by the well-established and robust **Pydantic**.
    
    ### Security and authentication { #security-and-authentication }
    
    Security and authentication integrated. Without any compromise with databases or data models.
    
    All the security schemes defined in OpenAPI, including:
    
    * HTTP Basic.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/av/AvFlags.java

     */
    package jcifs.ntlmssp.av;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * NTLMSSP AV (Attribute-Value) pair representing flags information.
     * Contains flag values used in NTLM authentication attribute-value pairs.
     *
     * @author mbechler
     */
    public class AvFlags extends AvPair {
    
        /**
         * Constructs an AV flags pair from raw bytes
         * @param raw the raw flag bytes
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. docs/en/docs/reference/dependencies.md

    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Depends
    ```
    
    ::: fastapi.Depends
    
    ## `Security()`
    
    For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`.
    
    But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`.
    
    You can import `Security()` directly from `fastapi`:
    
    ```python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 671 bytes
    - Viewed (0)
  6. docs_src/security/tutorial005_py39.py

        else:
            authenticate_value = "Bearer"
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": authenticate_value},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
            if username is None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

        // List<Authentication> basicAuthList = new ArrayList<Authentication>();
        // basicAuthList.add(new AuthenticationImpl(
        // new AuthScope("www.hoge.com", 80),
        // new UsernamePasswordCredentials("username", "password"),
        // digestScheme));
        // paramMap.put(
        // HcHttpClient.AUTHENTICATIONS_PROPERTY,
        // basicAuthList.toArray(new Authentication[basicAuthList.size()]));
        //
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacMac.java

    import javax.crypto.spec.IvParameterSpec;
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    
    /**
     * Utility class for calculating and verifying PAC (Privilege Attribute Certificate) message authentication codes.
     * This class provides methods for computing MACs using various Kerberos encryption types including
     * ARCFOUR-HMAC-MD5 and AES-based HMAC algorithms.
     */
    public class PacMac {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. cmd/batch-replicate_test.go

    #    notify:
    #      endpoint: "https://notify.endpoint" # notification endpoint to receive job status events
    #      token: "Bearer xxxxx" # optional authentication token for the notification endpoint
    #
    #    retry:
    #      attempts: 10 # number of retries for the job before giving up
    #      delay: "500ms" # least amount of delay between each retry
    
    `
    	var job BatchJobRequest
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         * @param domain The domain in which the user has an account.
         * @param user The username for the authenticating user.
         * @param workstation The workstation from which authentication is
         * taking place.
         */
        /**
         * Creates a Type-3 message in response to the given Type-2 message.
         *
         * @param type2 the Type-2 message to respond to
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top