Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 252 for authenticated (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                }
                return userCode;
            }).orElse(null);
        }
    
        /**
         * Extracts the user code from the user bean stored in the session.
         * This method retrieves the authenticated user information and creates an encrypted user code.
         *
         * @param request the HTTP servlet request
         * @return the user code from the user bean, or null if not found or invalid
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/security/simple-oauth2.md

    因此,在端点中,只有当用户存在、通过身份验证、且状态为激活时,才能获得该用户:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *}
    
    /// info | 信息
    
    此处返回值为 `Bearer` 的响应头 `WWW-Authenticate` 也是规范的一部分。
    
    任何 401“UNAUTHORIZED”HTTP(错误)状态码都应返回 `WWW-Authenticate` 响应头。
    
    本例中,因为使用的是 Bearer Token,该响应头的值应为 `Bearer`。
    
    实际上,忽略这个附加响应头,也不会有什么问题。
    
    之所以在此提供这个附加响应头,是为了符合规范的要求。
    
    说不定什么时候,就有工具用得上它,而且,开发者或用户也可能用得上。
    
    这就是遵循标准的好处...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  3. cmd/auth-handler_test.go

    	if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil {
    		t.Fatalf("Unable to initialized new signed http request %s", err)
    	}
    	return req
    }
    
    // Tests is requested authenticated function, tests replies for s3 errors.
    func TestIsReqAuthenticated(t *testing.T) {
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    	objLayer, fsDir, err := prepareFS(ctx)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

         * @return the home drive
         */
        public String getHomeDrive() {
            return this.homeDrive;
        }
    
        /**
         * Returns the name of the server that authenticated the user.
         * @return the server name
         */
        public String getServerName() {
            return this.serverName;
        }
    
        /**
         * Returns the user's domain name.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

    import jakarta.annotation.PostConstruct;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    import jakarta.servlet.http.HttpSession;
    
    /**
     * Authenticator for SAML 2.0.
     *
     * <p>This authenticator enables Single Sign-On (SSO) using SAML 2.0 protocol
     * with Identity Providers such as Okta, Azure AD, OneLogin, etc.</p>
     *
     * <h2>Required Configuration</h2>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:13:33 GMT 2026
    - 20.2K bytes
    - Click Count (3)
  6. internal/etag/etag.go

    //
    // Therefore, an S3 implementation may encrypt an ETag before storing
    // it. In this case, the stored ETag may not be a well-formed S3 ETag.
    // For example, it can be larger due to a checksum added by authenticated
    // encryption schemes. Such an ETag must be decrypted before sent to an
    // S3 client.
    //
    // # S3 Clients
    //
    // There are many different S3 client implementations. Most of them
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  7. internal/config/identity/openid/openid.go

    		},
    	}
    )
    
    var errSingleProvider = config.Errorf("Only one OpenID provider can be configured if not using role policy mapping")
    
    // DummyRoleARN is used to indicate that the user associated with it was
    // authenticated via policy-claim based OpenID provider.
    var DummyRoleARN = func() arn.ARN {
    	v, err := arn.NewIAMRoleARN("dummy-internal", "")
    	if err != nil {
    		panic("should not happen!")
    	}
    	return v
    }()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     * <li>Ensure keys are securely generated and stored</li>
     * <li>For production systems with stringent security requirements, consider using authenticated encryption modes</li>
     * </ul>
     * <p>
     * <strong>Usage Example:</strong>
     * </p>
     * <pre>
     * CachedCipher cipher = new CachedCipher();
     * cipher.setKey("mySecretKey");
     *
     * // Encrypt text
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. fastapi/security/oauth2.py

            Ref: https://datatracker.ietf.org/doc/html/rfc6749
            """
            return HTTPException(
                status_code=HTTP_401_UNAUTHORIZED,
                detail="Not authenticated",
                headers={"WWW-Authenticate": "Bearer"},
            )
    
        async def __call__(self, request: Request) -> str | None:
            authorization = request.headers.get("Authorization")
            if not authorization:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/security/simple-oauth2.md

    したがって、エンドポイントでは、ユーザーが存在し、正しく認証され、かつアクティブである場合にのみ、ユーザーを取得します:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *}
    
    /// info | 情報
    
    ここで返している値が `Bearer` の追加ヘッダー `WWW-Authenticate` も仕様の一部です。
    
    HTTP(エラー)ステータスコード 401「UNAUTHORIZED」は、`WWW-Authenticate` ヘッダーも返すことになっています。
    
    ベアラートークン(今回のケース)の場合、そのヘッダーの値は `Bearer` であるべきです。
    
    実際のところ、この追加ヘッダーを省略しても動作はします。
    
    しかし、仕様に準拠するためにここでは付与しています。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top