Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FormScheme (0.07 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.crawler.Constants;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    public class FormScheme implements AuthScheme {
    
        private static final Logger logger = LoggerFactory.getLogger(FormScheme.class);
    
        private static final String ENCODING = "encoding";
    
        private static final String TOKEN_URL = "token_url";
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/form/FormSchemeTest.java

    public class FormSchemeTest extends PlainTestCase {
    
        public void test_getTokenValue() {
            FormScheme formScheme = new FormScheme(Collections.emptyMap());
    
            String tokenPattern = "name=\"authenticity_token\" +value=\"([^\"]+)\"";
            String content = "<input name=\"authenticity_token\" value=\"abcdefg\">";
            assertEquals("abcdefg", formScheme.getTokenValue(tokenPattern, content));
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.service.WebConfigService;
    import org.codelibs.fess.crawler.client.http.Authentication;
    import org.codelibs.fess.crawler.client.http.form.FormScheme;
    import org.codelibs.fess.crawler.client.http.impl.AuthenticationImpl;
    import org.codelibs.fess.crawler.client.http.ntlm.JcifsEngine;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            final List<Pair<FormScheme, Credentials>> formSchemeList = new ArrayList<>();
            for (final Authentication authentication : siteCredentialList) {
                final AuthScheme authScheme = authentication.getAuthScheme();
                if (authScheme instanceof FormScheme) {
                    formSchemeList.add(new Pair<>((FormScheme) authScheme, authentication.getCredentials()));
                } else {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

    import org.codelibs.fess.crawler.client.ftp.FtpClient;
    import org.codelibs.fess.crawler.client.http.Authentication;
    import org.codelibs.fess.crawler.client.http.HcHttpClient;
    import org.codelibs.fess.crawler.client.http.form.FormScheme;
    import org.codelibs.fess.crawler.client.http.impl.AuthenticationImpl;
    import org.codelibs.fess.crawler.client.http.ntlm.JcifsEngine;
    import org.codelibs.fess.crawler.client.smb.SmbAuthentication;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top