Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 759 for severity (0.14 sec)

  1. tests/test_tutorial/test_security/test_tutorial006.py

    from base64 import b64encode
    
    from fastapi.testclient import TestClient
    
    from docs_src.security.tutorial006 import app
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "john", "password": "secret"}
    
    
    def test_security_http_basic_no_credentials():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. okhttp-tls/Module.md

    # Module okhttp-tls
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 11:27:49 UTC 2019
    - 68 bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

    import java.io.FilePermission;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.security.CodeSource;
    import java.security.Permission;
    import java.security.PermissionCollection;
    import java.security.Permissions;
    import java.security.Policy;
    import java.security.ProtectionDomain;
    import java.security.SecurityPermission;
    import java.util.Arrays;
    import java.util.Date;
    import java.util.NoSuchElementException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dtyp/ACE.java

     */
    package jcifs.internal.dtyp;
    
    
    import jcifs.Decodable;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.SID;
    import jcifs.util.Hexdump;
    
    
    /**
     * An Access Control Entry (ACE) is an element in a security descriptor
     * such as those associated with files and directories. The Windows OS
     * determines which users have the necessary permissions to access objects
     * based on these entries.
     * <p>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  5. architecture/environments/operator.md

    serviceAnnotations | [service annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/)
    securityContext | [security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod)
    
    These K8s setting are available for each component under the `k8s` field, for example:
    
    ```yaml
    trafficManagement:
      components:
        pilot:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 21:11:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                ",wordCount="           + wordCount +
                ",dialectIndex="        + dialectIndex +
                ",securityMode=0x"      + Hexdump.toHexString( server.securityMode, 1 ) +
                ",security="            + ( server.security == SECURITY_SHARE ? "share" : "user" ) +
                ",encryptedPasswords="  + server.encryptedPasswords +
                ",maxMpxCount="         + server.maxMpxCount +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.math.BigInteger;
    import java.security.GeneralSecurityException;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.login.LoginException;
    
    import org.bouncycastle.asn1.*;
    
    import jcifs.pac.ASN1Util;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ///
    
    /// info
    
    In this example we use invented custom headers `X-Key` and `X-Token`.
    
    But in real cases, when implementing security, you would get more benefits from using the integrated [Security utilities (the next chapter)](../security/index.md){.internal-link target=_blank}.
    
    ///
    
    ## Dependencies errors and return values
    
    You can use the same dependency *functions* you use normally.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. docs_src/security/tutorial001.py

    from fastapi import Depends, FastAPI
    from fastapi.security import OAuth2PasswordBearer
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    @app.get("/items/")
    async def read_items(token: str = Depends(oauth2_scheme)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 10 17:28:18 UTC 2020
    - 269 bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/OpenJSSETest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.openjsse.sun.security.ssl.SSLSocketFactoryImpl
    import org.openjsse.sun.security.ssl.SSLSocketImpl
    
    class OpenJSSETest {
      @JvmField @RegisterExtension
      var platform = PlatformRule()
    
      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top