Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for Bearer (0.15 sec)

  1. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

        public void test_getAccessTokenFromRequest_ok0() {
            final String token = accessTokenHelper.generateAccessToken();
            MockletHttpServletRequest req = getMockRequest();
            req.addHeader("Authorization", "Bearer " + token);
            assertEquals(token, accessTokenHelper.getAccessTokenFromRequest(req));
        }
    
        public void test_getAccessTokenFromRequest_ok1() {
            final String token = accessTokenHelper.generateAccessToken();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.exception.InvalidAccessTokenException;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class AccessTokenHelper {
    
        protected static final String BEARER = "Bearer";
    
        protected Random random = new SecureRandom();
    
        public String generateAccessToken() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                        logger.debug("url: {}", url);
                    }
                    try (CurlResponse response =
                            Curl.post(url).header("Authorization", "Bearer " + user.getAuthenticationResult().getAccessToken())
                                    .header("Accept", "application/json").header("Content-type", "application/json")
                                    .body("{\"securityEnabledOnly\":false}").execute()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/BadWordService.java

            // search
    
        }
    
        public void importCsv(final Reader reader) {
            @SuppressWarnings("resource")
            final CsvReader csvReader = new CsvReader(reader, new CsvConfig());
            try {
                List<String> list;
                csvReader.readValues(); // ignore header
                while ((list = csvReader.readValues()) != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/PropertiesUtil.java

            }
        }
    
        /**
         * {@link Properties#load(Reader)}の例外処理をラップします。
         * <p>
         * 入力リーダはクローズされません。
         * </p>
         *
         * @param props
         *            プロパティセット。{@literal null}であってはいけません
         * @param reader
         *            入力リーダ。{@literal null}であってはいけません
         */
        public static void load(final Properties props, final Reader reader) {
            assertArgumentNotNull("props", props);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/LineIteratorTest.java

     */
    public class LineIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
            final LineIterator it = new LineIterator(reader);
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("aaa"));
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("bbb"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                /*
                 * A word about communicating header info to andx smbs
                 *
                 * This is where we recursively invoke the provided andx smb
                 * object to write it's parameter words and bytes to our outgoing
                 * array. Incedentally when these andx smbs are created they are not
                 * necessarily populated with header data because they're not writing
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            prop.load(inStream);
            properties = prop;
        }
    
        @Override
        public synchronized void load(final Reader reader) throws IOException {
            final Properties prop = new Properties();
            lastModified = propertiesFile.lastModified();
            prop.load(reader);
            properties = prop;
        }
    
        @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

            }
    
            // request header
            final List<org.codelibs.fess.crawler.client.http.RequestHeader> rhList = new ArrayList<>();
            int count = 1;
            String headerName = paramMap.get(CRAWLER_WEB_HEADER_PREFIX + count + ".name");
            while (StringUtil.isNotBlank(headerName)) {
                final String headerValue = paramMap.get(CRAWLER_WEB_HEADER_PREFIX + count + ".value");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/SMBSigningDigest.java

         * The first 8 bytes of this are placed in the signature field.
         *
         * @param data
         *            The data.
         * @param offset
         *            The starting offset at which the SMB header begins.
         * @param length
         *            The length of the SMB data starting at offset.
         * @param request
         *            request message
         * @param response
         *            response message
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 2.2K bytes
    - Viewed (0)
Back to top