Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 759 for severity (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

     *  See the License for the specific language governing permissions and
     *  limitations under the License.
     */
    package okhttp3.internal.tls
    
    import java.security.cert.CertificateParsingException
    import java.security.cert.X509Certificate
    import java.util.Locale
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLSession
    import okhttp3.internal.canParseAsIpAddress
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. cmd/api-headers.go

    		}
    
    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    			// Do not need to send any internal metadata
    			// values to client.
    			continue
    		}
    
    		// https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
    		if equals(k, xhttp.AmzMetaUnencryptedContentLength, xhttp.AmzMetaUnencryptedContentMD5) {
    			continue
    		}
    
    		var isSet bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/ServerData.java

        public int sflags2;
        public int smaxMpxCount;
        public int maxBufferSize;
        public int sessKey;
        public int scapabilities;
        public String oemDomainName;
        public int securityMode;
        public int security;
        public boolean encryptedPasswords;
        public boolean signaturesEnabled;
        public boolean signaturesRequired;
        public int maxNumberVcs;
        public int maxRawSize;
        public long serverTime;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  4. fastapi/dependencies/models.py

    from dataclasses import dataclass, field
    from typing import Any, Callable, List, Optional, Sequence, Tuple
    
    from fastapi._compat import ModelField
    from fastapi.security.base import SecurityBase
    
    
    @dataclass
    class SecurityRequirement:
        security_scheme: SecurityBase
        scopes: Optional[Sequence[str]] = None
    
    
    @dataclass
    class Dependant:
        path_params: List[ModelField] = field(default_factory=list)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 20:19:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/security/oauth2-jwt.md

    新しいアクセストークンを生成するユーティリティ関数を作成します。
    
    ```Python hl_lines="6  12-14  28-30  78-86"
    {!../../docs_src/security/tutorial004.py!}
    ```
    
    ## 依存関係の更新
    
    `get_current_user`を更新して、先ほどと同じトークンを受け取るようにしますが、今回はJWTトークンを使用します。
    
    受け取ったトークンを復号して検証し、現在のユーザーを返します。
    
    トークンが無効な場合は、すぐにHTTPエラーを返します。
    
    ```Python hl_lines="89-106"
    {!../../docs_src/security/tutorial004.py!}
    ```
    
    ## `/token` パスオペレーションの更新
    
    トークンの有効期限を表す`timedelta`を作成します。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (1)
  6. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.slack;
    
    import java.io.Closeable;
    import java.io.IOException;
    import java.security.SecureRandom;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import okhttp3.HttpUrl;
    import okhttp3.mockwebserver.Dispatcher;
    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmContext.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    
    import java.nio.charset.StandardCharsets;
    import java.security.GeneralSecurityException;
    import java.security.MessageDigest;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import javax.crypto.Cipher;
    
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    import org.bouncycastle.util.Arrays;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/handling-errors.md

    The benefit of raising an exception over `return`ing a value will be more evident in the section about Dependencies and Security.
    
    In this example, when the client requests an item by an ID that doesn't exist, raise an exception with a status code of `404`:
    
    ```Python hl_lines="11"
    {!../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. okhttp-tls/src/test/java/okhttp3/tls/CertificatesJavaTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.tls;
    
    import java.security.cert.X509Certificate;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public class CertificatesJavaTest {
      @Test
      public void testRoundtrip() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Nov 20 02:23:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpServletRequest.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.http;
    
    
    import java.security.Principal;
    
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletRequestWrapper;
    
    
    class NtlmHttpServletRequest extends HttpServletRequestWrapper {
    
        Principal principal;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
Back to top