Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for GetResponse (0.06 seconds)

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

            assertNotNull(authenticator.getLastResolver());
        }
    
        // Test getResponse method with different response types
        @Test
        public void test_getResponse_withMetadataType() {
            // Setup - Test with null response initially
            ActionResponse result = authenticator.getResponse(SsoResponseType.METADATA);
    
            // Verify initial state
            assertNull(result);
    
    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/main/java/org/codelibs/fess/helper/PopularWordHelper.java

                    stream(baseExcludes).of(stream -> stream.forEach(exclude -> popularWordsRequestBuilder.addExcludeWord(exclude)));
                    try {
                        popularWordsRequestBuilder.execute().getResponse().getItems().stream().forEach(item -> wordList.add(item.getText()));
                    } catch (final SuggesterException e) {
                        logger.warn("Failed to generate popular words.", e);
                    }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            assertEquals("testuser", ((TestLoginCredential) credential).username);
        }
    
        // Test getResponse() method
        @Test
        public void test_getResponse_whenNotAvailable() {
            currentSsoType = Constants.NONE;
            assertNull(ssoManager.getResponse(SsoResponseType.METADATA));
            assertNull(ssoManager.getResponse(SsoResponseType.LOGOUT));
        }
    
        @Test
    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)
  4. src/main/java/org/codelibs/fess/sso/SsoAuthenticator.java

        /**
         * Gets the action response for the specified SSO response type.
         * @param responseType The type of SSO response required.
         * @return The action response.
         */
        ActionResponse getResponse(SsoResponseType responseType);
    
        /**
         * Performs logout for the specified user.
         * @param user The user to logout.
         * @return The logout URL or null if not applicable.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/sso/SsoManager.java

         */
        public ActionResponse getResponse(final SsoResponseType responseType) {
            if (available()) {
                final SsoAuthenticator authenticator = getAuthenticator();
                if (authenticator != null) {
                    return authenticator.getResponse(responseType);
                }
            }
            return null;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

        @Test
        public void test_completeOperation_ownInstance_deletesDoc() {
            setupMockFessConfig();
            final String getResponse = "{\"found\":true,\"_seq_no\":5,\"_primary_term\":1,"
                    + "\"_source\":{\"type\":\"operation\",\"name\":\"reindex\"," + "\"instanceId\":\"node1@host1\",\"status\":\"running\"}}";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with SAML Authenticator");
                }
    
                final HttpServletResponse response = LaResponseUtil.getResponse();
    
                final HttpSession session = request.getSession(false);
                if (session != null) {
                    final String sesState = (String) session.getAttribute(SAML_STATE);
    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)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    builder.addKind(SuggestItem.Kind.DOCUMENT.toString());
                }
    
                final SuggestResponse suggestResponse = builder.execute().getResponse();
    
                buf.append("\"query_time\":").append(suggestResponse.getTookMs());
                buf.append(",\"record_count\":").append(suggestResponse.getTotal());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  9. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with SPNEGO Authenticator");
                }
                final HttpServletResponse response = LaResponseUtil.getResponse();
                final SpnegoHttpServletResponse spnegoResponse = new SpnegoHttpServletResponse(response);
    
                // client/caller principal
                final SpnegoPrincipal principal;
                try {
    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)
  10. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            resolver.resolve(OpenIdConnectCredential.class, credential -> OptionalEntity.of(credential.getUser()));
        }
    
        @Override
        public ActionResponse getResponse(final SsoResponseType responseType) {
            return null;
        }
    
        @Override
        public String logout(final FessUserBean user) {
            return null;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
Back to Top