Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 662 for security2 (0.04 sec)

  1. docs/ja/docs/tutorial/security/oauth2-jwt.md

    レスポンスのトークンエンドポイントで使用するPydanticモデルを定義します。
    
    新しいアクセストークンを生成するユーティリティ関数を作成します。
    
    {* ../../docs_src/security/tutorial004.py hl[6,12:14,28:30,78:86] *}
    
    ## 依存関係の更新
    
    `get_current_user`を更新して、先ほどと同じトークンを受け取るようにしますが、今回はJWTトークンを使用します。
    
    受け取ったトークンを復号して検証し、現在のユーザーを返します。
    
    トークンが無効な場合は、すぐにHTTPエラーを返します。
    
    {* ../../docs_src/security/tutorial004.py hl[89:106] *}
    
    ## `/token` パスオペレーションの更新
    
    トークンの有効期限を表す`timedelta`を作成します。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14K bytes
    - Viewed (1)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // When
            int caps = response.getCommonCapabilities();
    
            // Then
            assertEquals(0x3F, caps);
        }
    
        @Test
        @DisplayName("Should return security blob")
        void testGetSecurityBlob() throws Exception {
            // Given
            byte[] blob = "SecurityBlob".getBytes();
            setPrivateField(response, "securityBuffer", blob);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/SmbNegotiationRequest.java

     */
    package jcifs.internal;
    
    /**
     * Interface for SMB protocol negotiation request messages.
     * Represents the client's request to negotiate SMB protocol version and capabilities
     * with the server, including security requirements like message signing.
     *
     * @author mbechler
     */
    public interface SmbNegotiationRequest {
    
        /**
         * Checks whether SMB message signing is enforced by the client.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

        // Helper method to get TimeZoneProvider from DBFluteSystem using reflection
        private DfFinalTimeZoneProvider getDBFluteSystemTimeZoneProvider() {
            try {
                // Try to access the field, handling potential security restrictions
                Field field = DBFluteSystem.class.getDeclaredField("finalTimeZoneProvider");
                field.setAccessible(true);
                return (DfFinalTimeZoneProvider) field.get(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmContext.java

            } else {
                ret.append(Hexdump.toHexString(signingKey, 0, signingKey.length * 2));
            }
            ret.append("]");
            return ret.toString();
        }
    
        /**
         * Checks whether the security context is established.
         * @return true if the context is established, false otherwise
         */
        public boolean isEstablished() {
            return isEstablished;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/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.smb1.http;
    
    import java.security.Principal;
    
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletRequestWrapper;
    
    class NtlmHttpServletRequest extends HttpServletRequestWrapper {
    
        Principal principal;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SigningDigest.java

    package jcifs.smb1.smb1;
    
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    
    import jcifs.smb1.util.Hexdump;
    import jcifs.smb1.util.LogStream;
    
    /**
     * To filter 0 len updates and for debugging
     */
    
    public class SigningDigest implements SmbConstants {
    
        static LogStream log = LogStream.getInstance();
    
        private MessageDigest digest;
        private byte[] macSigningKey;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.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.pac.kerberos;
    
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    
    import jcifs.pac.PACDecodingException;
    import jcifs.pac.Pac;
    
    /**
     * Kerberos authorization data containing PAC (Privilege Attribute Certificate) information.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/package-info.java

     *
     * <p>Key features include:</p>
     * <ul>
     *   <li>Password encryption and decryption</li>
     *   <li>Master password management</li>
     *   <li>Security settings configuration</li>
     * </ul>
     *
     * @see org.apache.maven.api.cli.Tools#MVNENC_CMD
     * @see org.apache.maven.api.cli.Tools#MVNENC_NAME
     * @since 4.0.0
     */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Mar 04 14:17:18 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/FinalizableReference.java

    @J2ktIncompatible
    @GwtIncompatible
    public interface FinalizableReference {
      /**
       * Invoked on a background thread after the referent has been garbage collected unless security
       * restrictions prevented starting a background thread, in which case this method is invoked when
       * new references are created.
       */
      void finalizeReferent();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top