Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 97 for Credential (0.06 seconds)

  1. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

            public TestLoginCredentialResolver() {
                super(null); // Pass null since we're mocking
            }
    
            @Override
            public <CREDENTIAL extends LoginCredential> void resolve(final Class<CREDENTIAL> credentialType,
                    final Function<CREDENTIAL, OptionalEntity<FessUser>> oneArgLambda) {
                this.resolveCalled = true;
                this.lastCredentialType = credentialType;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (1)
  2. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            };
    
            // Verify SSO is available
            assertTrue(ssoManager.available());
    
            // Verify login credential retrieval
            LoginCredential credential = ssoManager.getLoginCredential();
            assertNotNull(credential);
            assertEquals("samluser", ((TestLoginCredential) credential).username);
    
            // Verify response retrieval
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  3. docs/features/calls.md

    ## Retrying Requests
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

            }
    
        }
    
        /**
         * Resolves the SPNEGO credential to a user entity.
         *
         * This method handles the resolution of SPNEGO credentials by checking
         * if the user is an admin user or needs to be authenticated through LDAP.
         *
         * @param resolver The credential resolver to use for user lookup
         */
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  5. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

        }
    
        /**
         * Log the login failure activity.
         * @param credential The credential.
         */
        public void loginFailure(final OptionalThing<LoginCredential> credential) {
            final Map<String, String> valueMap = new LinkedHashMap<>();
            valueMap.put("action", Action.LOGIN_FAILURE.name());
            credential.ifPresent(c -> {
                valueMap.put("class", c.getClass().getSimpleName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

        public void test_getLoginCredential_withRequest() {
            // With a request context, should return ActionResponseCredential for OAuth redirect
            final var credential = authenticator.getLoginCredential();
            assertNotNull(credential);
            assertTrue(credential instanceof ActionResponseCredential);
        }
    
        @Test
        public void test_parseJwtClaim_nestedArray() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. docs/recipes.md

    Use `Response.challenges()` to get the schemes and realms of any authentication challenges. When fulfilling a `Basic` challenge, use `Credentials.basic(username, password)` to encode the request header.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

        }
    
        @Test
        public void test_loginFailure_withCredential() {
            activityHelper.useEcsFormat = false;
            LoginCredential credential = new TestLoginCredential();
            activityHelper.loginFailure(OptionalThing.of(credential));
            String result = localLogMsg.get();
            assertTrue(result.contains("action:LOGIN_FAILURE"));
            assertTrue(result.contains("class:TestLoginCredential"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          Request
            .Builder()
            .url(server.url("/"))
            .method("POST", body.toRequestBody(null))
            .build()
        val credential = basic("jesse", "secret")
        client =
          client
            .newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val response = client.newCall(request).execute()
        assertThat(response.code).isEqualTo(200)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        server.enqueue(
          MockResponse(code = 401),
        )
        server.enqueue(MockResponse())
        val credential = basic("jesse", "secret")
        client =
          client
            .newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val response =
          getResponse(
            Request(
              url = server.url("/"),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
Back to Top